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

Re: runtimeimage of kernel module



Anumula Venkat wrote:
> 
> Hello Friends,
> 
>     Can anybody tell me how runtime image of kernel
> module will be formed ?
>      I know that all kernel modules will run in one
> address space. And for user level applications stack
> will be formed at 0xbfff.. ( something of this kind ).
> 
> My doubt is where does the stack will be formed for
> kernel modules ?

All kernel code runs in the context of the process
that's running when kernel mode is entered. That
means module code will execute using the kernel stack
of the current process.

Cheers,

-- Joe
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/