Thread (30 messages) 30 messages, 4 authors, 2025-08-13

Re: [PATCH v3 0/6] prctl: extend PR_SET_THP_DISABLE to only provide THPs when advised

From: Usama Arif <hidden>
Date: 2025-08-13 08:07:10
Also in: linux-fsdevel, linux-mm, lkml


On 13/08/2025 07:06, Lorenzo Stoakes wrote:
Usama - did we plan another respin here? I ask as not in mm-new.
Yes, I have the changes ready since last week, was just waiting for a respin of
the selftest cleanup series that David mentioned in [1], but I dont see it
in the mailing list. I will just do the cleanup in my series and send it.

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].
Sounds good, Thanks for the heads up!

I do see this in mm-new, so will just send the next revision today tested
on latest mm-new.

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@oracle.com/ (local)
[1] https://lore.kernel.org/all/eec7e868-a61f-41ed-a8ef-7ff80548089f@redhat.com/ (local)

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help