lkml.org 
[lkml]   [2003]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.67-mm3
William Lee Irwin III <wli@holomorphy.com> wrote:
>
> On Mon, Apr 14, 2003 at 09:55:41PM -0700, Andrew Morton wrote:
> > Sort-of. The code is doing two things.
> > a) Make sure that all the relevant pte's are established in the correct
> > state so we don't take a fault while holding the subsequent atomic kmap.
> > This is just an optimisation. If we _do_ take the fault while holding
> > an atomic kmap, we fall back to sleeping kmap, and do the whole copy
> > again. It almost never happens.
>
> This is the easy part; we're basically just prefaulting.

btw, this may sound like a lot of futzing about, but the other day I
timed four concurrent instances of

dd if=/dev/zero of=$i bs=1 count=1M

on the four-way. 2.5 ran eight times faster than 2.4. 2.4's kmap_lock
contention was astonishing.

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.051 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site