Messages in this thread | | | Date | Tue, 18 Oct 2011 18:59:55 -0700 (PDT) | From | David Rientjes <> | 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@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>
| |