Re: [PATCH] cpumask 5/10 rewrite cpumask.h - single bitmap basedimplementation
From: Paul Jackson
Date: Sat Jun 05 2004 - 01:57:54 EST
Andrew wrote:
> In that case the cpumask code should provide some API function which
> converts a cpumask_t into (and from?) some canonical and documented form.
> Then you copy what it gave you to userspace.
Exactly. I said something similar in my earlier reply.
But not the same. Andrew nailed it.
And the bitmap code should provide that conversion code,
since cpumask is just (soon, I hope ;) a thin layer on
bitmap.
And there might be bitop or byteorder arch specific code
beneath that.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
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/