RE: my slab cache broken on sparc64

From: Holzrichter, Bruce (
Date: Sun May 05 2002 - 07:44:24 EST

>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...

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:23 EST