Re: [PULL] cpumask offstack finalization

From: Rusty Russell
Date: Thu Feb 10 2011 - 16:32:32 EST


On Thu, 10 Feb 2011 11:14:16 pm Ingo Molnar wrote:
>
> * Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
>
> > Hi Ingo,
> >
> > A few more obsolete uses of cpumask has crept into the tree; all easily
> > fixed. This is rebased onto your -tip tree and re-tested; it finally means
> > that we can detect obsolescent (and hence dangerous) cpumask usage when
> > CONFIG_CPUMASK_OFFSTACK=y. It finally reduces the actual allocation of
> > cpumask_var_t to the number of cpus we actually have.
>
> Hm, could we get rid of the obsolete percpu APIs once and for all? The fact that
> they are still around cause the leakage into new code to begin with.

Yes; it'll be a fair bit of arch churn, but it can be done in stages easily.
I thought about marking them all __deprecated but that just annoys people.

And yes, this is definitely .39+.

Thanks,
Rusty.
--
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/