* What happened in remove bust_spinlocks(0) in mips history?
@ 2025-10-22 15:01 Wentao Guan
0 siblings, 0 replies; only message in thread
From: Wentao Guan @ 2025-10-22 15:01 UTC (permalink / raw)
To: linux-mips
Hello,
I found some arch use bust_spinlocks(1) and not use bust_spinlocks(0),
more interesting is mips64, in history.git I fount that commit
f19e2d9e9eb42 ("[PATCH] MIPS merge, generic mips64 bits.")
do_page_fault(struct pt_regs *regs, unsigned long write, unsigned long address)
bust_spinlocks(1);
printk(KERN_ALERT "Cpu %d Unable to handle kernel paging request at "
- "address %08lx, epc == %08x, ra == %08x\n",
- smp_processor_id(), address, (unsigned int) regs->cp0_epc,
- (unsigned int) regs->regs[31]);
- die("Oops", regs, write);
- do_exit(SIGKILL);
- bust_spinlocks(0);
+ "address %016lx, epc == %016lx, ra == %016lx\n",
+ smp_processor_id(), address, regs->cp0_epc, regs->regs[31]);
+ die("Oops", regs);
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/?id=f19e2d9e9eb42
Wentao Guan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-10-22 15:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-22 15:01 What happened in remove bust_spinlocks(0) in mips history? Wentao Guan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).