SEARCH  

NEWS

2010.10.06:11:36:28
Samochód w firmie - dodatek CD do Dziennika Gazety Prawnej
W środę, 6 października do „Dziennika Gazety Prawnej” dołączona zostanie płyta w całości poświęcona zagadnieniu użytkowania auta w firmie.

 

messageID:594060007908
author:Russell King ARM Li
title:RE Problem in input device module creation
Hi Russell Thanks for your reply, Pls find the code attached regards.. Prafulla . . -----Original Message----- From: Russell King - ARM Linux [ rel="nofollow" mailto:linux@xxxxxxxxxxxxxxxx mailto:linux@xxxxxxxxxxxxxxxx ] Sent: Thursday, July 06, 2006 3:07 PM To: Prafulla WADASKAR Cc: linux-arm@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Profiling code on ARM Linux - gprof and timer questions On Thu, Jul 06, 2006 at 02:56:17PM +0530, Prafulla WADASKAR wrote: Hi I am writing a keypad module (device driver for linux input subsystem) for STs Nomadik platform based on arm arch. My problem is- I have used input_allocate_device() in mdule init function if I use kfree() in module exit function to free used memory by module. Module gives page fault durring next insmod operation. why is it so? If I dont free the memory in exit function module works fine for sucessive insmod/rmmod operations but leads to memory leak as we know we are not freeing it Show the code. What is problem? how to solve it? No idea without seeing the code. Attachment: bin03nBmI5sE0.bin" >nomadik_kpd.c Description: Binary data ------------------------------------------------------------------- List admin: rel="nofollow" lists.arm.linux.org.uk/mailman/listinfo/linux-arm lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: rel="nofollow" www.arm.linux.org.uk/mailinglists/faq.php www.arm.linux.org.uk/mailinglists/faq.php Etiquette: rel="nofollow" www.arm.linux.org.uk/mailinglists/etiquette.php www.arm.linux.org.uk/mailinglists/etiquette.php
Index