Re: [PATCH] slob: fix page order calculation on not 4KB page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 29, 2007 at 08:02:49PM +0900, Akinobu Mita wrote:
> SLOB doesn't caluclate correct page order when page size is not 4KB.
> This patch fixes it with using get_order() instead of find_order()
> which is SLOB version of get_order().

Doh, that's a pretty blatant use of a magic number.

> Cc: Matt Mackall <[email protected]>
> Signed-off-by: Akinobu Mita <[email protected]>

Acked-by: Matt Mackal <[email protected]>

-- 
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux