Messages in this thread | | | Date | Thu, 22 Jan 2015 10:11:31 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: [PATCH v2] mm: vmscan: fix the page state calculation in too_many_isolated |
| |
On Wed, 21 Jan 2015, Michal Hocko wrote:
> I think we can solve this as well. We can stick vmstat_shepherd into a > kernel thread with a loop with the configured timeout and then create a > mask of CPUs which need the update and run vmstat_update from > IPI context (smp_call_function_many).
Please do not run the vmstat_updates concurrently. They update shared cachelines and therefore can cause bouncing cachelines if run concurrently on multiple cpus.
| |