title: Dynamic allocation in kernel space
body: <p>I have been trying to allocate space using <code>malloc</code> in kernel space for a driver I am working on (using <code>malloc</code> is a constraint here; I am not allowed to allocate space in any other manner), but if I try to allocate "too many" elements (~500 times a very small struct), only a fraction of the space I required is actually allocated. </p>
  
  <p>Reducing the number of allocated elements did work for me with no problems. Does dynamic allocation in kernel space have limits which might be causing the behavior I am seeing?</p>