Prev: KVM: SVM: Use svm_msrpm_offset in nested_svm_exit_handled_msr
Next: New thread: page allocation failure with E1000 (seems to be reproducible)
From: naveen yadav on 26 Feb 2010 05:50 Hi all, I need small clarification, If I have a kernel module and in init I create some memory using vmalloc. and i do not free it. I exit from the module. what happen to this allocated memory. Will kernel handle it and do free. Regards Naveen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Dan Carpenter on 26 Feb 2010 07:20
On Fri, Feb 26, 2010 at 04:14:22PM +0530, naveen yadav wrote: > Hi all, > > I need small clarification, If I have a kernel module and in init I > create some memory using vmalloc. and i do not free it. I exit from > the module. > > what happen to this allocated memory. Will kernel handle it and do free. > No. You need to free your memory explicitly. regards, dan carpenter > > Regards > Naveen > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo(a)vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |