]> err.no Git - linux-2.6/commit
[PATCH] mm/slab.c: prefetchw the start of new allocated objects
authorEric Dumazet <dada1@cosmosbay.com>
Sat, 3 Sep 2005 22:55:06 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:48 +0000 (00:05 -0700)
commit34342e863c3143640c031760140d640a06c6a5f8
treef2855e8ca82929859cb1fe249982b3ba1ccf9b5e
parent61e06037e764337da39dff307cbcdbe9cf288349
[PATCH] mm/slab.c: prefetchw the start of new allocated objects

Mostobjects returned by __cache_alloc() will be written by the caller,
(but not all callers want to write all the object, but just at the
begining) prefetchw() tells the modern CPU to think about the future
writes, ie start some memory transactions in advance.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c