Re: [PATCH] reapswap for 2.4.5-ac10
From: Marcelo Tosatti <hidden>
Date: 2001-06-05 20:46:51
From: Marcelo Tosatti <hidden>
Date: 2001-06-05 20:46:51
On Tue, 5 Jun 2001, Stephen C. Tweedie wrote:
Hi, On Tue, Jun 05, 2001 at 04:48:46PM -0300, Marcelo Tosatti wrote:quoted
I'm resending the reapswap patch for inclusion into -ac series.Isn't it broken in this state? Checking page_count, page->buffers and PageSwapCache without the appropriate locks is dangerous.
We hold the pagemap_lru_lock, so there will be no one doing lookups on this swap page (get_swapcache_page() locks pagemap_lru_lock). Am I overlooking something here? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/