Re: VM in 2.4.7-pre hurts...

Christoph Rohland
2001-07-09T19:47:16Z

Hi Linus,

On Mon, 9 Jul 2001, Linus Torvalds wrote:
> Does it help if you just remove the
>
> if (atomic_read(&page->count) > 2)
> goto out;
>
> from shmem_writepage()?
>
> It _shouldn't_ matter (because writepage() should only be called
> with inactive pages anyway), but your problem certainly sounds like
> your inactive dirty list is not able to write out shmfs pages.

No, it does matter. It prevents races against getpage.

Greetings
Christoph