diff options
| author | Alok N Kataria <[email protected]> | 2005-09-27 21:45:46 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-09-28 07:46:42 -0700 |
| commit | 5c382300876f2337f7b945c159ffcaf285f296ea (patch) | |
| tree | d505f231c23d415f2609c6bf0ef7c196503dc161 /include/linux/sysdev.h | |
| parent | 0f9578b70a9f112bfb541e1d5ab486a376e64503 (diff) | |
[PATCH] kmalloc_node IRQ safety fix
In kmalloc_node we are checking if the allocation is for the same node when
interrupts are "on". This may lead to an allocation on another node than
intended.
This patch just shifts the check for the current node in __cache_alloc_node
when interrupts are disabled.
Signed-off-by: Alok N Kataria <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/sysdev.h')
0 files changed, 0 insertions, 0 deletions