summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-05-12 20:42:56 +0000
committerkib <kib@FreeBSD.org>2012-05-12 20:42:56 +0000
commit9ff1ec42a4c0d37d3675e60e7b68cae42df1a954 (patch)
tree0b49fefb6622aaedac7bf526163774e487e14627 /share
parent1ad1048d19f6c3f268b6cd701a9aa01021fea708 (diff)
downloadFreeBSD-src-9ff1ec42a4c0d37d3675e60e7b68cae42df1a954.zip
FreeBSD-src-9ff1ec42a4c0d37d3675e60e7b68cae42df1a954.tar.gz
Add a facility to register a range of physical addresses to be used
for allocation of fictitious pages, for which PHYS_TO_VM_PAGE() returns proper fictitious vm_page_t. The range should be de-registered after consumer stopped using it. De-inline the PHYS_TO_VM_PAGE() since it now carries code to iterate over registered ranges. A hash container might be developed instead of range registration interface, and fake pages could be put automatically into the hash, were PHYS_TO_VM_PAGE() could look them up later. This should be considered before the MFC of the commit is done. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud