summaryrefslogtreecommitdiff
path: root/vm/vm_page.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-12-07 20:29:45 +0100
committerRichard Braun <rbraun@sceen.net>2012-12-07 20:29:45 +0100
commit80f72c03069a8347ba43e127b21ffdc7d33823d3 (patch)
tree05ee662ff67babd4b875121214f06dc06f88aa4f /vm/vm_page.h
parent4da4afcdd6a7e44205a0ba0fd609c98c75cf1826 (diff)
kern/kmem: rework buffer-to-slab lookup
Instead of using a red-black tree, rely on the VM system to store kmem specific private data.
Diffstat (limited to 'vm/vm_page.h')
-rw-r--r--vm/vm_page.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/vm_page.h b/vm/vm_page.h
index e5ad8fc5..205f3d2f 100644
--- a/vm/vm_page.h
+++ b/vm/vm_page.h
@@ -42,6 +42,7 @@ struct vm_page {
unsigned short seg_index;
unsigned short order;
phys_addr_t phys_addr;
+ void *slab_priv;
};
static inline phys_addr_t