* __get_free_pages but no get_free_pages? @ 2001-11-15 22:35 Pavel Machek 2001-11-16 11:21 ` Martin Dalecki 2001-11-16 14:25 ` David Woodhouse 0 siblings, 2 replies; 3+ messages in thread From: Pavel Machek @ 2001-11-15 22:35 UTC (permalink / raw) To: kernel list 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: __get_free_pages but no get_free_pages? 2001-11-15 22:35 __get_free_pages but no get_free_pages? Pavel Machek @ 2001-11-16 11:21 ` Martin Dalecki 2001-11-16 14:25 ` David Woodhouse 1 sibling, 0 replies; 3+ messages in thread From: Martin Dalecki @ 2001-11-16 11:21 UTC (permalink / raw) To: Pavel Machek; +Cc: kernel list 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: __get_free_pages but no get_free_pages? 2001-11-15 22:35 __get_free_pages but no get_free_pages? Pavel Machek 2001-11-16 11:21 ` Martin Dalecki @ 2001-11-16 14:25 ` David Woodhouse 1 sibling, 0 replies; 3+ messages in thread From: David Woodhouse @ 2001-11-16 14:25 UTC (permalink / raw) To: dalecki; +Cc: Pavel Machek, kernel list dalecki@evision-ventures.com 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-11-16 14:27 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-11-15 22:35 __get_free_pages but no get_free_pages? Pavel Machek 2001-11-16 11:21 ` Martin Dalecki 2001-11-16 14:25 ` David Woodhouse
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.