lkml.org 
[lkml]   [2005]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] x86-64: Use SSE for copy_page and clear_page
From
Date
Andi Kleen <ak@muc.de> writes:

> > Thus with "normal" page clear and "nt" page copy routines
> > both clear and copy benchmarks run faster than with
> > stock kernel, both with small and large working set.
> >
> > Am I wrong?
>
> fork is only a corner case. The main case is a process allocating
> memory using brk/mmap and then using it.

Key point: "using it". This normally involves writes to memory. Most
applications don't commonly read memory that they haven't previously
written to. (valgrind et al call that behaviour a "bug" :).

Given that, I'd say you really don't want the page zero routines
touching the cache.

Michael.
-
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-06-01 09:27    [W:0.178 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site