diff options
| author | Joonsoo Kim <[email protected]> | 2013-04-29 15:07:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-04-29 15:54:33 -0700 |
| commit | c69480adeea15883d9459a8adc3da3f6e8cb7a8c (patch) | |
| tree | 8c26561f7aad8c854ffa031886ebac1fe86cac5d /tools/perf/scripts/python | |
| parent | db3808c1bac64740b9d830fda92801ae65f1c851 (diff) | |
mm, vmalloc: protect va->vm by vmap_area_lock
Inserting and removing an entry to vmlist is linear time complexity, so
it is inefficient. Following patches will try to remove vmlist
entirely. This patch is preparing step for it.
For removing vmlist, iterating vmlist codes should be changed to
iterating a vmap_area_list. Before implementing that, we should make
sure that when we iterate a vmap_area_list, accessing to va->vm doesn't
cause a race condition. This patch ensure that when iterating a
vmap_area_list, there is no race condition for accessing to vm_struct.
Signed-off-by: Joonsoo Kim <[email protected]>
Signed-off-by: Joonsoo Kim <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Atsushi Kumagai <[email protected]>
Cc: Chris Metcalf <[email protected]>
Cc: Dave Anderson <[email protected]>
Cc: Eric Biederman <[email protected]>
Cc: Guan Xuetao <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Vivek Goyal <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions