RE: my slab cache broken on sparc64

From: Holzrichter, Bruce (
Date: Fri May 03 2002 - 20:54:42 EST

>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();
> set_fs(KERNEL_DS);
> ... get_user(kernel_pointer) ...
> set_fs (old_fs);
>But it is not.

Ok, now I see it. I'll change mine and try that out, though Andi Kleen
indicated he would fix it for real. :o)

Thanks, Wow, two e-mails and a fix, that's got to be some kind of record
Bruce H.
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:22 EST