mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
[kernel] Move slab_allocated items to the heap
Allocate the slabs for slab-allocated items to the heap, now that heap regions are aligned. This also lets the slab sizes be non-page-sized.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <util/map.h>
|
||||
#include <util/spinlock.h>
|
||||
|
||||
#include "memory.h"
|
||||
#include "objects/kobject.h"
|
||||
#include "slab_allocated.h"
|
||||
#include "wait_queue.h"
|
||||
@@ -79,7 +80,7 @@ private:
|
||||
|
||||
|
||||
struct mailbox::message :
|
||||
public slab_allocated<message, 1>
|
||||
public slab_allocated<message, mem::frame_size>
|
||||
{
|
||||
uint64_t tag;
|
||||
uint64_t subtag;
|
||||
|
||||
Reference in New Issue
Block a user