> So it's not horribly hard, but it's kind of a separate issue right now.
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.
Sure, I would have though all of this stuff is 2.6.25, but it's your
kernel... :)
Miklos
--