I have a device driver which requires 500MB of continuous kmalloc memory during init. The driver loads during the boot time and I have verified using free command that there is enough memory available at that time. But, sometimes I am not able to get the 500MB of memory.
Is there any command/way in linux to know how much of continuous memory is available at a certain time in system.
/proc/buddyinfo shows the amount of memory in each block but it never says whether the blocks are continuous or not.