Re: how to find a task through name faster?

From: loody
Date: Mon Jul 11 2011 - 15:39:15 EST


hi:

2011/7/12 Muthu Kumar <muthu.lkml@xxxxxxxxx>:
> 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,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/