RE: my slab cache broken on sparc64

Holzrichter, Bruce (bruce.holzrichter@monster.com)
Sun, 5 May 2002 07:44:24 -0500


>Do it like this instead.
>
> int fault;
> mm_segment_t old_fs;
>
> ...
>
> old_fs = get_fs();
> set_fs(KERNEL_DS);
> fault = __get_user(tmp, pc->name);
> set_fs(old_fs);
>
> if (fault) {
> ...

Hmm. Just got back to this, and I thought I had taken that into account and
left all the important parts out of a loop, or if, context. I'll look at
what I DID do, though, and maybe I'll file that last patch under my things
you shouldn't do while half asleep folder...

Thanks
Bruce H.
-
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/