Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9226660rwp; Thu, 20 Jul 2023 01:16:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlGi3d8b5PYxdCkXVZXvp/qLkbddNtN8g0BDOuUJeXjbccujPuFYSj8snINzl+/8jkhMWJHL X-Received: by 2002:aa7:c1c3:0:b0:51d:a831:58e5 with SMTP id d3-20020aa7c1c3000000b0051da83158e5mr4532944edp.30.1689840968962; Thu, 20 Jul 2023 01:16:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689840968; cv=none; d=google.com; s=arc-20160816; b=NnF+XM5EA4b+4zWjxZcTOl4eCO9TJKM+YPbBHKoUp/LITDzPnlJU+6hWD4S4wfc2ho MAM0FKTw+dDbsXHyCREzugTFI794CRPqp68tPWXyLfUrLh4wKKbonne3tBOQV6UWpDw6 IsGFn9t4rby6SLgSMfq7zWDh4IuhF7ybhfkU4d1uBuX9/uuZalfexNP8rBB4xe2uHU0/ qcZ4dgyBRPbN4uwte8AeTgnieESklHEXODyu4le244N82Nn/EP3/rGXWftDD60Kac2Y2 fk1SKgFt5qF7sn2q0+b03LUo0oOzU4oOS5q3ejU04AqN/f3aGwzCRz6CqSsdaw89uQEI /Dbg== 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=pIUEMfISf81PLuIgO6myeZrsmrDK5+xWIRKTwk8O/7Y=; fh=LyqWdJWG1bm/O71m+V1vMDlc065qJ00aVhI70SVF35s=; b=rL2eIWMdJO8Jrf+jkO3sOJPM9lSvJlsGDNpXGiquMtnrESpRjZKvWsIhUobM/zx/fB BLZ6GKSS7cnQzGzgybNYYldrSvAovHulkPByQ2AA8cssyOnTYkpKTTEPLjSqiHPrsgpT FIx9y6SRD2VAo8Pzf7TvRBxJb4NWukPiDZssQ/hi7l4mSd1NFHx3QhRHFbKcK3wko0TO BakButg94lYjo88WyOCU/faKy2LJc6289ezLxkiPtM1LC2rIX4+bIVqtdCHYamTcd1Z6 t6VRL82ecjrTNkHD/d7sqMHSY2u8Stxk9FcpZtFsp8KeezCODi7V/qv/YjLJhth9Bo+a pEXA== 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 h1-20020a50ed81000000b005149e1735bcsi510417edr.33.2023.07.20.01.15.44; Thu, 20 Jul 2023 01:16:08 -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 S229831AbjGTIBZ (ORCPT + 99 others); Thu, 20 Jul 2023 04:01:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229997AbjGTIBU (ORCPT ); Thu, 20 Jul 2023 04:01:20 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CBF6270E; Thu, 20 Jul 2023 01:01:15 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 3931F6732D; Thu, 20 Jul 2023 10:01:11 +0200 (CEST) Date: Thu, 20 Jul 2023 10:01:10 +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 2/8] swiotlb: add documentation and rename swiotlb_do_find_slots() Message-ID: <20230720080110.GA6358@lst.de> References: <11826bfbc148771ab36d0b485558aa52cbdd204f.1689261692.git.petr.tesarik.ext@huawei.com> <20230720063819.GB3842@lst.de> <20230720095609.55b3a642@meshulam.tesarici.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230720095609.55b3a642@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 09:56:09AM +0200, Petr Tesařík wrote: > On Thu, 20 Jul 2023 08:38:19 +0200 > Christoph Hellwig wrote: > > > On Thu, Jul 13, 2023 at 05:23:13PM +0200, Petr Tesarik wrote: > > > From: Petr Tesarik > > > > > > Add some kernel-doc comments and move the existing documentation of struct > > > io_tlb_slot to its correct location. The latter was forgotten in commit > > > 942a8186eb445 ("swiotlb: move struct io_tlb_slot to swiotlb.c"). > > > > > > Use the opportunity to give swiotlb_do_find_slots() a more descriptive > > > name, which makes it clear how it differs from swiotlb_find_slots(). > > > > Please keep the swiotlb_ prefix. Otherwise this looks good to me. > > Will do. Out of curiosity, why does it matter for a static (file-local) > function? Because it makes looking at stack traces much easier.