lkml.org 
[lkml]   [2015]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 20/35] clockevents: Provide explicit broadcast oneshot control function
* Peter Zijlstra <peterz@infradead.org> [150216 05:13]:
> From: Thomas Gleixner <tglx@linutronix.de>
>
> clockevents_notify() is a leftover from the early design of the
> clockevents facility. It's really not a notification mechanism, it's a
> multiplex call. We are way better off to have explicit calls instead of this
> monstrosity.
>
> Split out the broadcast oneshot control into a separate function and
> provide inline helpers. Switch clockevents_notify() over. This will go
> away once all callers are converted.
>
> This also gets rid of the nested locking of clockevents_lock and
> broadcast_lock. The broadcast oneshot control functions do not require
> clockevents_lock. Only the managing functions
> (setup/shutdown/suspend/resume of the broadcast device require
> clockevents_lock.

Still works for me:

Tested-by: Tony Lindgren <tony@atomide.com>


\
 
 \ /
  Last update: 2015-02-24 02:01    [W:0.686 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site