Re: my slab cache broken on sparc64

From: Andi Kleen (ak@muc.de)
Date: Fri May 03 2002 - 17:58:55 EST


"David S. Miller" <davem@redhat.com> writes:
>
> 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.

It was supposed to be. I think we discussed it some time ago, but for
some reason it was never changed. Will submit a patch in a jiffie.

-Andi (to blame for that code)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



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