On Sat, Dec 12, 2009 at 6:46 AM, Rik van Riel<riel@xxxxxxxxxx> wrote:
If too many processes are active doing page reclaim in one zone,
simply go to sleep in shrink_zone().
I am worried about one.
Now, we can put too many processes reclaim_wait with NR_UNINTERRUBTIBLE state.
If OOM happens, OOM will kill many innocent processes since
uninterruptible task
can't handle kill signal until the processes free from reclaim_wait list.
I think reclaim_wait list staying time might be long if VM pressure is heavy.
Is this a exaggeration?
If it is serious problem, how about this?
We add new PF_RECLAIM_BLOCK flag and don't pick the process
in select_bad_process.