aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_page.h
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2010-07-02 15:02:51 +0000
committerAlan Cox <alc@FreeBSD.org>2010-07-02 15:02:51 +0000
commit9cf5198832cd363dc3f68b2126fc13f6fec64ee6 (patch)
treefb5f25775173492a3b45324086efae1cc889215e /sys/vm/vm_page.h
parent70b0d39bbcdfae30f1861990fa796e8874af23ef (diff)
downloadsrc-9cf5198832cd363dc3f68b2126fc13f6fec64ee6.tar.gz
src-9cf5198832cd363dc3f68b2126fc13f6fec64ee6.zip
With the demise of page coloring, the page queue macros no longer serve any
useful purpose. Eliminate them. Reviewed by: kib
Notes
Notes: svn path=/head/; revision=209647
Diffstat (limited to 'sys/vm/vm_page.h')
-rw-r--r--sys/vm/vm_page.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index ee2f8d86438f..54b9edd9d98e 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -153,18 +153,6 @@ struct vm_page {
#define PQ_HOLD 3
#define PQ_COUNT 4
-/* Returns the real queue a page is on. */
-#define VM_PAGE_GETQUEUE(m) ((m)->queue)
-
-/* Returns the well known queue a page is on. */
-#define VM_PAGE_GETKNOWNQUEUE2(m) VM_PAGE_GETQUEUE(m)
-
-/* Returns true if the page is in the named well known queue. */
-#define VM_PAGE_INQUEUE2(m, q) (VM_PAGE_GETKNOWNQUEUE2(m) == (q))
-
-/* Sets the queue a page is on. */
-#define VM_PAGE_SETQUEUE2(m, q) (VM_PAGE_GETQUEUE(m) = (q))
-
struct vpgqueues {
struct pglist pl;
int *cnt;