Re: [RFC][PATCH 5/7] create __remove_mapping_batch()

From: Dave Hansen
Date: Thu May 09 2013 - 18:18:54 EST


On 05/09/2013 03:13 PM, Seth Jennings wrote:
>> > + mapping = lru_to_page(remove_list)->mapping;
> This doesn't work for pages in the swap cache as mapping is overloaded to
> hold... something else that I can't remember of the top of my head. Anyway,
> this happens:

Yup, that's true. I'm supposed to be using page_mapping() here. I know
I ran in to that along the way and fixed a few of the sites in my patch,
but missed that one. I'll fix it up.
--
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/