From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752738AbbJLQU7 (ORCPT ); Mon, 12 Oct 2015 12:20:59 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:34877 "EHLO mail-yk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752357AbbJLQU5 (ORCPT ); Mon, 12 Oct 2015 12:20:57 -0400 Date: Mon, 12 Oct 2015 12:20:54 -0400 From: Tejun Heo To: Xunlei Pang Cc: linux-kernel@vger.kernel.org, Lai Jiangshan , Xunlei Pang Subject: Re: [PATCH] workqueue: Allocate the unbound pool using local node memory Message-ID: <20151012162054.GB23399@mtj.duckdns.org> References: <1444362792-27705-1-git-send-email-xlpang@126.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1444362792-27705-1-git-send-email-xlpang@126.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 09, 2015 at 11:53:12AM +0800, Xunlei Pang wrote: > From: Xunlei Pang > > Currently, get_unbound_pool() uses kzalloc() to allocate the > worker pool. Actually, we can use the right node to do the > allocation, achieving local memory access. > > This patch selects target node first, and uses kzalloc_node() > instead. > > Signed-off-by: Xunlei Pang Applied to wq/for-4.4. Thanks. -- tejun