Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 4ff51f3780f92f66c995e276fea8b49f5a02b889
      
https://github.com/tianocore/edk2/commit/4ff51f3780f92f66c995e276fea8b49f5a02b889
  Author: Gerd Hoffmann <[email protected]>
  Date:   2025-12-04 (Thu, 04 Dec 2025)

  Changed paths:
    M OvmfPkg/Library/MemDebugLogLib/MemDebugLogCommon.c

  Log Message:
  -----------
  OvmfPkg/MemDebugLogLib: use AcquireSpinLockOrFail

Drop log lines if we can't get the spin lock.  Not nice, but better than
risking a deadlock.

Some background:  Most of edk2 runs single-threaded on the BSP, so if
something holds the lock it is rather unlikely that waiting is going to
help.  Specifically I think a deadlock can happen if (a) a timer
interrupt arrives while the lock is held, and (b) some higher-TPL timer
handler tries to print something to the debug log.

Signed-off-by: Gerd Hoffmann <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to