Re: mm/page_alloc.c: remove hand-coded get_order()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Tuesday, April 15, 2008 - 2:35 am

On Tue, 15 Apr 2008 11:23:27 +0200 Pavel Machek <pavel@ucw.cz> wrote:


It is a bit odd.


Sounds sensible.  It matches free_pages().


alas, poor me.


OK.  get_order() does round up, doesn't it?  We seem to have forgotten to
document that rather important detail.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
mm/page_alloc.c: remove hand-coded get_order(), Pavel Machek, (Tue Apr 15, 2:23 am)
Re: mm/page_alloc.c: remove hand-coded get_order(), Andrew Morton, (Tue Apr 15, 2:35 am)
Re: mm/page_alloc.c: remove hand-coded get_order(), Andrew Morton, (Tue Apr 15, 2:38 am)
Re: mm/page_alloc.c: remove hand-coded get_order(), Andi Kleen, (Tue Apr 15, 3:39 am)
Re: mm/page_alloc.c: remove hand-coded get_order(), Christoph Lameter, (Wed Apr 16, 12:18 pm)