linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] mm/x86/pat: Fix two possible issues
@ 2024-05-23 22:37 Peter Xu
  2024-05-23 22:37 ` [PATCH RFC 1/2] mm/x86/pat: Only untrack the pfn range if unmap region Peter Xu
  2024-05-23 22:37 ` [PATCH RFC 2/2] mm/x86/pat: Do proper PAT bit shift for large mappings Peter Xu
  0 siblings, 2 replies; 8+ messages in thread
From: Peter Xu @ 2024-05-23 22:37 UTC (permalink / raw)
  To: linux-mm, linux-kernel
  Cc: Thomas Gleixner, Jason Gunthorpe, Andrew Morton, Al Viro,
	Dave Hansen, Andy Lutomirski, Matthew Wilcox, peterx,
	Dan Williams, Kirill A . Shutemov, Mike Rapoport, Ingo Molnar,
	Michal Hocko, Alex Williamson, Peter Zijlstra,
	Suren Baghdasaryan, Borislav Petkov, x86

I'm recently looking at the possibility of mapping PCIe large bars to use
huge mappings (just like thp or hugetlb).  Then I noticed these only when
reading the code.

I don't think I'm familiar enough with the whole PAT system, however I
figured I should post them out to collect some comments, hencing marking
this small series as RFC.

Please feel free to have a look at each of them; I've put more words in the
commit message than here, as the two issues are not related.  Any comments
are welcomed.

Thanks,

Peter Xu (2):
  mm/x86/pat: Only untrack the pfn range if unmap region
  mm/x86/pat: Do proper PAT bit shift for large mappings

 mm/huge_memory.c | 4 ++--
 mm/memory.c      | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

-- 
2.45.0



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-24 23:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-23 22:37 [PATCH RFC 0/2] mm/x86/pat: Fix two possible issues Peter Xu
2024-05-23 22:37 ` [PATCH RFC 1/2] mm/x86/pat: Only untrack the pfn range if unmap region Peter Xu
2024-05-23 22:37 ` [PATCH RFC 2/2] mm/x86/pat: Do proper PAT bit shift for large mappings Peter Xu
2024-05-23 22:48   ` Dave Hansen
2024-05-23 23:07     ` Peter Xu
2024-05-24  0:53       ` Peter Xu
2024-05-24  3:30       ` Dave Hansen
2024-05-24 23:55         ` Peter Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox