RE: Difference between process & kernel module

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

 



Well Process is an entity running over the kernel in user space, where
as module is a service provider in the kernel which become a part of
kernel and is used by user process thru system calls ...... so module
does not run as a process it is used by process to perform some actions
in kernel space. For e.g. device driver module in kernel are called when
a device file is opened, read, write or any other action performed on
device file.

Cheers !!
Gaurav

 


-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx
[mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Rakesh Jagota
Sent: Wednesday, September 29, 2004 11:35 AM
To: kernelnewbies@xxxxxxxxxxxx
Subject: Difference between process & kernel module

Hi all,
what is the difference between provcess and kernel module? As process
contains text, data, bss, stack & heap, Will all this present for kernel
Module also?  asking silly Q?

Is it possible to do like whatever we are doing inside the process, can
we
do the same in the kernel module.

Thanks,
rakesh


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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