Messages in this thread | | | Date | Sat, 5 Jun 2004 00:01:07 -0700 | From | Paul Jackson <> | Subject | Re: [PATCH] cpumask 5/10 rewrite cpumask.h - single bitmap based implementation |
| |
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 - 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/
| |