From: loody <miloody@gmail.com>
To: Muthu Kumar <muthu.lkml@gmail.com>
Cc: Chris Friesen <chris.friesen@genband.com>, linux-kernel@vger.kernel.org
Subject: Re: how to find a task through name faster?
Date: Tue, 12 Jul 2011 03:39:05 +0800 [thread overview]
Message-ID: <CANudz+uMcN=P78QGV38_X8-m0dzk8g2NHgt2Gejoe1rB47bR8Q@mail.gmail.com> (raw)
In-Reply-To: <CAFR8uefOCHxcyQJb3hSmjM9oWeLgvRzUbUG-Y6qOBwr6Lmk=ig@mail.gmail.com>
hi:
2011/7/12 Muthu Kumar <muthu.lkml@gmail.com>:
> Let me ask a trivial question: Should this be done in kernel? Can't
> you push it to user space and walk the /proc to find if the process is
> there.
The root file system is fixed, that means I cannot add any program as I want.
BTW, will that be faster is run a user mode program to walk through /proc?
it still need to search one by one, right?
Thanks for your reply.
BR,
next prev parent reply other threads:[~2011-07-11 19:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CANudz+sqkachOT7r9=-rc98nCEO_QOCx7KiBi5=NWaj5exmEPA@mail.gmail.com>
2011-07-11 16:52 ` how to find a task through name faster? loody
2011-07-11 17:51 ` Chris Friesen
2011-07-11 17:57 ` loody
2011-07-11 18:23 ` Muthu Kumar
2011-07-11 19:39 ` loody [this message]
2011-07-11 19:55 ` Chris Friesen
2011-07-11 20:16 ` Jiri Slaby
2011-07-13 7:55 ` loody
2011-07-13 9:21 ` Jiri Slaby
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='CANudz+uMcN=P78QGV38_X8-m0dzk8g2NHgt2Gejoe1rB47bR8Q@mail.gmail.com' \
--to=miloody@gmail.com \
--cc=chris.friesen@genband.com \
--cc=linux-kernel@vger.kernel.org \
--cc=muthu.lkml@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.