Re: spin_lock() and smp/multicall logic
From: Stephen Hemminger
Date: Thu Jan 08 2004 - 23:51:58 EST
john moser wrote:
As always, CC all replies back to me.
I'm looking at include/linux/spinlock.h and I'm incredibly confused on something.
Buggy implementation of run_once deleted
SO the two questions I'd like to address here are:
1) What is the purpose of spin_lock()
2) Am I the first person to come up with this method of non-parallel execution
guarentee?
You invented an unsafe version of monitor using spin-locks.
Go read a on SMP operating systems.
"UNIX(R) Systems for Modern Architectures: Symmetric Multiprocessing and
Caching for Kernel Programmers"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/