Re: cpumask: fix compat getaffinity

From: Milton Miller
Date: Wed May 12 2010 - 04:47:27 EST



At least for parsing, we need to allocate and parse NR_CPUS until
all places like arch/powerpc/platforms/pseries/xics.c that compare a
user-supplied mask to CPUMASK_ALL are eliminated.


> Would it make sense to use my initial patch for -stable, which reverts
> the ABI back to before the change that caused the problem, but apply
> the correct fix (changing the ABI throughout) for future releases?

This would definitly be the conservative fix.

milton
--
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/