Re: [PATCH] cpumask 5/10 rewrite cpumask.h - single bitmap basedimplementation

From: Andrew Morton
Date: Fri Jun 04 2004 - 15:33:12 EST


Anton Blanchard <anton@xxxxxxxxx> wrote:
>
>
> > This is patently ridiculous. Make a compat_sched_getaffinity(), and
> > likewise for whatever else is copying unsigned long arrays to userspace.
>
> Did someone say compat_sched_getaffinity?
>

aargh! It's back!

>
> --
>
> Patch from Milton Miller that adds the sched_affinity syscalls into the
> compat layer.

There's something about this patch which make me break out in hives. Does
it *really* need to be that complicated?

iirc, the last time I looked through this I was unable to convince myself
that it was endianness-correct. Is it?

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