From mboxrd@z Thu Jan 1 00:00:00 1970 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 E5302EB64DA for ; Thu, 20 Jul 2023 08:23:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229743AbjGTIXW (ORCPT ); Thu, 20 Jul 2023 04:23:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbjGTIXU (ORCPT ); Thu, 20 Jul 2023 04:23:20 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C2DB2110; Thu, 20 Jul 2023 01:23:20 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id C7E1C6732D; Thu, 20 Jul 2023 10:23:16 +0200 (CEST) Date: Thu, 20 Jul 2023 10:23:16 +0200 From: Christoph Hellwig To: Petr =?utf-8?B?VGVzYcWZw61r?= Cc: Christoph Hellwig , Petr Tesarik , Stefano Stabellini , Russell King , Thomas Bogendoerfer , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "H. Peter Anvin" , Greg Kroah-Hartman , "Rafael J. Wysocki" , Juergen Gross , Oleksandr Tyshchenko , Marek Szyprowski , Robin Murphy , Petr Tesarik , Jonathan Corbet , Andy Shevchenko , Hans de Goede , James Seo , James Clark , Kees Cook , "moderated list:XEN HYPERVISOR ARM" , "moderated list:ARM PORT" , open list , "open list:MIPS" , "open list:XEN SWIOTLB SUBSYSTEM" , Roberto Sassu , Kefeng Wang Subject: Re: [PATCH v4 0/8] Allow dynamic allocation of software IO TLB bounce buffers Message-ID: <20230720082316.GB6932@lst.de> References: <20230720065216.GB4395@lst.de> <20230720101320.72bbd2fc@meshulam.tesarici.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230720101320.72bbd2fc@meshulam.tesarici.cz> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Thu, Jul 20, 2023 at 10:13:20AM +0200, Petr Tesařík wrote: > Fine with me. I removed it after all my testing showed no performance > impact as long as the size of the initial SWIOTLB is kept at the > default value (and sufficient for the workload), but it's OK for me if > dynamic SWIOTLB allocations are off by default. > > OTOH I'd like to make it a boot-time option rather than build-time > option. Would that be OK for you? I'd really like the config option to not even build the code. But a boot time option sounds very useful in addition to that.