mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sounak chakraborty <sounakrin@yahoo.co.in>
To: Oliver Neukum <oliver@neukum.org>,
	linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: sched.c  function
Date: Thu, 24 Mar 2005 09:33:51 +0000 (GMT)	[thread overview]
Message-ID: <20050324093352.43916.qmail@web53307.mail.yahoo.com> (raw)
In-Reply-To: 6667



> What exactly do you want to know about the
> scheduler?
> 
I had a wild idea  to process one function that
repeatedly checks the task list and find out which
process is in which state 

At first i retrieve the information from fork.c in
do_fork() and exit.x in do_exit()
but the problem it showed me is that the information
of the task at the beginnig and at the
end(termination)

but the process may be in different states at
different moment in between these two extremes(start
-- end)

So how to know that .

I can  run for_each process after certain interval of
time , but rather than using timer i thought to set a
value or call the function (for_each_process) whenever
sheduling occurs(that is some process is going to
sleep and some are awakening) that is i am getting
some changes in the task list after that..

is my approch is correct ?
or should i implement timer ?
plz help me 

i am sorry if some of my concepts are wrong as i am
new to kernel and would be obliged if you correct me
thank for your help 
sounak  

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/

             reply	other threads:[~2005-03-24  9:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-24  9:33 sounak chakraborty [this message]
2005-03-24  9:42 ` Jan Engelhardt
  -- strict thread matches above, loose matches on Subject: below --
2005-03-24 11:03 sounak chakraborty
2005-03-24 12:06 ` Jan Engelhardt
2005-03-24 16:40   ` Lee Revell
2005-03-24  4:43 sounak chakraborty
2005-03-24  7:00 ` Jan Engelhardt

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=20050324093352.43916.qmail@web53307.mail.yahoo.com \
    --to=sounakrin@yahoo.co.in \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver@neukum.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

Powered by JetHome