lkml.org 
[lkml]   [2014]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 0/2] staging: comedi: das16: fix some timer sync issues
Date
On Wednesday, October 29, 2014 10:35 AM, Ian Abbott wrote:
> "das16" uses a kernel timer but never removes it from the queue
> synchronously at the moment. Patch 1 makes sure this is done before it
> is destroyed. Patch 2 uses the comedi device's main spin-lock to ensure
> some state shared with the timer routine is updated in an SMP-safe
> manner.
>
> 1) staging: comedi: das16: deschedule timer routine on detach
> 2) staging: comedi: das16: use spin-lock when setting timer
>
> drivers/staging/comedi/drivers/das16.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)

Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>



\
 
 \ /
  Last update: 2014-10-31 17:41    [W:0.032 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site