]> err.no Git - linux-2.6/commit
ipc: invoke the ipcns notifier chain as a work item
authorNadia Derbey <Nadia.Derbey@bull.net>
Tue, 29 Apr 2008 08:00:43 +0000 (01:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:12 +0000 (08:06 -0700)
commit424450c1dbe72b6e2637e91108417d7d9580c4c3
tree472fd07a519cdfd594a15da5d2167d8de937e95e
parentb6b337ad1c1d6fe11b09b35d75464b84b3e11f07
ipc: invoke the ipcns notifier chain as a work item

Make the memory hotplug chain's mutex held for a shorter time: when memory is
offlined or onlined a work item is added to the global workqueue.  When the
work item is run, it notifies the ipcns notifier chain with the
IPCNS_MEMCHANGED event.

Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Matt Helsley <matthltc@us.ibm.com>
Cc: Mingming Cao <cmm@us.ibm.com>
Cc: Pierre Peiffer <pierre.peiffer@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/util.c