Re: __get_free_pages but no get_free_pages?

Martin Dalecki (dalecki@evision-ventures.com)
Fri, 16 Nov 2001 12:21:10 +0100


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/