Re: my slab cache broken on sparc64

From: David S. Miller (
Date: Fri May 03 2002 - 16:05:07 EST

   From: "Holzrichter, Bruce" <>
   Date: Fri, 3 May 2002 14:18:55 -0500

   I am trying to troubleshoot why in 2.5.13, (Though I also saw this in 2.5.7)
   on my UltraSparc, why my slabcache is broken. Has anyone else seen this?
The technique used by the slabcache to verify to pointer
is %100 non-portable and totally wrong.

get_user() MUST be used only on "user pointers", it is being
used on a kernel pointer here.

It would work if the access was surrounded by:

        old_fs = get_fs();
        ... get_user(kernel_pointer) ...
        set_fs (old_fs);

But it is not.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:21 EST