title: allocate a memory chunk at a specified address in Linux kernel
body: <p>Is there a way in the Linux kernel to allocate a chunk of memory and specify that it needs to be at a specified virtual address? </p>
  
  <p>I realize this may not always be possible, as that chunk of memory may not be available. But if that chunk happens to be available, is there a way for me to claim it?</p>
  
  <p>I am asking this because I want to allocate a small chunk of memory at first, and if needed, increase its size without having to allocate another larger chunk of memory and copy everything over. </p>
  
  <p>Edit:</p>
  
  <p>As someone pointed one, at the user space, realloc() does exactly what I need. But is there an equivalent in kernel space?</p>