Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9257568rwp; Thu, 20 Jul 2023 01:57:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlFZn6tTvye9NGSwZaCjCQSO0yg8kz+MBbkCQiWQwvQ1RMqooylM9IeBhrWjGMtP9gf3OvF6 X-Received: by 2002:aa7:d482:0:b0:51e:338f:863b with SMTP id b2-20020aa7d482000000b0051e338f863bmr4372724edr.11.1689843470128; Thu, 20 Jul 2023 01:57:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689843470; cv=none; d=google.com; s=arc-20160816; b=N5rMLRsEhzCG+Eago7ovUXVMasbNPJMjX5oFej8f68/isTo6Z/qUASkvQCr9+4lVDO cZZ23RW5BocOLSRLDF8FrF5a7GdoJPussOVJgHi/JzBnKf+M0lGmOto54y400cYwLBxF 7809iyEjOgw8KIF3sGq/sOlVF/WY4+XGue08+vxkqEp5cxDqj0WPcBowk03V6tbQAFzb hRXaNcka7XaeNZiC48bpPrZ1DkCRCJagOLA5sp/edduwHVX8VsjxpIUjfwmT17R+5l6s /hcuVNeCCrY7OAPj8LMoDYeeSYEzUsxSkH2RGarMcazi/7azj6v5f3zK0qSiDRsZy6Vj dS2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WPWdaioZK58rP+IFEiDYgM6oTQa0Er9Qq7BH5gwjfeU=; fh=LyqWdJWG1bm/O71m+V1vMDlc065qJ00aVhI70SVF35s=; b=qKXr+RnhCZtNZrRJKUMTx48Xt7TL3B0c/1dLCRh8rQYg7NOiaddv4+hajrqSy54ZWM I5IeaMl7MMG/MV9D3f8RSMzdD9hOX/6p/Y7T9wVHlsnle41Z6Czu2cbkqbCMfjTKmECH V69dYl7lPqFkT5FRflL2zJrKaWpiknA4ovgYQaNtraReLUX9ocPzrqohQe1kXNlNaIUf g2kKQY4An0c8o/6QmqFMwNwVnbu9OT6bFajrY03iS58R+Scqt62y8lOOJAgDxhhUMZ7H Wd5ZkwO8IIAicfMRbYEqOTLO2s+bfQP5mmjbvpHhxuj2dIdsGftYuoZCv/kE/L8r8wdT bFYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y14-20020a056402134e00b0051e1b16a086si514064edw.69.2023.07.20.01.57.26; Thu, 20 Jul 2023 01:57:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231365AbjGTIXX (ORCPT + 99 others); Thu, 20 Jul 2023 04:23:23 -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) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.