spinlock vs. spinlock_deprecated, what's the difference

Matthew Dillon dillon at apollo.backplane.com
Sun Jul 20 11:13:24 PDT 2008


:What difference is there supposed to be between 'struct spinlock' and 
:'struct spinlock_deprecated'?

    spinlock_deprecated is the 'old' spinlock code that bits of the
    really low level kernel console support still uses, and a few other
    things.  No new code should use those APIs.

    The spinlock structure and related code is our official spinlock
    implementation.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Kernel mailing list