From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753124AbbCYCBZ (ORCPT ); Tue, 24 Mar 2015 22:01:25 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:33419 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752343AbbCYCBY (ORCPT ); Tue, 24 Mar 2015 22:01:24 -0400 Message-ID: <551216F1.4010907@kernel.dk> Date: Tue, 24 Mar 2015 20:01:21 -0600 From: Jens Axboe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: David Rientjes , Andrew Morton CC: Tejun Heo , Lars Ellenberg , drbd-user@lists.linbit.com, linux-kernel@vger.kernel.org Subject: Re: [patch resend 1/3] block: allocate request memory local to request queue References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/24/2015 05:21 PM, 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. Applied to for-4.1/core, thanks. -- Jens Axboe