Re: [PATCH RESEND] powerpc/rtas_flash: Free kmem upon module exit

2013-04-22 Thread Michael Ellerman
On Mon, Apr 22, 2013 at 11:18:00AM +0530, Vasant Hegde wrote: Michael, On Mon 22 Apr 2013 04:57:57 AM IST, Michael Ellerman wrote: On Fri, Apr 19, 2013 at 05:18:09PM +0530, Vasant Hegde wrote: Memory allocated to flash_block_list in rtas_flash_write is not freed during module exit. We hit

Re: [PATCH RESEND] powerpc/rtas_flash: Free kmem upon module exit

2013-04-21 Thread Michael Ellerman
On Fri, Apr 19, 2013 at 05:18:09PM +0530, Vasant Hegde wrote: Memory allocated to flash_block_list in rtas_flash_write is not freed during module exit. We hit below call trace if we unload rtas_flash module after loading new firmware image and before rebooting the system. Why the resend? Did

Re: [PATCH RESEND] powerpc/rtas_flash: Free kmem upon module exit

2013-04-21 Thread Vasant Hegde
Michael, On Mon 22 Apr 2013 04:57:57 AM IST, Michael Ellerman wrote: On Fri, Apr 19, 2013 at 05:18:09PM +0530, Vasant Hegde wrote: Memory allocated to flash_block_list in rtas_flash_write is not freed during module exit. We hit below call trace if we unload rtas_flash module after loading new

[PATCH RESEND] powerpc/rtas_flash: Free kmem upon module exit

2013-04-19 Thread Vasant Hegde
Memory allocated to flash_block_list in rtas_flash_write is not freed during module exit. We hit below call trace if we unload rtas_flash module after loading new firmware image and before rebooting the system. Feb 6 08:42:10 eagle3 kernel: kmem_cache_destroy rtas_flash_cache: Slab cache still