Re: spinlock vs. spinlock_deprecated, what's the difference

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernel@...>
Date: Sunday, July 20, 2008 - 2:10 pm

: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@backplane.com>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: spinlock vs. spinlock_deprecated, what's the difference, Matthew Dillon, (Sun Jul 20, 2:10 pm)