diff options
author | Hugh Dickins <hugh@veritas.com> | 2007-07-19 10:49:11 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 19:04:50 +0200 |
commit | 7ed5cb2b73d0c4165c0504c95454fade0c0bf3d9 (patch) | |
tree | 37b15b57986466531c5a0debb6b52660ca47e86a /net | |
parent | isdn/sc: compile breakage re check_reset() (diff) | |
download | linux-7ed5cb2b73d0c4165c0504c95454fade0c0bf3d9.tar.xz linux-7ed5cb2b73d0c4165c0504c95454fade0c0bf3d9.zip |
Remove nid_lock from alloc_fresh_huge_page
The fix to that race in alloc_fresh_huge_page() which could give an illegal
node ID did not need nid_lock at all: the fix was to replace static int nid
by static int prev_nid and do the work on local int nid. nid_lock did make
sure that racers strictly roundrobin the nodes, but that's not something we
need to enforce strictly. Kill nid_lock.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions