question regarding down_interruptible

Mulyadi Santosa mulyadi.santosa at gmail.com
Tue Apr 5 02:24:40 EDT 2011


On Tue, Apr 5, 2011 at 10:37, Vijay Ram Chitrapu
<chitrapu.vijayram at gmail.com> wrote:
> Thanks Dave for that reply.
> While i try out registering handlers for all possible signals, I
> forgot to mention this point in my previous email.
>
> The userspace is waiting on a select call. As per the system design,
> the kernel module interrupts when there is a data intended to the user
> (via poll in kernel). If this could be the cause for the userspace
> getting a signal, then typically what signal is generated to the
> process to invoke select to inform that the I/O is ready. Is it SIGIO?

it's select() right? no async I/O? well,then AFAIK it;s not
signal...the blocking process is scheduled back to run queue and
scheduler kicks in...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list