From: Ran Shalit <ranshalit@gmail.com>
To: kernelnewbies <kernelnewbies@kernelnewbies.org>,
linux-pm@vger.kernel.org, linux-omap@vger.kernel.org
Subject: understanding cpuidle
Date: Thu, 16 Oct 2014 10:42:09 +0300 [thread overview]
Message-ID: <CAJ2oMhK_BccGQe9m1bHAc4St_jaBfaSFvyPnTRKxJwzGkfk-6Q@mail.gmail.com> (raw)
Hello,
I try to understand the cpuidle main concept but have some
difficulties. I could not find any documentation to explain the
cpuidle.
what does it mean that it enters idle when "no thread to run" ?if I
have only one process which does only
while(1)
{
printf("C");
mdelay(1000);
}
Can I expect it to enter idle for 1 second and then print "C" and get
again to idle ?
Thanks
Ran
next reply other threads:[~2014-10-16 7:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-16 7:42 Ran Shalit [this message]
2014-10-21 11:33 ` understanding cpuidle Arun KS
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=CAJ2oMhK_BccGQe9m1bHAc4St_jaBfaSFvyPnTRKxJwzGkfk-6Q@mail.gmail.com \
--to=ranshalit@gmail.com \
--cc=kernelnewbies@kernelnewbies.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-pm@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;
as well as URLs for NNTP newsgroup(s).