Re: [rfc] lru_add_drain_all() vs isolation

Christoph Lameter
2009-09-10T18:05:21Z

On Thu, 10 Sep 2009, KOSAKI Motohiro wrote:

> How about this?
> - pass 1-2, lru_add_drain_all_async()
> - pass 3-10, lru_add_drain_all()
>
> this scheme might save RT-thread case and never cause regression. (I think)

Sounds good.

> The last remain problem is, if RT-thread binding cpu's pagevec has migrate
> targetted page, migration still face the same issue.
> but we can't solve it...
> RT-thread must use /proc/sys/vm/drop_caches properly.

A system call "sys_os_quiet_down" may be useful. It would drain all
caches, fold counters etc etc so that there will be no OS activities
needed for those things later.