diff options
author | Rik van Riel <riel@redhat.com> | 2010-08-10 02:18:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 05:44:55 +0200 |
commit | cba48b98f2348c814316c4b4f411a07a0e4a2bf9 (patch) | |
tree | 49c0426f8d41cb147722305c2c3495dd515c3253 /mm/fadvise.c | |
parent | mm: rename anon_vma_lock to vma_lock_anon_vma (diff) | |
download | linux-cba48b98f2348c814316c4b4f411a07a0e4a2bf9.tar.xz linux-cba48b98f2348c814316c4b4f411a07a0e4a2bf9.zip |
mm: change direct call of spin_lock(anon_vma->lock) to inline function
Subsitute a direct call of spin_lock(anon_vma->lock) with an inline
function doing exactly the same.
This makes it easier to do the substitution to the root anon_vma lock in a
following patch.
We will deal with the handful of special locks (nested, dec_and_lock, etc)
separately.
Signed-off-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Tested-by: Larry Woodman <lwoodman@redhat.com>
Acked-by: Larry Woodman <lwoodman@redhat.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions