]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] swap: freeing update swap_list.next
authorHugh Dickins <hugh@veritas.com>
Sat, 3 Sep 2005 22:54:36 +0000 (15:54 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:41 +0000 (00:05 -0700)
commit9a20f6f51d43ae98806581912a61a60dc663754f
tree90ff3c2a62c144b93c89b33d66583046f1a7efae
parent3467a23e0091f0e358895eaa3ae78fca5125733e
[PATCH] swap: freeing update swap_list.next

This makes negligible difference in practice: but swap_list.next should not be
updated to a higher prio in the general helper swap_info_get, but rather in
swap_entry_free; and then only in the case when entry is actually freed.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/swapfile.c