Re: [PATCH] Check PageActive when evictable page and unevicetablepage race happen
From: Minchan Kim
Date: Sun Apr 24 2011 - 01:37:21 EST
On Sun, Apr 24, 2011 at 9:25 AM, Minchan Kim <minchan.kim@xxxxxxxxx> wrote:
> In putback_lru_page, unevictable page can be changed into evictable
> 's one while we move it among lru. So we have checked it again and
> rescued it. But we don't check PageActive, again. It could add
> active page into inactive list so we can see the BUG in isolate_lru_pages.
> (But I didn't see any report because I think it's very subtle)
>
> It could happen in race that zap_pte_range's mark_page_accessed and
> putback_lru_page. It's subtle but could be possible.
Please Ignore this. I was confused.
The race never happens.
--
Kind regards,
Minchan Kim
--
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/