Re: [PATCH] arch/tile: fix rwlock so would-be write lockers don't block new readers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cypher Wu
Date: Wednesday, November 24, 2010 - 9:37 am

2010/11/24 Chris Metcalf <cmetcalf@tilera.com>:

If wrap does occurr direct subtraction may cause problem, but
write_lock() is usually only lock very little code, and since two
issue of that call will take us so many cycles that one the same core
the time eslapsed will be enough that wrap will never occurr.


-- 
Cyberman Wu
http://www.meganovo.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] arch/tile: fix rwlock so would-be write locker ..., Cypher Wu, (Wed Nov 24, 9:37 am)