Re: [PATCH] RSS container, fix freeing of active pages

From: Balbir Singh
Date: Fri Apr 27 2007 - 07:17:34 EST


Pavel Emelianov wrote:

Hm... Did you see such a situation in your experiments?

Yes, we did. We saw a bad_page() error on the console. A page
was freed with the active bit set.

If yes, then why not fix it in a normal way by moving the pages from list to list where appropriate?


If we add the pages to the appropriate list at the time of page_add_*rmap(),
we would end up with too many code changes split
all over the place. In many cases when we add a page (install_page()
for example), we just release any existing mapping. We would not know
where to add the page -- active list or inactive list?

I am not sure if that was your question in the first place :-)


--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
-
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/