Re: [PATCH 6/9] kstaled: rate limit pages scanned per second.

From: KAMEZAWA Hiroyuki
Date: Wed Sep 28 2011 - 04:14:27 EST


On Tue, 27 Sep 2011 17:49:04 -0700
Michel Lespinasse <walken@xxxxxxxxxx> wrote:

> Scan some number of pages from each node every second, instead of trying to
> scan the entime memory at once and being idle for the rest of the configured
> interval.
>
> In addition to spreading the CPU usage over the entire scanning interval,
> this also reduces the jitter between two consecutive scans of the same page.
>
>
> Signed-off-by: Michel Lespinasse <walken@xxxxxxxxxx>

Does this scan thread need to be signle thread ?

Thanks,
-Kame


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/