mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "kalash nainwal" <nirvana.code@gmail.com>
To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: wake_up() takes long time to return
Date: Sat, 20 Jan 2007 15:54:00 +0530	[thread overview]
Message-ID: <e92e3a770701200224n42c948d5oe75aa5eb907e9786@mail.gmail.com> (raw)

Hi there,

We've a kernel (n/w) module, which sits over ethernet. Whenever a pkt
is received (in softirq), after doing some minimal processing,
wake_up() is called to wake up another kernel thread which does rest
(bulk) of the processing.

We notice that this wake_up() call is sometimes taking as long as 48
milli-seconds to return. This happens around 10 times out of 10M. We
earlier thought its possibly because of the contention on rq->lock,
but we see the same phenomenon even on a uniprocessor box. So obviosly
thats not the case.

We can't figure out any other reason for wake_up() to take this much
time? As this call comes directly in our (receive) hotpath, we're very
concerned. Any help would be greatly appreciated.

Thanks and regards,
-Kalash

             reply	other threads:[~2007-01-20 10:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-20 10:24 kalash nainwal [this message]
2007-01-20 14:47 ` Arjan van de Ven
2007-01-22  9:26   ` kalash nainwal

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=e92e3a770701200224n42c948d5oe75aa5eb907e9786@mail.gmail.com \
    --to=nirvana.code@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.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

all inboxes | Powered by JetHome®