Re: 3rd version of R/W mmap_sem patch available

Jeff Garzik
2001-03-20T15:16:19Z

Andrew Morton wrote:
> General comment: an expensive part of a pagefault
> is zeroing the new page. It'd be nice if we could
> drop the page_table_lock while doing the clear_user_page()
> and, if possible, copy_user_page() functions. Very nice.

People have talked before about creating zero pages in the background,
or creating them as a side effect of another operation (don't recall
details), so yeah this is definitely an area where some optimizations
could be done. I wouldn't want to do it until 2.5 though...

--
Jeff Garzik | May you have warm words on a cold evening,
Building 1024 | a full mooon on a dark night,
MandrakeSoft | and a smooth road all the way to your door.