mbox series

[RFC,0/2] Remove compound_pagelist from khugepaged

Message ID 20230922193639.10158-1-vishal.moola@gmail.com (mailing list archive)
Headers show
Series Remove compound_pagelist from khugepaged | expand

Message

Vishal Moola Sept. 22, 2023, 7:36 p.m. UTC
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(-)