OSDN Git Service

mm: process_reclaim: use unbounded cpu workqueue
authorShiraz Hashim <shashim@codeaurora.org>
Thu, 11 Jun 2015 05:11:54 +0000 (10:41 +0530)
committerKyle Yan <kyan@codeaurora.org>
Wed, 29 Jun 2016 22:12:09 +0000 (15:12 -0700)
commit1be1715f1488a28fe8d29cbb065ed9de4669efed
treece79543e86174f9da8806e0a78f59bec95432585
parent9ff04770060db13d7d6dcfad1d0d72b4f04eaf26
mm: process_reclaim: use unbounded cpu workqueue

It is observed that in some cases process reclaim work
doesn't get chance to run due to presence of RT scheduled
on the same CPU. This is leading to user space freeze and
a live-lock situation where RT itself is looping for a
page to be present in swap cache while process reclaim
work is unable to schedule and do the same.

Schedule process reclaim work on unbounded cpu workqueue
so that the work has opportunity to be scheduled on to
other cpu.

Change-Id: I6852f7e8d0a344ab5631b188627263f11414f27e
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
mm/process_reclaim.c