Konstantin Belousov c325e866f4 Different consumers of the struct vm_page abuse pageq member to keep
additional information, when the page is guaranteed to not belong to a
paging queue.  Usually, this results in a lot of type casts which make
reasoning about the code correctness harder.

Sometimes m->object is used instead of pageq, which could cause real
and confusing bugs if non-NULL m->object is leaked.  See r141955 and
r253140 for examples.

Change the pageq member into a union containing explicitly-typed
members.  Use them instead of type-punning or abusing m->object in x86
pmaps, uma and vm_page_alloc_contig().

Requested and reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
2013-08-10 17:36:42 +00:00
..
2013-07-17 01:34:25 +00:00
2013-04-30 18:29:05 +00:00
2013-06-29 19:57:57 +00:00
2013-05-13 20:03:59 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-06-02 18:10:16 +00:00
2013-02-19 18:22:25 +00:00
2013-04-14 09:55:48 +00:00
2012-11-23 19:20:38 +00:00
2013-05-10 16:41:26 +00:00
2013-07-12 21:36:29 +00:00
2013-04-28 20:55:45 +00:00
2013-03-01 01:42:31 +00:00
2013-02-19 19:25:50 +00:00
2013-07-07 19:47:22 +00:00
2013-07-20 07:24:01 +00:00
2013-04-14 09:55:48 +00:00
2013-05-10 16:41:26 +00:00
2013-02-21 12:40:52 +00:00
2013-06-17 20:11:04 +00:00
2013-06-28 14:41:06 +00:00
2013-08-03 21:24:52 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2012-10-10 08:36:38 +00:00
2012-10-10 08:36:38 +00:00
2013-04-14 09:55:48 +00:00
2012-10-10 08:36:38 +00:00
2013-06-17 20:11:04 +00:00
2013-07-27 20:47:01 +00:00