Messages in this thread | | | Date | Thu, 15 Aug 2002 21:40:26 -0700 | From | Andrew Morton <> | Subject | Re: 2.4.18(19) swapcache oops |
| |
j-nomura@ce.jp.nec.com wrote: > > Thank you for the solutions. > Your first patch seems to fix the problem in 2.4.
You must have been able to reproduce it quite quickly. But the code has been like that for ages. Why is that? Are you testing on an unusual machine?
> As to the second fix from 2.5.32, it can't be applicable to 2.4, can it? > try_to_swap_out() may call add_to_swap_cache() with PG_lru page.
Ah, good point. In 2.5, add_to_page_cache() does not add the page to the LRU. Anonymous pages are already there, and we don't need to do that. The first patch should be OK. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |