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]
Message-ID: <alpine.DEB.2.00.1110181859090.12850@chino.kir.corp.google.com>
Date:	Tue, 18 Oct 2011 18:59:55 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>
cc:	Grant Likely <grant.likely@...retlab.ca>,
	linux-kernel@...r.kernel.org, qi.wang@...el.com,
	yong.y.wang@...el.com, joel.clark@...el.com,
	kok.howg.ewe@...el.com, Dan Carpenter <dan.carpenter@...cle.com>
Subject: Re: [PATCH 1/2] gpio-pch: Use NUMA_NO_NODE not GFP_KERNEL

On Wed, 19 Oct 2011, Tomoya MORINAGA wrote:

> Currently, GFP_KERNEL is used as parameter of irq_alloc_descs like below.
> 
>           irq_base = irq_alloc_descs(-1, IOH_IRQ_BASE, num_ports[j],
>                                      GFP_KERNEL); 
> 
> This is not true.
> So, this patch uses NUMA_NO_NODE not GFP_KERNEL.
> 

Passing NUMA_NO_NODE means the allocation will be preferred on a node that 
is local to the executing processor.

> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Reported-by: David Rientjes <rientjes@...gle.com>
> Signed-off-by: Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>

Acked-by: David Rientjes <rientjes@...gle.com>
--
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