Mark Johnston 84242cf68a Call swap_pager_freespace() from vm_object_page_remove().
All vm_object_page_remove() callers, except
linux_invalidate_mapping_pages() in the LinuxKPI, free swap space when
removing a range of pages from an object.  The LinuxKPI case appears to
be an unintentional omission that could result in leaked swap blocks, so
unconditionally free swap space in vm_object_page_remove() to protect
against similar bugs in the future.

Reviewed by:	alc, kib
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25329
2020-06-25 15:21:21 +00:00
..
2020-06-19 18:34:27 +00:00
2020-02-13 19:07:42 +00:00
2020-04-18 02:53:19 +00:00
2020-03-30 16:04:25 +00:00
2020-06-15 16:35:27 +00:00
2020-06-19 19:26:55 +00:00
2020-04-18 02:52:59 +00:00
2020-02-12 00:58:17 +00:00
2020-06-22 07:46:24 +00:00
2020-03-30 16:04:25 +00:00
2020-06-14 16:47:16 +00:00
2020-03-24 21:28:48 +00:00
2020-04-18 02:53:09 +00:00
2020-05-20 08:15:09 +00:00
2020-06-05 04:24:34 +00:00
2020-06-21 03:39:26 +00:00
2020-02-07 19:53:07 +00:00
2020-06-18 23:57:10 +00:00
2020-04-18 02:53:04 +00:00
2020-06-15 16:35:27 +00:00
2020-03-30 16:04:25 +00:00
2020-02-07 19:53:07 +00:00
2020-05-10 14:09:30 +00:00
2020-05-11 20:30:28 +00:00
2020-02-27 15:25:31 +00:00
2020-06-14 16:47:16 +00:00
2020-02-27 15:25:21 +00:00
2020-04-18 02:53:14 +00:00
2020-06-16 01:11:40 +00:00
2020-03-30 16:04:25 +00:00
2020-03-04 22:31:41 +00:00