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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 13 May 2008 11:09:02 +0900
From:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To:	Bryan Wu <cooloney@...nel.org>
Cc:	linux-kernel@...r.kernel.org, linux-mm@...ck.org,
	dwmw2@...radead.org,
	Michael Hennerich <michael.hennerich@...log.com>
Subject: Re: [PATCH 1/4] [mm] buddy page allocator: add tunable big order
 allocation

On Mon, 12 May 2008 18:32:02 +0800
Bryan Wu <cooloney@...nel.org> wrote:

> From: Michael Hennerich <michael.hennerich@...log.com>
> 
> Signed-off-by: Michael Hennerich <michael.hennerich@...log.com>
> Signed-off-by: Bryan Wu <cooloney@...nel.org>

Does this really solve your problem ? possible hang-up is better than
page allocation failure ?

> ---
>  init/Kconfig    |    9 +++++++++
>  mm/page_alloc.c |    2 +-
>  2 files changed, 10 insertions(+), 1 deletions(-)
> 
> diff --git a/init/Kconfig b/init/Kconfig
> index 6135d07..b6ff75b 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -742,6 +742,15 @@ config SLUB_DEBUG
>  	  SLUB sysfs support. /sys/slab will not exist and there will be
>  	  no support for cache validation etc.
>  
> +config BIG_ORDER_ALLOC_NOFAIL_MAGIC
> +	int "Big Order Allocation No FAIL Magic"
> +	depends on EMBEDDED
> +	range 3 10
> +	default 3
> +	help
> +	  Let big-order allocations loop until memory gets free. Specified Value
> +	  expresses the order.
> +
I think it's better to add a text to explain why this is for EMBEDED.

Thanks,
-Kame

--
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