If another CPU holds the kernel lock, we spin until it has released it,
just as any other spinlock (<asm-i386/smplock.h>). lock_kernel prevents
any other processor from simultaneously executing any other code that
is also protected by the big kernel lock.
spinning means constantly polling a lock until it's available.
-- Matthew Wilcox <willy@bofh.ai> "Windows and MacOS are products, contrived by engineers in the service of specific companies. Unix, by contrast, is not so much a product as it is a painstakingly compiled oral history of the hacker subculture." - N Stephenson- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/