Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F03AEC05027 for ; Thu, 26 Jan 2023 22:22:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232404AbjAZWWP (ORCPT ); Thu, 26 Jan 2023 17:22:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229813AbjAZWWO (ORCPT ); Thu, 26 Jan 2023 17:22:14 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FAE4A26B for ; Thu, 26 Jan 2023 14:22:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2C5D0B81F2E for ; Thu, 26 Jan 2023 22:22:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74658C433EF; Thu, 26 Jan 2023 22:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1674771730; bh=3/AiSICW5vNFWqX6LG5+8wag9HTQwnSvnQLqRX3oDy8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=1RGUsvCQUSbGenUgzNa1gqs3GhID/oxuPvRFN2or8fx+8opOxd7FE8z6p7hdV3hLX fRphbf8tqXhY+5xsfyRBrb+oSnmeer56OZNE9utejjdLERs7GHL15x1HjjKdR/rPoP 5Fw8L0OSyNX4LX8e55zd5kTx7Ay5TBNw2AGcNBG8= Date: Thu, 26 Jan 2023 14:22:09 -0800 From: Andrew Morton To: Keith Busch Cc: , , , , , , Keith Busch Subject: Re: [PATCHv4 00/12] dmapool enhancements Message-Id: <20230126142209.b3546fc52f3f13ddcda67bac@linux-foundation.org> In-Reply-To: <20230126215125.4069751-1-kbusch@meta.com> References: <20230126215125.4069751-1-kbusch@meta.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Jan 2023 13:51:13 -0800 Keith Busch wrote: > Time spent in dma_pool alloc/free increases linearly with the number of > pages backing the pool. We can reduce this to constant time with minor > changes to how free pages are tracked. Do we have any performance testing results for realistic workloads?