[PATCH 3/2] sched, numa, mm: Implement constant rate working setsampling

From: Ingo Molnar
Date: Sun Oct 21 2012 - 08:43:55 EST



* Rik van Riel <riel@xxxxxxxxxx> wrote:

> Hi Ingo,
>
> Here are some minor NUMA cleanups to start with.
>
> I have some ideas for larger improvements and ideas to port
> over from autonuma, but I got caught up in some of the code
> and am not sure about those changes yet.

To help out I picked up a couple of obvious ones:

cee8868763f8 x86, mm: Prevent gcc to re-read the pagetables
a860d4c7a1f4 mm: Check if PTE is already allocated during page fault
e9fe72334fb0 numa, mm: Fix NUMA hinting page faults from gup/gup_fast

I kept Andrea as the author, the patches needed only minimal
adaptation.

Plus I finally completed testing and applying Peter's
constant-rate WSS patch:

3d049f8a5398 sched, numa, mm: Implement constant, per task Working Set Sampling (WSS) rate

This is in part similar to AutoNUMA's hinting page fault rate
limiting feature (pages_to_scan et al), and in part an
improvement/extension of it. See the patch below for details.

Let me know if you have any questions!

Thanks,

Ingo

---------------->