summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_pageq.c
Commit message (Collapse)AuthorAgeFilesLines
* o Remove dead and/or unused code.alc2002-07-201-15/+1
|
* o Remove the acquisition and release of Giant from the idle priority threadalc2002-07-181-3/+0
| | | | | | | | | that pre-zeroes free pages. o Remove GIANT_REQUIRED from some low-level page queue functions. (Instead assertions on the page queue lock are being added to the higher-level functions, like vm_page_wire(), etc.) In collaboration with: peter
* Change callers of mtx_init() to pass in an appropriate lock type name. Injhb2002-04-041-1/+1
| | | | | | | most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64
* - Remove a number of extra newlines that do not belong here according toeivind2002-03-101-10/+5
| | | | | | | | | style(9) - Minor space adjustment in cases where we have "( ", " )", if(), return(), while(), for(), etc. - Add /* SYMBOL */ after a few #endifs. Reviewed by: alc
* o Create vm_pageq_enqueue() to encapsulate code that is duplicated timealc2002-03-041-4/+17
| | | | | | and again in vm_page.c and vm_pageq.c. o Delete unusused prototypes. (Mainly a result of the earlier renaming of various functions from vm_page_*() to vm_pageq_*().)
* Add a page queue, PQ_HOLD, that temporarily owns pages with nonzero holdtegge2002-02-191-0/+1
| | | | | | | | count that would otherwise be on one of the free queues. This eliminates a panic when broken programs unmap memory that still has pending IO from raw devices. Reviewed by: dillon, alc
* Reorg vm_page.c into vm_page.c, vm_pageq.c, and vm_contig.c (for contigmalloc).dillon2001-07-041-0/+233
Also removed some spl's and added some VM mutexes, but they are not actually used yet, so this commit does not really make any operational changes to the system. vm_page.c relates to vm_page_t manipulation, including high level deactivation, activation, etc... vm_pageq.c relates to finding free pages and aquiring exclusive access to a page queue (exclusivity part not yet implemented). And the world still builds... :-)
OpenPOWER on IntegriCloud