summaryrefslogtreecommitdiffstats
path: root/mm/fail_page_alloc.c
diff options
context:
space:
mode:
authorSidhartha Kumar <sidhartha.kumar@oracle.com>2023-06-27 19:43:49 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 19:12:00 +0200
commit87b11f862254396a93636f0998377ac3f6648f5f (patch)
tree8e866e480d9533017b93efbb1ec46fc9225f503a /mm/fail_page_alloc.c
parentmm/mm_init.c: update obsolete comment in get_pfn_range_for_nid() (diff)
downloadlinux-87b11f862254396a93636f0998377ac3f6648f5f.tar.xz
linux-87b11f862254396a93636f0998377ac3f6648f5f.zip
mm: increase usage of folio_next_index() helper
Simplify code pattern of 'folio->index + folio_nr_pages(folio)' by using the existing helper folio_next_index(). Link: https://lkml.kernel.org/r/20230627174349.491803-1-sidhartha.kumar@oracle.com Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> Suggested-by: Christoph Hellwig <hch@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Andreas Dilger <adilger.kernel@dilger.ca> Cc: Christoph Hellwig <hch@infradead.org> Cc: Hugh Dickins <hughd@google.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/fail_page_alloc.c')
0 files changed, 0 insertions, 0 deletions