Skip to contentSkip to conversation

What happened in remove bust_spinlocks(0) in mips history?

DISCUSSION Wentao Guan 1 participant 1 message Oct 22, 2025 MIPS

lore
Share & tools
lore
#0 lore raw

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