linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Remove compound_pagelist from khugepaged
@ 2023-09-22 19:36 Vishal Moola (Oracle)
  2023-09-22 19:36 ` [RFC PATCH 1/2] mm/khugepaged: Convert __collapse_huge_page_isolate() to use folios Vishal Moola (Oracle)
  2023-09-22 19:36 ` [RFC PATCH 2/2] mm/khugepaged: Remove compound_pagelist Vishal Moola (Oracle)
  0 siblings, 2 replies; 11+ messages in thread
From: Vishal Moola (Oracle) @ 2023-09-22 19:36 UTC (permalink / raw)
  To: linux-mm; +Cc: akpm, linux-kernel, Vishal Moola (Oracle)

Currently, khugepaged builds and uses a list to properly account for
compound pages. Now we can use folios to account for these compound pages
as singular large folio units instead.

Removing compound_pagelist streamlines the scanning/freeing code in
khugepaged, as well as reduces the overall size of the kernel.

Vishal Moola (Oracle) (2):
  mm/khugepaged: Convert __collapse_huge_page_isolate() to use folios
  mm/khugepaged: Remove compound_pagelist

 mm/khugepaged.c | 116 ++++++++++++++++--------------------------------
 1 file changed, 38 insertions(+), 78 deletions(-)

-- 
2.40.1



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

end of thread, other threads:[~2023-10-02 15:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-22 19:36 [RFC PATCH 0/2] Remove compound_pagelist from khugepaged Vishal Moola (Oracle)
2023-09-22 19:36 ` [RFC PATCH 1/2] mm/khugepaged: Convert __collapse_huge_page_isolate() to use folios Vishal Moola (Oracle)
2023-09-22 19:46   ` Matthew Wilcox
2023-09-25  7:18   ` David Hildenbrand
2023-09-25 18:57     ` Vishal Moola
2023-09-22 19:36 ` [RFC PATCH 2/2] mm/khugepaged: Remove compound_pagelist Vishal Moola (Oracle)
2023-09-26 22:07   ` Yang Shi
2023-09-28  9:05     ` Matthew Wilcox
2023-09-28 19:33       ` Yang Shi
2023-10-02 15:55         ` Vishal Moola
2023-09-29 19:07     ` Yang Shi

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