freebsd-skq/sys/amd64
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
..
acpica Consistently use round_page(x) rather than roundup(x, PAGE_SIZE). There is 2013-02-15 22:43:08 +00:00
amd64 Different consumers of the struct vm_page abuse pageq member to keep 2013-08-10 17:36:42 +00:00
conf follow up to r254051 2013-08-09 08:11:09 +00:00
ia32 Use slightly more idiomatic expression to get the address of array. 2013-05-27 18:39:39 +00:00
include Change the pmap_ts_referenced() method of amd64 pmap to use shared 2013-08-07 16:33:15 +00:00
linux32 Retire write-only PCB_GS32BIT pcb flag on amd64. 2013-05-09 21:42:43 +00:00
pci Remove duplicate code. Reduce diff between amd64 and i386. 2012-12-01 00:56:19 +00:00
vmm Follow-up commit to fix CR0 issues. Maintain 2013-08-03 03:16:42 +00:00
Makefile