diff options
author | Richard Braun <rbraun@sceen.net> | 2012-12-07 20:29:45 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-12-07 20:29:45 +0100 |
commit | 80f72c03069a8347ba43e127b21ffdc7d33823d3 (patch) | |
tree | 05ee662ff67babd4b875121214f06dc06f88aa4f /vm/vm_phys.c | |
parent | 4da4afcdd6a7e44205a0ba0fd609c98c75cf1826 (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_phys.c')
-rw-r--r-- | vm/vm_phys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/vm_phys.c b/vm/vm_phys.c index 14abf90e..cba286a2 100644 --- a/vm/vm_phys.c +++ b/vm/vm_phys.c @@ -155,6 +155,7 @@ vm_phys_init_page(struct vm_page *page, unsigned short seg_index, page->seg_index = seg_index; page->order = order; page->phys_addr = pa; + page->slab_priv = NULL; } static void __init |