[lkml]   [2010]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] [4/4] SLAB: Fix node add timer race in cache_reap
On Thu, 25 Feb 2010 12:30:26 -0600 (CST)
Christoph Lameter <> wrote:

> On Thu, 25 Feb 2010, David Rientjes wrote:
> > I don't see how memory hotadd with a new node being onlined could have
> > worked fine before since slab lacked any memory hotplug notifier until
> > Andi just added it.
> AFAICR The cpu notifier took on that role in the past.
> If what you say is true then memory hotplug has never worked before.
> Kamesan?
In this code,

int node = numa_node_id();

node is got by its CPU.

At node hotplug, following order should be kept.
Add: memory -> cpu
Remove: cpu -> memory

cpus must be onlined after memory. At least, we online cpus only after
memory. Then, we(our heavy test on RHEL5) never see this kind of race.

I'm sorry if my answer misses your point.


> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to
> More majordomo info at
> Please read the FAQ at

 \ /
  Last update: 2010-02-26 02:15    [W:0.127 / U:12.348 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site