kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: mulyadi.santosa@gmail.com (Mulyadi Santosa)
To: kernelnewbies@lists.kernelnewbies.org
Subject: question regarding down_interruptible
Date: Tue, 5 Apr 2011 13:24:40 +0700	[thread overview]
Message-ID: <BANLkTim0AVejMp=vx4JVfQtY2h5FWrA=Ng@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=tRUQNugQ4_iacrMWWvD3g_CPDEw@mail.gmail.com>

On Tue, Apr 5, 2011 at 10:37, Vijay Ram Chitrapu
<chitrapu.vijayram@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

      reply	other threads:[~2011-04-05  6:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04  4:27 question regarding down_interruptible Vijay Ram Chitrapu
2011-04-04 15:48 ` Dave Hylands
2011-04-05  3:37   ` Vijay Ram Chitrapu
2011-04-05  6:24     ` Mulyadi Santosa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTim0AVejMp=vx4JVfQtY2h5FWrA=Ng@mail.gmail.com' \
    --to=mulyadi.santosa@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).