From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751272AbbCHDBm (ORCPT ); Sat, 7 Mar 2015 22:01:42 -0500 Received: from mail-qg0-f52.google.com ([209.85.192.52]:38732 "EHLO mail-qg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930AbbCHDBl (ORCPT ); Sat, 7 Mar 2015 22:01:41 -0500 Date: Sat, 7 Mar 2015 22:01:37 -0500 From: Tejun Heo To: David Rientjes Cc: Jens Axboe , linux-kernel@vger.kernel.org Subject: Re: [patch] block: allocate request memory local to request queue Message-ID: <20150308030137.GA13283@htj.duckdns.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 07, 2015 at 06:53:46PM -0800, David Rientjes wrote: > blk_init_rl() allocates a mempool using mempool_create_node() with node > local memory. This only allocates the mempool and element list locally > to the requeue queue node. > > What we really want to do is allocate the request itself local to the > queue. To do this, we need our own alloc and free functions that will > allocate from request_cachep and pass the request queue node in to prefer > node local memory. > > Cc: Tejun Heo > Signed-off-by: David Rientjes Acked-by: Tejun Heo Thanks. -- tejun