diff options
| author | Christoph Lameter <[email protected]> | 2006-12-13 00:34:11 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-12-13 09:05:48 -0800 |
| commit | dd47ea755693228bf842c779e8afdfa47efb20a3 (patch) | |
| tree | 3dbaea0064765ff7dbc82e5bf0af73aba15dd6b2 /include/linux | |
| parent | 6a8ba9d12150461acc91bd3c9124eac19e853218 (diff) | |
[PATCH] slab: fix sleeping in atomic bug
Fallback_alloc() does not do the check for GFP_WAIT as done in
cache_grow(). Thus interrupts are disabled when we call kmem_getpages()
which results in the failure.
Duplicate the handling of GFP_WAIT in cache_grow().
Signed-off-by: Christoph Lameter <[email protected]>
Cc: Jay Cliburn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions