> > even if you never sleep, our kernel_map is not interrupt safe. > > > > Yes, but the KM_NOSLEEP flag could be a hint to use an interrupt safe map. i don't think it's a good idea because it implies to make kmem_free complicate. ie. it has to figure out which map the region should be freed back to. YAMAMOTO Takashi