Commit:     3cdc0ed0cea50ea08dd146c1bbc82b1bcc2e1b80
Parent:     a210906c1b791af1434323f69427286039c9c8b9
Author:     Christoph Lameter <[EMAIL PROTECTED]>
AuthorDate: Fri Jun 8 13:46:46 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Jun 8 17:23:32 2007 -0700

    slab: fix alien cache handling
    cache_free_alien must be called regardless if we use alien caches or not.
    cache_free_alien() will do the right thing if there are no alien caches
    Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
    Cc: Paul Mundt <[EMAIL PROTECTED]>
    Acked-by: Pekka J Enberg <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 mm/slab.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/slab.c b/mm/slab.c
index 2e71a32..6d65cf4 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3539,7 +3539,7 @@ static inline void __cache_free(struct kmem_cache 
*cachep, void *objp)
        objp = cache_free_debugcheck(cachep, objp, __builtin_return_address(0));
-       if (use_alien_caches && cache_free_alien(cachep, objp))
+       if (cache_free_alien(cachep, objp))
        if (likely(ac->avail < ac->limit)) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to