Re: set_page_dirty/page_launder deadlock

Christoph Rohland (cr@sap.com)
19 Jan 2001 18:44:44 +0100


Hi Linus,

On Sun, 14 Jan 2001, Linus Torvalds wrote:
> Well, as the new shm code doesn't return 1 any more, the whole
> locked page handling should just be deleted. ramfs always just
> re-marked the page dirty in its own "writepage()" function, so it
> was only shmfs that ever returned this special case, and because of
> other issues it already got excised by Christoph..

No, that's not completely right. There may be rare cases like out of
swap that shmem_write does return 1. But couldn't it simply set the
page dirty like ramfs_writepage?

Greetings
Christoph

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/