]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix-up r254141: in the process of making a failing vm_page_rename()
authorAttilio Rao <attilio@FreeBSD.org>
Fri, 14 Feb 2014 03:34:12 +0000 (03:34 +0000)
committerAttilio Rao <attilio@FreeBSD.org>
Fri, 14 Feb 2014 03:34:12 +0000 (03:34 +0000)
commit14a5dc17808ca2642dac9d987b79f594b8ef8a21
tree9d1b74dd3ae6eed80aee83e736d29f7790257b26
parenta999ce6abfea56e1b8a31d0015f9cfb2185b383a
Fix-up r254141: in the process of making a failing vm_page_rename()
a call of pager_swap_freespace() was moved around, now leading to freeing
the incorrect page because of the pindex changes after vm_page_rename().

Get back to use the correct pindex when destroying the swap space.

Sponsored by: EMC / Isilon storage division
Reported by: avg
Tested by: pho
MFC after: 7 days
sys/vm/vm_object.c