Is it ok to take spinlock_irqsave in process context?

338 views Asked by At

Few questions - Is it ok to take spinlock_irqsave in process context ?? Can we do kmalloc or mempool_alloc with gfp_kernel flag inside the spin_lock or spin_lockirqsave in process context .? I think we can not but what problems it can create?? Can we take read_lock and write_lock inside spin_lock or spin_lockirqsave ??

0

There are 0 answers