shithub: riscv

Download patch

ref: 044d3e74eb7be6c3c9bb9b7a39d04c731467d109
parent: 858893ff8ff8d3abd06742276bcb794f3422bab8
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Dec 22 13:28:25 EST 2023

kernel: add pc field in QLock for debugging

Maintain a QLock.pc and RWLock.wpc field which is
the callerpc() of the last owner of the qlock/wlock.

The previous patch that set QLock.use.pc was
kind of nonsensical as it will get overridden
by the next attempt to acquire the qlock.