If I understand correctly, kernel/trunk/bus/usb/memory.inc has implementation of a slab allocator. Namely, usb_allocate_common and usb_free_common.
I need such an allocator for many (~10k) small (~64B) fixed-size ACPI namespace objects, and therefore I want to
- move its code to, say, kernel/trunk/core/slab.inc,
- rename usb_allocate_common / usb_free_common to slab_alloc / slab_free.
Patch for curious is attached.