[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

where does vmlist be initiated?



hi,
  i found this structure is defined in mm/vmalloc.c :
  "static struct vm_struct * vmlist = NULL;"

  it appears that vmlist be initiated as null. but in function
get_vm_area(), which is called by kmalloc(), it doesn't work if vmlist is
null. so i think vmlist must be initiated somewhere else. but where? thx

regards,
Wang

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/