+14
−16
Loading
mainline inclusion from mainline-v6.9-rc1 commit d4111eecdc3c2a5eabafcc467dbfce0e216fa485 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9R3AY CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4111eecdc3c2a5eabafcc467dbfce0e216fa485 -------------------------------- These pages are all chained together through the lru list, so we know they're folios. Use the folio APIs to save three hidden calls to compound_head(). Link: https://lkml.kernel.org/r/20240227174254.710559-18-willy@infradead.org Signed-off-by:Matthew Wilcox (Oracle) <willy@infradead.org> Cc: David Hildenbrand <david@redhat.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Ryan Roberts <ryan.roberts@arm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Conflicts: mm/khugepaged.c [ Context conflicts with memory reliable. ] Signed-off-by:
Liu Shixin <liushixin2@huawei.com>