]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit89d09a2c80ea6baafb559b86d545fada05e14ab5
tree90ff3c2a62c144b93c89b33d66583046f1a7efae
parent6eb396dc4a9781c5e7951143ab56ce5710687ab3
[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