diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-10-29 23:23:34 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-10-29 23:23:34 -0800 |
| commit | 706489d8a6f1187875ebdb86a751b6d77d1911e4 (patch) | |
| tree | 97879c4cdcbc8bd68c4f4345d3c918c1a1a7ce98 /include/linux/stringify.h | |
| parent | c51fcfae69efd3af4df2f87c37409521ae69b3db (diff) | |
[PATCH] slab: extended cpu notifiers
Patch from Dipankar Sarma <dipankar@in.ibm.com>
This is Manfred's patch which provides a CPU_UP_PREPARE cpu notifier to
allow initialization of per_cpu data just before the cpu becomes fully
functional.
It also provides a facility for the CPU_UP_PREPARE handler to return
NOTIFY_BAD to signify that the CPU is not permitted to come up. If
that happens, a CPU_UP_CANCELLED message is passed to all the handlers.
The patch also fixes a bogus NOFITY_BAD return from the softirq setup
code.
Patch has been acked by Rusty.
We need this mechanism in slab for starting per-cpu timers and for
allocating the per-cpu slab hgead arrays *before* the CPU has come up
and started using slab.
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
