[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: where does vmlist be initiated?
Wang Yong wrote:-
> 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
Hi Wang,
There's only 3 lines that reference it in vmalloc.c, so it
shouldn't be too hard to figure out, no?
Neil.
--
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/