vfree with remaps current?

2009-03-26 Thread Andrew Malton
My loadable module registers its protocol family and creates sockets. I provide protocol operations, bind(), release(), and mmap (). The mmap handler uses remap_vmalloc_range to share a common vmallocation between users. It works. I want to be able to shut down cleanly, for system shutdow

Re: understanding the linux code

2009-03-26 Thread Leandro Dorileo
Hi On Thu, Mar 26, 2009 at 2:12 AM, krushnaal pai wrote: > can someone plz tell me how to understand the linux hardware dependent code > > when we analyse all the functions that are nested one into another > we finally arrive at the inline functions and macros ,so how do > we understand those fun

Re: Sending Signal to a user thread from kernel

2009-03-26 Thread Devesh Sharma
hello rizz, thanks for replying, can you tell me about the difference b/w sending a signal using kill_proc_info() and using the kill_fasync() call? which one will be faster? On Thu, Mar 26, 2009 at 10:58 AM, Rizvan wrote: > On Wed, Mar 25, 2009 at 10:17 PM, Devesh Sharma wrote: >> Hello list, >

Re: question about mapping RAM into user space.

2009-03-26 Thread Peter Chen
Hi, I use remap_pfn_range to do mmap, and it can work. Best Regards, Peter Chen On Thu, 2009-03-26 at 14:03 +0800, yihect wrote: > It seems the mux_vma_nopage() operation hadn't been called. > - Original Message - > From: yihect > To: kernelnewbie > Cc

Re: understanding the linux code

2009-03-26 Thread debian developer
On Thu, Mar 26, 2009 at 11:42 AM, krushnaal pai wrote: > can someone plz tell me how to understand the linux hardware dependent code csope? > > when we analyse all the functions that are nested one into another > we finally arrive at the inline functions and macros ,so how do > we understand thos