patch-5.15.79-rt54.patch
[platform/kernel/linux-rpi.git] / mm / page_alloc.c
index 15191b2..e31bbd2 100644 (file)
@@ -3171,9 +3171,9 @@ static void drain_local_pages_wq(struct work_struct *work)
         * cpu which is alright but we also have to make sure to not move to
         * a different one.
         */
-       preempt_disable();
+       migrate_disable();
        drain_local_pages(drain->zone);
-       preempt_enable();
+       migrate_enable();
 }
 
 /*