Hello
In the code :
unsigned long size = 2621440;
unsigned int order;
order = get_order(size);
__get_free_pages(GFP_KERNEL,order);
1.What value get_order(size) will return ?
2.What calculation get_order() is doing ?
Thank You
Printable View
Hello
In the code :
unsigned long size = 2621440;
unsigned int order;
order = get_order(size);
__get_free_pages(GFP_KERNEL,order);
1.What value get_order(size) will return ?
2.What calculation get_order() is doing ?
Thank You
Already asked - http://cboard.cprogramming.com/c-pro...ree_pages.html
What have you learnt in the past few hours from your own research?
Or are you just lazing about on the beach/party waiting for someone else to RTFM for you?