lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sun, 29 Apr 2007 06:46:26 -0500
From:	Matt Mackall <mpm@...enic.com>
To:	Akinobu Mita <akinobu.mita@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] slob: fix page order calculation on not 4KB page

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 <mpm@...enic.com>
> Signed-off-by: Akinobu Mita <akinobu.mita@...il.com>

Acked-by: Matt Mackal <mpm@...enic.com>

-- 
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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ