From: Nish Aravamudan <nish.aravamudan@gmail.com>
To: "Mukund JB." <mukundjb@esntechnologies.co.in>
Cc: Adrian Bunk <bunk@stusta.de>, linux-kernel@vger.kernel.org
Subject: Re: Comments on 2.6.10 schedule_timeout please
Date: Mon, 7 Nov 2005 06:53:30 -0800 [thread overview]
Message-ID: <29495f1d0511070653w634784f7x51fcd62eebb386d7@mail.gmail.com> (raw)
In-Reply-To: <3AEC1E10243A314391FE9C01CD65429B13B2CE@mail.esn.co.in>
On 11/7/05, Mukund JB. <mukundjb@esntechnologies.co.in> wrote:
>
> Dear Kernel Developers,
>
> I have noticed the schedule_timeout behaving somewhat different as penned
> from the Linux 2.6 Oreelly books.
> I have developed a SD card Driver for 2.6.10 kernel & it works fine.
> I needed a hardware reg to update that take a time of 300ms. I have issued a
> call like..
>
> set_current_state(TASK_INTERRUPTIBLE);
> schedule_timeout (300*HZ/1000);
Full code or function snippet, please.
> But, when I finally use it I get a sufficient delay which looks like a looped delay
> not allowing the keyboard to print messages on the screen.
This would be easier to diagnose if you shared all of the code you are
using *and* verified this occurred with a current kernel (2.6.10 is
old.).
Thanks,
Nish
next prev parent reply other threads:[~2005-11-07 14:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-07 13:57 Mukund JB.
2005-11-07 14:53 ` Nish Aravamudan [this message]
2005-11-07 16:04 Mukund JB.
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=29495f1d0511070653w634784f7x51fcd62eebb386d7@mail.gmail.com \
--to=nish.aravamudan@gmail.com \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mukundjb@esntechnologies.co.in \
/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®