Re: innd mmap bug in 2.4.0-test12

Linus Torvalds
2000-12-28T18:18:11Z

On Thu, 28 Dec 2000, Rik van Riel wrote:
>
> I've made a small debugging patch that simply checks
> for this illegal state in add_page_to_active_list and
> add_page_to_inactive_dirty_list.

I bet it won't catch the real bad guy, which almost certainly is the
"remove_from_swap_cache()" thing (it should do a ClearPageDirty() before
it removes it from the swapper_inode mapping).

Linus