lkml.org 
[lkml]   [2011]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@oracle.com>
> Reported-by: David Rientjes <rientjes@google.com>
> Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>

Acked-by: David Rientjes <rientjes@google.com>


\
 
 \ /
  Last update: 2011-10-19 04:03    [W:0.059 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site