Hi!
free_pages() exists.
__get_free_pages() exists.
get_free_pages() does not. Why? What's the reason get_free_pages
always has two underscores at the beggining?
Pavel
--
STOP THE WAR! Someone killed innocent Americans. That does not give
U.S. right to kill people in Afganistan.
Pavel Machek wrote:
>
> Hi!
>
> free_pages() exists.
> __get_free_pages() exists.
> get_free_pages() does not. Why? What's the reason get_free_pages
> always has two underscores at the beggining?
That's purposedly so to discourage the usage of it, since this
function should be considered as an "implementation detail" I think.
> --
> STOP THE WAR! Someone killed innocent Americans. That does not give
> U.S. right to kill people in Afganistan.
That where not just Americans who died there.
The best way to stop a war is sometimes just to win it fast.
[email protected] said:
> That's purposedly so to discourage the usage of it, since this
> function should be considered as an "implementation detail" I think.
An implementation detail that should be hidden from generic code.
Like the fact that we use slabs for malloc?
--
dwmw2