Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3703671rdh; Thu, 28 Sep 2023 22:55:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGq69SD2ZjvnrGFc3bGF1Ganlgp/5UopORPCKk1XDkhOoSslaL3FnLIgRktYEP7o70fJw8W X-Received: by 2002:a05:6808:10c7:b0:3ae:133d:1a99 with SMTP id s7-20020a05680810c700b003ae133d1a99mr4292590ois.42.1695966906201; Thu, 28 Sep 2023 22:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695966906; cv=none; d=google.com; s=arc-20160816; b=M6sUEgmYlLcVsPyM9zvmkXIgqk6Pk+vl9ALHyvivHkIvuPCrv5rvJGeyEz2912wnCZ ShSPjhhW6bhMNhY6G1F6e9kLDM9zfo77Y18F7YdD8QefvwnMjb8nnw/oQFqA8Y4gly1F 9v0JRQF3iOFtRrCOryTo5D6nyAzzVzGnh7qGqdijUu12ITcIkzH0sljMpXqwedd48ZKE UoG2r0RYD9gQktVhpcdtzeB37dM7bWbpY5kyexTD1oziqjhnY2MdKcpHput5egUMj4Bq xwFnNTmzDRGFZbFN5fbxUm8LXxX5Jf1cJBTvND1rnntC69ECDLxF76S8sMj84HHfb2Nt P8WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=zk7ORbZ0WiGryln8d0i4uvxWvYBHAISoEAQ94+4MVNA=; fh=UifezLYM7zmE36RwLsvSl14WLzmnRF71eKOP5g3P3i0=; b=0ajUO2QSWuFBs+sA1aJqJh+fOHrU6P4mc/YNept7UNGHUdpoPcSBB5YhEhhh/IxTYi 5sky5u2EIpLz4udvWGSHba88M1dXIu+Me719e6qf88tzAey4HP+kktUysQKp+Uwtmb/o KBB16dnaa8rFWPiORy5mTATLSoFwZW2EscFt1P8ASBBmYJThor7YEINfuU1PEaFQzG+z eQz39qwVarUh4kUgZYrygwhm4+rlcrLJstP6JP1m0lfDOFAGqHMTlQ1yztJwsT5ZsSFk njiWhH4sGACyzNOjfEJDTxlVD8HzzARi+nKo2TCdVKPfKqJvQkZDF0wCiOoJtm9JaI6i cFJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id f20-20020a637554000000b00578daf6f4e2si21060203pgn.191.2023.09.28.22.55.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 22:55:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C55E881A73DA; Thu, 28 Sep 2023 22:47:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232625AbjI2Fra (ORCPT + 99 others); Fri, 29 Sep 2023 01:47:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232717AbjI2Fr1 (ORCPT ); Fri, 29 Sep 2023 01:47:27 -0400 Received: from a.mx.secunet.com (a.mx.secunet.com [62.96.220.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A782B1A2; Thu, 28 Sep 2023 22:47:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 82BE5207D1; Fri, 29 Sep 2023 07:47:23 +0200 (CEST) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UNCmGaEfzaaJ; Fri, 29 Sep 2023 07:47:23 +0200 (CEST) Received: from mailout2.secunet.com (mailout2.secunet.com [62.96.220.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id 1D493207BB; Fri, 29 Sep 2023 07:47:23 +0200 (CEST) Received: from cas-essen-01.secunet.de (unknown [10.53.40.201]) by mailout2.secunet.com (Postfix) with ESMTP id 169E780004A; Fri, 29 Sep 2023 07:47:23 +0200 (CEST) Received: from mbx-essen-02.secunet.de (10.53.40.198) by cas-essen-01.secunet.de (10.53.40.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Fri, 29 Sep 2023 07:47:22 +0200 Received: from gauss2.secunet.de (10.182.7.193) by mbx-essen-02.secunet.de (10.53.40.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Fri, 29 Sep 2023 07:47:22 +0200 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 58C093182B50; Fri, 29 Sep 2023 07:47:22 +0200 (CEST) Date: Fri, 29 Sep 2023 07:47:22 +0200 From: Steffen Klassert To: Wang Jinchao CC: Daniel Jordan , , , Subject: Re: [RFC/REFACT] Refactoring and significantly reducing code complexity Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: cas-essen-02.secunet.de (10.53.40.202) To mbx-essen-02.secunet.de (10.53.40.198) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 22:47:43 -0700 (PDT) On Thu, Sep 28, 2023 at 04:53:38PM +0800, Wang Jinchao wrote: > This is a refactored version with the following main changes: > > - The parallel workqueue no longer uses the WQ_UNBOUND attribute > - Removal of CPU-related logic, sysfs-related interfaces > - removal of structures like padata_cpumask, and deletion of parallel_data > - Using completion to maintain sequencing > - no longer using lists > - removing structures like padata_list and padata_serial_queue > - Removal of padata_do_serial() This removes all the logic that is needed to ensure that the parallelized objects return in the same order as they were before the parallelization. This change makes padata unusable for networking.