Re: [RFC PATCH 0/1]: timers: Timer Migration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Paprocki
Date: Wednesday, September 17, 2008 - 12:35 am

Peter Zijlstra <a.p.zijlstra <at> chello.nl> writes:


You have to give credit to Solaris for doing that first :). They implemented
usleep() using nanosleep() which uses the kernel callout queue. That queue is
single threaded and only processed on CPU0 in the clock interrupt handler,
causing CPU0 to spin 100% if enough calls to usleep() are made across the system.

http://bugs.opensolaris.org/view_bug.do?bug_id=6565503

-Andrew

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

Messages in current thread:
Re: [RFC PATCH 0/1]: timers: Timer Migration, Andrew Paprocki, (Wed Sep 17, 12:35 am)