On Tue, 2 Nov 2004 23:42:53 -0300 (ART), Mauricio Lin <mauriciolin2000@xxxxxxxxxxxx> wrote: > I have implemented a function called resident_mem_size for kernel 2.6.1. We need to see at least the relevent line numbers of the source - can you forward the function in question please? > Nov 2 14:44:12 localhost kernel: EIP: 0060:[resident_mem_size+32/112] Not > tainted VLI The above line shows the line of your source which generated this NULL pointer deference. > Nov 2 14:44:12 localhost kernel: Call Trace: > > Nov 2 14:44:12 localhost kernel: [show_smap+75/592] show_smap+0x3b/0x130 > > Nov 2 14:44:12 localhost kernel: [mmput+31/176] mmput+0x1f/0xb0 > > Nov 2 14:44:12 localhost kernel: [seq_read+443/688] seq_read+0x1bb/0x2b0 That looks very odd. I don't see what mmput is doing there quite. Please send your source. Jon. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/