mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: test13-pre6
@ 2000-12-30  3:16 Linus Torvalds
  2000-12-30 18:58 ` [RFC] Generic deferred file writing Daniel Phillips
  0 siblings, 1 reply; 37+ messages in thread
From: Linus Torvalds @ 2000-12-30  3:16 UTC (permalink / raw)
  To: Daniel Phillips; +Cc: linux-kernel



On Sat, 30 Dec 2000, Daniel Phillips wrote:

> Linus Torvalds wrote:
> > 
> > Ok, there's a test13-pre6 out there now, which does a partial sync with
> > Alan, in addition to hopefully fixing the innd shared mapping writeback
> > problem for good.  Thanks to Marcelo Tosatti and others..
> 
> After the page_cache_release at line 574 of vmscan.c the page is
> unlocked and only owned by the page cache - anything could happen.  How
> do you know the set_page_dirty at line 581 is still hitting a valid
> page?

Good question.

It should be safe because of the magic return value from "writepage()".

If "writepage()" returns 1, then that implies that the page is locked down
somehow. But you're right, this is ugly, if not outright buggy (maybe the
locked down state could change after the writepage, who knows?).

Moving the test is probably a good idea.

		Linus

-
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/

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2001-01-02 18:58 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.10.10012311726230.1671-100000@penguin.transmeta.com>
2001-01-01  2:50 ` [RFC] Generic deferred file writing Roman Zippel
2001-01-01  3:47   ` Alexander Viro
2001-01-01 12:44     ` Roman Zippel
2001-01-01 15:16       ` Alexander Viro
2001-01-02  3:00         ` Roman Zippel
2001-01-02  5:00           ` Alexander Viro
2001-01-02 16:53             ` Roman Zippel
2001-01-01 20:00     ` Daniel Phillips
2000-12-30  3:16 test13-pre6 Linus Torvalds
2000-12-30 18:58 ` [RFC] Generic deferred file writing Daniel Phillips
2000-12-30 20:05   ` Linus Torvalds
2000-12-30 20:06   ` Alexander Viro
2000-12-30 20:21     ` Linus Torvalds
2000-12-30 21:10       ` Andreas Dilger
2000-12-30 21:46       ` Alexander Viro
2000-12-30 23:12         ` Daniel Phillips
2000-12-30 22:00       ` Eric W. Biederman
2000-12-30 22:44         ` Linus Torvalds
2000-12-31  0:26           ` Eric W. Biederman
2000-12-31  1:02         ` Andrea Arcangeli
2000-12-31  1:13           ` Chris Wedgwood
2000-12-31  1:50           ` Alexander Viro
2000-12-31  2:34             ` Andrea Arcangeli
2000-12-31  2:09           ` Roman Zippel
2000-12-31  2:28             ` Linus Torvalds
2000-12-31 12:58               ` Roman Zippel
2000-12-31 14:38               ` Andrea Arcangeli
2000-12-31 16:33                 ` Linus Torvalds
2000-12-31 16:50                   ` Andrea Arcangeli
2000-12-31 16:51                   ` Alexander Viro
2000-12-31 17:12                     ` Linus Torvalds
2000-12-31 18:30               ` Daniel Phillips
2000-12-31 18:44                 ` Linus Torvalds
2000-12-31 19:10                   ` Daniel Phillips
2000-12-31 19:31                     ` Linus Torvalds
2000-12-31 21:03                   ` Roman Zippel
2000-12-31 21:32                     ` Linus Torvalds
2001-01-02 18:27               ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®