title: Memory Allocation in Linux Kernel
body: <p>I had an interview today and was asked this question. What Kernel Memory allocation strategy would you use, if you were asked to allocate memory of size 2KB and that allocated memory should be page aligned.</p>
  
  <p>KMALLOC handles smaller memory allocation strategies but the lowest unit that it supports is 4KB, which is the size of the physical page. I asked him, if he was expecting slab allocators? He didn't reply positively.</p>