Re: Difference between process & kernel module

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

 



On Wed, 29 Sep 2004 11:35:06 +0530, Rakesh Jagota
<j.rakesh@xxxxxxxxxxxxx> wrote:
> 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?

IIUC a kernel module uses the kernel's stack and heap.  And because of
this modules which use a lot of stack space can cause some serious
problems.

> 
> 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/
> 
> 



-- 
Brandon Niemczyk
http://bniemczyk.doesntexist.com

--
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