Re: [PATCH] De-macro spin_trylock_irq, spin_trylock_irqsave, write_trylock_irqsave

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Weiner
Date: Saturday, August 16, 2008 - 2:18 pm

Hi,

Alexey Dobriyan <adobriyan@gmail.com> writes:


I would also prefer to maintain symmetry here.  Your argument is moot,
why diverge a small part of one API just because it is not used much?

Everyone using the spin_lock functions learns the weird interface pretty
fast.  If you are in a rare situation where you have to use the trylock
versions, you would really expect them to be used equivalently.

It is weird but diverging it doesn't make it any better.


I agree that this argument of Ingo's is not a very good one... ;)

	Hannes
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] De-macro spin_trylock_irq, spin_trylock_irqsav ..., Johannes Weiner, (Sat Aug 16, 2:18 pm)