kmem_cache_alloc & kernel_lock

Frank Cornelis
2001-12-09T15:30:38Z

Hi,

Can I use kmem_cache_alloc(mycache_cachep, SLAB_KERNEL) within
a kernel_lock/kernel_unlock block? Or should it be SLAB_ATOMIC?

Thanks in advance?

Frank.