Messages in this thread | | | Date | Mon, 12 Dec 2005 11:59:10 +0200 | From | "Michael S. Tsirkin" <> | Subject | Re: set_page_dirty vs set_page_dirty_lock |
| |
Quoting Nick Piggin <nickpiggin@yahoo.com.au>: > >>or try to do something tricky with page_count to determine > >>if we need to do a copy in fork() rather than a COW. > > > > > > I'm actually reasonably happy with the trick that I'm using: > > performing a second get_user_pages after DMA and comparing > > the page lists. > > However, doing this every time on the off chance that a > > page was made COW forces me into task context, every time. > > > > I think it might be possible to solve it with the early-copy in > fork(). I'll tinker with it.
Thanks, that would help!
-- MST - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |