diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-06-22 01:46:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-22 01:51:02 +0200 |
commit | 481c5346d0981940ee63037eb53e4e37b0735c10 (patch) | |
tree | 3fcae626ec4e1d4e698008671cfd62d794992ac5 /fs/select.c | |
parent | Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tyt... (diff) | |
download | linux-481c5346d0981940ee63037eb53e4e37b0735c10.tar.xz linux-481c5346d0981940ee63037eb53e4e37b0735c10.zip |
Slab: Fix memory leak in fallback_alloc()
The zonelist patches caused the loop that checks for available
objects in permitted zones to not terminate immediately. One object
per zone per allocation may be allocated and then abandoned.
Break the loop when we have successfully allocated one object.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions