Skip to content

Fix build errors due to folio_test_large() misuse

SeongJae Park linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm/vmscan: Use folio_test_transhuge() for THP checkmm/vmscan.c+1 -10 replies
2/3mm/shmem: Use folio_test_transhuge() for THP checkmm/shmem.c+1 -10 replies
3/3mm/shmem: Use folio_test_transhuge() for THP checkmm/shmem.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for mm-unstable 0/3] Fix build errors due to folio_test_large() misuse

Several commits on 'mm-unstable' replaces 'PageTransHuge()' with 'folio_test_large()' instead of 'folio_test_transhuge()'. As a result, several build errors occur when 'CONFIG_TRANSPARENT_HUGEPAGE' is unset.

This patchset fixes the issues by replacing the check to use 'folio_test_transhuge()'.

SeongJae Park (3):
mm/vmscan: Use folio_test_transhuge() for THP check mm/shmem: Use folio_test_transhuge() for THP check mm/shmem: Use folio_test_transhuge() for THP check

 mm/shmem.c  | 8 ++++----
 mm/vmscan.c | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1