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
This is a discussion on Question about _get_free_pages() within the Linux Programming forums, part of the Platform Specific Boards category; 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) ...
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 - Question about _get_free_pages()
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?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.