Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it safe to grab the global kernel lock multiple times?

global grab Kernel lock safe times
0
Posted

Is it safe to grab the global kernel lock multiple times?

0

• (REG) Yes. The global kernel lock is recursive per process. That means a process can grab the lock multiple times and not deadlock. The lock is released when unlock_kernel() is called as many times as lock_kernel() was called.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.