Messages in this thread | | | Subject | Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys_msync() | From | Miklos Szeredi <> | Date | Wed, 23 Jan 2008 22:16:38 +0100 |
| |
> So it's not horribly hard, but it's kind of a separate issue right now. > And while the *generic* page-writeback is easy enough to fix, I worry > about low-level filesystems that have their own "writepages()" > implementation. They could easily get that wrong.
Yeah, nasty.
How about doing it in a separate pass, similarly to wait_on_page_writeback()? Just instead of waiting, clean the page tables for writeback pages.
> So right now it seems that waiting for writeback to finish is the right > and safe thing to do (and even so, I'm not actually willing to commit my > suggested patch in 2.6.24, I think this needs more thinking about)
Sure, I would have though all of this stuff is 2.6.25, but it's your kernel... :)
Miklos
| |