diff options
Diffstat (limited to 'debian/patches-rt/mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch')
-rw-r--r-- | debian/patches-rt/mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches-rt/mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch b/debian/patches-rt/mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch index ac7507599..52a5abb3a 100644 --- a/debian/patches-rt/mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch +++ b/debian/patches-rt/mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch @@ -1,7 +1,7 @@ From: Yang Shi <yang.shi@windriver.com> Subject: mm/memcontrol: Don't call schedule_work_on in preemption disabled context Date: Wed, 30 Oct 2013 11:48:33 -0700 -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patches-5.4.3-rt1.tar.xz The following trace is triggered when running ltp oom test cases: @@ -49,7 +49,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> --- a/mm/memcontrol.c +++ b/mm/memcontrol.c -@@ -2184,7 +2184,7 @@ static void drain_all_stock(struct mem_c +@@ -2265,7 +2265,7 @@ static void drain_all_stock(struct mem_c * as well as workers from this path always operate on the local * per-cpu data. CPU up doesn't touch memcg_stock at all. */ @@ -58,9 +58,9 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> for_each_online_cpu(cpu) { struct memcg_stock_pcp *stock = &per_cpu(memcg_stock, cpu); struct mem_cgroup *memcg; -@@ -2204,7 +2204,7 @@ static void drain_all_stock(struct mem_c +@@ -2286,7 +2286,7 @@ static void drain_all_stock(struct mem_c + schedule_work_on(cpu, &stock->work); } - css_put(&memcg->css); } - put_cpu(); + put_cpu_light(); |