Re: [PATCH v3 0/6] prctl: extend PR_SET_THP_DISABLE to only provide THPs when advised
From: Lorenzo Stoakes
Date: Wed Aug 13 2025 - 02:09:35 EST
Usama - did we plan another respin here? I ask as not in mm-new.
Also heads up, my mm flags series will break this one, so if you're
respinning, please make sure to use the mm flag helpers described in [0].
It's really simple, you just do:
mm_flags_test(MMF_xxx, mm) instead of test_bit(MMF_xxx, &mm->flags)
mm_flags_set(MMF_xxx, mm) instead of set_bit(MMF_xxx, &mm->flags)
mm_flags_clear(MMF_xxx, mm) instead of clear_bit(MMF_xxx, &mm->flags)
So should be very quick to fixup.
Sorry about that, but should be super simple to sort out.
Cheers, Lorenzo
[0]: https://lore.kernel.org/linux-mm/cover.1755012943.git.lorenzo.stoakes@xxxxxxxxxx/