Christoph Hellwig writes:
> On Mon, Dec 02, 2002 at 06:12:05PM +0100, Mikael Pettersson wrote:
> > Is this implementation of set_cpus_allowed() Ok for all 2.4 kernels,
> > even if they (like RH8.0's) use a non-vanilla scheduler?
>
> No, it's for the stock scheduler. But RH8.0 already has set_cpus_allowed().
I knew RH8.0 has set_cpus_allowed(), but I wanted to avoid having to check
for being compiled in a RH-hacked kernel. LINUX_VERSION_CODE doesn't
distinguish between standard and "with tons of vendor-specific changes" :-(
I'll use your code then on stock 2.4 kernels, and work out some kludge
for the RH case.
Thanks,
/Mikael
-
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/
This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:13 EST