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

Paul Jackson
2004-06-05T06:55:31Z

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@sgi.com> 1.650.933.1373