diff options
| author | Tejun Heo <tj@kernel.org> | 2009-08-14 15:00:49 +0900 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2009-08-14 15:00:49 +0900 |
| commit | 971f3918a5a8febbbab355079972fb31ee7c0f33 (patch) | |
| tree | dc7909e934473d6b63460c5aa8d0a37ba62a4f79 /scripts/patch-kernel | |
| parent | Merge branch 'percpu-for-linus' into percpu-for-next (diff) | |
| download | linux-971f3918a5a8febbbab355079972fb31ee7c0f33.tar.gz linux-971f3918a5a8febbbab355079972fb31ee7c0f33.zip | |
percpu: fix pcpu_reclaim() locking
pcpu_reclaim() calls pcpu_depopulate_chunk() which makes use of pages
array and bitmap returned by pcpu_get_pages_and_bitmap() and thus
should be called under pcpu_alloc_mutex. pcpu_reclaim() released the
mutex before calling depopulate leading to double free and other
strange problems caused by the unexpected concurrent usages of pages
array and bitmap. Fix it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
