diff options
author | Ingo Molnar <mingo@kernel.org> | 2025-03-19 11:03:06 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-19 11:03:06 +0100 |
commit | 89771319e0f11314fcf6d22fcdd0c41e2d157ddc (patch) | |
tree | db7d5bddaa727f844aab9001f171fdaa214267f4 /mm/compaction.c | |
parent | 6d536cad0d55e71442b6d65500f74eb85544269e (diff) | |
parent | 4701f33a10702d5fc577c32434eb62adde0a1ae1 (diff) |
Merge tag 'v6.14-rc7' into x86/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/compaction.c')
-rw-r--r-- | mm/compaction.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/compaction.c b/mm/compaction.c index 12ed8425fa17..a3203d97123e 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -3181,6 +3181,7 @@ static int kcompactd(void *p) long default_timeout = msecs_to_jiffies(HPAGE_FRAG_CHECK_INTERVAL_MSEC); long timeout = default_timeout; + current->flags |= PF_KCOMPACTD; set_freezable(); pgdat->kcompactd_max_order = 0; @@ -3237,6 +3238,8 @@ static int kcompactd(void *p) pgdat->proactive_compact_trigger = false; } + current->flags &= ~PF_KCOMPACTD; + return 0; } |