aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_page.h
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-21 10:06:24 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-21 10:06:24 +0000
commit41dbefba28ad1c4be8cb14d214c5aa668a68204a (patch)
tree920bb5ba48022dfa443fb014b9eedfa5fa10c23c /sys/vm/vm_page.h
parent060282de8acea72f9cb6d9d5e676606c7a83d4f9 (diff)
downloadsrc-41dbefba28ad1c4be8cb14d214c5aa668a68204a.tar.gz
src-41dbefba28ad1c4be8cb14d214c5aa668a68204a.zip
The TAILQ hashq has been turned into a singly-linked=list link,
reducing the size of vm_page_t. SWAPBLK_NONE and SWAPBLK_MASK are defined here. These actually are more generalized then their names imply, but their placement is somewhat of a legacy issue from a prior test version of this code that put the swapblk in the vm_page_t structure. That test code was eventually thrown away. The legacy remains. Added vm_page_flash() inline. Similar to vm_page_wakeup() except that it does not clear PG_BUSY ( one assumes that PG_BUSY is already clear ). Used by a number of routines to wakeup waiters. Collapsed some of the code in inline calls to make other inline calls. GCC will optimize this well and it reduces duplication. vm_page_free() and vm_page_free_zero() inlines added to convert to the proper vm_page_free_toq() call. vm_page_sleep_busy() inline added, replacing vm_page_sleep() ( which has been removed ). This implements a much more optimizable page-waiting function.
Notes
Notes: svn path=/head/; revision=42975
Diffstat (limited to 'sys/vm/vm_page.h')
-rw-r--r--sys/vm/vm_page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index f9e4926c7aed..685c53b66d6d 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_page.h,v 1.49 1999/01/08 17:31:28 eivind Exp $
+ * $Id: vm_page.h,v 1.50 1999/01/21 08:29:12 dillon Exp $
*/
/*