summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_pmemrange.h
AgeCommit message (Collapse)Author
2011-07-08Move uvm_pmr_alloc_pig to kern/subr_hibernate.cAriane van der Steldt
No callers, no functional change.
2011-07-08Move uvm_pmr_zero_everything() to subr_hibernate.Ariane van der Steldt
This function will probably die before ever being called from the in-tree code, since hibernate will move to RLE encoding. No functional change, function had no callers.
2011-07-08Expose pmemrange internal functions via pmemrange.h.Ariane van der Steldt
This is so I can move the pig allocator to subr_hibernate. No functional change.
2011-07-06uvm changes for buffer cache improvements.Bob Beck
1) Make the pagedaemon aware of the memory ranges and size of allocations where memory is being requested, and pass this information on to bufbackoff(), which will later (not yet) be used to ensure that the buffer cache gets out of the way in the right area of memory. Note that this commit does not yet make it *do* that - as currently the buffer cache is all in dma-able memory and it will simply back off. 2) Add uvm_pagerealloc_multi - to be used by the buffer cache code for reallocating pages to particular regions. much of this work by ariane, with smatterings of me, art,and oga ok oga@, thib@, ariane@, deraadt@
2011-04-03Helper functions for suspend.Ariane van der Steldt
Allow reclaiming pages from all pools. Allow zeroing all pages. Allocate the more equal pig. mlarking@ needs this. Not called yet. ok mlarkin@, theo@
2011-04-03Fix an #ifdef: uvm_pmr_isfree() is also used when DEBUG is definedPhilip Guenthe
Pointed out by Fred Crowson. ok ariane@
2010-04-22Committing on behalf or ariane@.Owain Ainsworth
recommit pmemrange: physmem allocator: change the view of free memory from single free pages to free ranges. Classify memory based on region with associated use-counter (which is used to construct a priority list of where to allocate memory). Based on code from tedu@, help from many. Useable now that bugs have been found and fixed in most architecture's pmap.c ok by everyone who has done a pmap or uvm commit in the last year.
2009-06-16Backout pmemrange (which to most people is more well known as physmemAriane van der Steldt
allocator). "i can't see any obvious problems" oga
2009-06-14back out the free vs dirty fix, because pmemrange will go soon tooTheo de Raadt
2009-06-10Fix: Clean and dirty pages had the memtype ids and the desparate case failedAriane van der Steldt
to function properly in the fast-allocation path (should not have triggered). ok: oga, deraadt
2009-06-01physmem allocator: change the view of free memory from single free pagesAriane van der Steldt
to free ranges. Classify memory based on region with associated use-counter (which is used to construct a priority list of where to allocate memory). Based on code from tedu@, help from many. Ok art@