Re: Spawning and managing userprocess from kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Yes, yes, I know this will be a lot simpler in user-space, but, if i trying to do this in kernel space, it is not because I'm masochist, but because I need it. If this is not possible or, it is really too difficult I will try to do otherwise, but I want to be sure before changing my plans. Say that i'm a heretic if I want to do that, or say it could be done this way or that way if you have some solutions :-)

Aurélien


Peter Teoh a écrit :
On Mon, Sep 1, 2008 at 9:48 AM, Mulyadi Santosa
<mulyadi.santosa@xxxxxxxxx> wrote:
Hi
What you're trying to do is whole lot easier and less complex if you
do it (mostly) in user space.Do fork(), then probably coordinate via
mutex, signal or simply do wait().

Please notice that I don't say you're wasting your time, I just think
it's not something that should be managed by kernel space.

So, I think you should go with (3). Good luck man!

regards,

Mulyadi.

yes....i think so too....anything in kernel always has to wory about
SMP race condition, scheduling of processes, not hogging the use of
resources etc etc....because u are controlling everything.   so it is
rather complex.   but userspace is so much simpler and easier.

well...life is short, go for the simplest solution....



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux