Re: [Bugfix] sched: fix possible invalid memory access caused by CPU hot-addition

From: Andrew Morton
Date: Tue Apr 22 2014 - 16:02:02 EST


On Tue, 22 Apr 2014 10:15:15 +0200 Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Tue, Apr 22, 2014 at 01:27:15PM +0800, Jiang Liu wrote:
> > When calling kzalloc_node(size, flags, node), we should first check
> > whether node is onlined, otherwise it may cause invalid memory access
> > as below.
>
> But this is only for memory less node crap, right?

um, why are memoryless nodes crap?
--
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/