From 913bdea29b95be0987deff130f063bf01ca58385 Mon Sep 17 00:00:00 2001 From: Eric Dumazet Date: Sat, 3 Sep 2005 15:55:06 -0700 Subject: [PATCH] --- yaml --- r: 6881 b: refs/heads/master c: 34342e863c3143640c031760140d640a06c6a5f8 h: refs/heads/master i: 6879: 398a05bc4f183178b0bd77c8bd32f6ffdf3dfade v: v3 --- [refs] | 2 +- trunk/mm/slab.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index bb8b9650e7bc..c54ac8de8fb2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 61e06037e764337da39dff307cbcdbe9cf288349 +refs/heads/master: 34342e863c3143640c031760140d640a06c6a5f8 diff --git a/trunk/mm/slab.c b/trunk/mm/slab.c index 59d382fbca1c..75127a6f1fd9 100644 --- a/trunk/mm/slab.c +++ b/trunk/mm/slab.c @@ -2166,7 +2166,9 @@ static inline void *__cache_alloc(kmem_cache_t *cachep, unsigned int __nocast fl objp = cache_alloc_refill(cachep, flags); } local_irq_restore(save_flags); - objp = cache_alloc_debugcheck_after(cachep, flags, objp, __builtin_return_address(0)); + objp = cache_alloc_debugcheck_after(cachep, flags, objp, + __builtin_return_address(0)); + prefetchw(objp); return objp; }