On 10-Dec-2014, at 10:18 pm, PRAJAPATI MEHUL <mehulprajapati2802@xxxxxxxxx> wrote:
My 2 Cents. Your dmesg says it cannot allocate 2^10 * PAGESIZE (what ever the pagesize is). At first glance it looks like memory fragmentation. Over time allocations will split to a point it will fail a request because of lake of continous pages. Have a look what your /proc/buddyinfo says. Try out with vmalloc (just for exercise) or try your module just after machine reboot. Please also note there is a limit on kmalloc, how much it can allocate at single go. Thanks Arshad |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies