Re: [PATCH] low-latency zap_page_range()

From: Andrew Morton (akpm@zip.com.au)
Date: Thu Aug 29 2002 - 16:22:12 EST


Robert Love wrote:
>
> On Thu, 2002-08-29 at 17:00, Andrew Morton wrote:
>
> > That's an interesting point. page_table_lock is one of those locks
> > which is occasionally held for ages, and frequently held for a short
> > time.
>
> Since latency is a direct function of lock held times in the preemptible
> kernel, and I am seeing disgusting zap_page_range() latencies, the lock
> is held a long time.
>
> So we know it is held forever and a day... but is there contention?

I'm sure there is, but nobody has measured the right workload.

Two CLONE_MM threads, one running mmap()/munmap(), the other trying
to fault in some pages. I'm sure someone has some vital application
which does exactly this. They always do :(
-
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/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:27 EST