obj: object header is no longer allocated automatically
This commit is contained in:
@@ -22,7 +22,7 @@ kern_status_t object_type_register(struct object_type *p)
|
||||
spin_unlock_irqrestore(&object_types_lock, flags);
|
||||
|
||||
p->ob_cache.c_name = p->ob_name;
|
||||
p->ob_cache.c_obj_size = sizeof(struct object) + p->ob_size;
|
||||
p->ob_cache.c_obj_size = p->ob_size;
|
||||
p->ob_cache.c_page_order = VM_PAGE_16K;
|
||||
|
||||
vm_cache_init(&p->ob_cache);
|
||||
|
||||
Reference in New Issue
Block a user