kernel code reading: pci hotplug
kernel code test: ida example

ida rely on idr. The behavior looks same to me.
kernel code reading: some reading on kmem_cache and slub