lkml.org 
[lkml]   [2014]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 0/5] ia64 ski emulator patches
Mikulas Patocka writes:
>
>
> On Sat, 25 Jan 2014, Mikael Pettersson wrote:
>
> > My ski patches are in <http://user.it.uu.se/~mikpe/linux/patches/ia64/ski-1.3.2/>
> > for now. I'll post the kernel patches to linux-ia64 @ vger in a few minutes.
> >
> > /Mikael
>
> Thanks for the patches.
>
> Isn't this subject to races? - could it lock up if the signal happens just
> before the pause syscall?
>
> + case SSC_HALT_LIGHT:
> + /* Sleep until SIGIO or SIGALRM is received; this relies on
> + keyboard/ethernet input being detected via SIGIO, and the
> + ITC now being emulated via setitimer() and SIGALRM. */
> + pause ();
> + break;
> +

Thanks for the review. You're right, the pause mustn't happen if
itc_itimer_fired == 1. Let me ponder this for a while...

/Mikael


\
 
 \ /
  Last update: 2014-01-25 22:21    [W:0.040 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site