Skip to contentSkip to conversation

Patch to stop backtrace on 2.6.20-rt8

PATCH Clark Williams 1 participant 1 message Mar 8, 2007 Memory management

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ingo,

This patch fixes a backtrace I get when disconnecting USB storage devices (well ok, my iPod :)):

mm/slab.c +0 -0
index 8761f4f..948007e 100644

- --- a/mm/slab.c
+++ b/mm/slab.c
@@ -4121,7 +4121,7 @@ static int enable_cpucache(struct kmem_cache *cachep)
int drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3,
struct array_cache *ac, int force, int node)
{
- - int this_cpu = smp_processor_id();

+       int this_cpu = raw_smp_processor_id();
        int tofree;

        if (!ac || !ac->avail)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFF8JqhHyuj/+TTEp0RAghfAKDnOZyOs8cusB4tulxTKtlI1wyrawCglEX3 GqENx7vnk9jrwD5w7WRfV2I=
=9qJX
-----END PGP SIGNATURE-----