summaryrefslogtreecommitdiffstats
path: root/Documentation/arm/kernel_mode_neon.rst
diff options
context:
space:
mode:
authorZi Yan <ziy@nvidia.com>2022-05-13 05:22:58 +0200
committerAndrew Morton <akpm@linux-foundation.org>2022-05-13 16:20:13 +0200
commitb2c9e2fbba32539626522b6aed30d1dde7b7e971 (patch)
treebcfc416b5ef0adf5f41d4d09175a736a1bd3b98a /Documentation/arm/kernel_mode_neon.rst
parentmm: page_isolation: check specified range for unmovable pages (diff)
downloadlinux-b2c9e2fbba32539626522b6aed30d1dde7b7e971.tar.xz
linux-b2c9e2fbba32539626522b6aed30d1dde7b7e971.zip
mm: make alloc_contig_range work at pageblock granularity
alloc_contig_range() worked at MAX_ORDER_NR_PAGES granularity to avoid merging pageblocks with different migratetypes. It might unnecessarily convert extra pageblocks at the beginning and at the end of the range. Change alloc_contig_range() to work at pageblock granularity. Special handling is needed for free pages and in-use pages across the boundaries of the range specified by alloc_contig_range(). Because these= Partially isolated pages causes free page accounting issues. The free pages will be split and freed into separate migratetype lists; the in-use= Pages will be migrated then the freed pages will be handled in the aforementioned way. [ziy@nvidia.com: fix deadlock/crash] Link: https://lkml.kernel.org/r/23A7297E-6C84-4138-A9FE-3598234004E6@nvidia.com Link: https://lkml.kernel.org/r/20220425143118.2850746-4-zi.yan@sent.com Signed-off-by: Zi Yan <ziy@nvidia.com> Reported-by: kernel test robot <lkp@intel.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: David Hildenbrand <david@redhat.com> Cc: Eric Ren <renzhengeek@gmail.com> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Mike Rapoport <rppt@linux.ibm.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Oscar Salvador <osalvador@suse.de> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/arm/kernel_mode_neon.rst')
0 files changed, 0 insertions, 0 deletions