[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <loom.20080917T072423-185@post.gmane.org>
Date: Wed, 17 Sep 2008 07:35:04 +0000 (UTC)
From: Andrew Paprocki <andrew@...iboo.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH 0/1]: timers: Timer Migration
Peter Zijlstra <a.p.zijlstra <at> chello.nl> writes:
> This seems like an exceedingly dumb idea - cpu 0 might be a long long
> way from x and by pushing all timers to cpu0 you might actually overload
> cpu 0.
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists