Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp112551rdh; Wed, 25 Oct 2023 18:26:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFQJQcwqYWBiabk1HdzAKfI9NKplQBFRP3WaK2Vn4WKtXnZiXMi4amp2X8s25lR7dUowHNP X-Received: by 2002:a67:e088:0:b0:457:bbd5:23fd with SMTP id f8-20020a67e088000000b00457bbd523fdmr15182167vsl.9.1698283581861; Wed, 25 Oct 2023 18:26:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698283581; cv=none; d=google.com; s=arc-20160816; b=RT6POjF5BCKmLwsg6YhzgKVh9vcZdrLHIkwkasQZWZ7bSRn7p1Tndto5AMIMSpR154 McTqj0Vt2cQE13DlyyuLVeewyKM2czatxiHPiF6PrYFE2ucvLHIz8RFeaj7GXkGFEYO/ PdxN+5mVFtfdUINu4qTID0WuQcQ1YJHemaxqaBmH1yGuDR1oEbACImUj2E65rI/GTSyZ 8viH885Ct/K9ntGtLxs9THH2+mWmZgLsArultyuBsDXwLfOverk00w7I8mh75YPEmQi2 ZhhPisZBH0BBzSVmaNyJcePQM2vMpYEwk+j4JgNO8+l6cWANGjHB0I6sa4HHwhEm9hHw l3Ow== 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=JtHwY/4fOZBHJf1qlEYMr4OypvygZIW6uUDLHIwrILk=; fh=52ExxW9obACgYvMbnqLF2MtAlILsePU20osSqdrhemQ=; b=V5FjB/iinQ3XIVCJ/FPENzic99hVGneCe7XdG09q8grVLuJXDIik5SBoMivRodIbSL 0a3qLP251SqIuZI9xejyYWH5s0yToeLBZ7Mxyzxsl17R0w4RXe8RT4AuVNQ+AhKXvqFo jNcP5Zf2APGzHLuXrEaf8gL+yTrx++ceSxXxRmRf4jkVturz1cq1aHwsz9xZabtX2L8B 6IDSWwsB4bxBt9PN6VZOD1LkGqUDHFuPdkpFZfcQr6jpBxdIcjtzZkrHIkYq1VRz162K FqOMymX7K4cMYBqerLkoc1yyTMNfIk45WqBZIUoNuGMMuG51ji6eaoxKEWDDU6IsnNBT 5lSw== 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:5 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id m75-20020a25d44e000000b00da054f61343si5919937ybf.116.2023.10.25.18.26.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 18:26:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id EBB148028FF3; Wed, 25 Oct 2023 18:26:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232366AbjJZB0O (ORCPT + 99 others); Wed, 25 Oct 2023 21:26:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232112AbjJZB0N (ORCPT ); Wed, 25 Oct 2023 21:26:13 -0400 Received: from wxsgout04.xfusion.com (wxsgout04.xfusion.com [36.139.87.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B84113A; Wed, 25 Oct 2023 18:26:09 -0700 (PDT) Received: from wuxshcsitd00600.xfusion.com (unknown [10.32.133.213]) by wxsgout04.xfusion.com (SkyGuard) with ESMTPS id 4SG7NJ3bZDz9yNtW; Thu, 26 Oct 2023 09:23:28 +0800 (CST) Received: from localhost (10.82.147.3) by wuxshcsitd00600.xfusion.com (10.32.133.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 26 Oct 2023 09:26:03 +0800 Date: Thu, 26 Oct 2023 09:26:03 +0800 From: Wang Jinchao To: Daniel Jordan CC: Steffen Klassert , , , Subject: Re: [RFC v2] padata: Simplify sysfs cpumask and sequencing logic Message-ID: References: <202310121006-wangjinchao@xfusion.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.82.147.3] X-ClientProxiedBy: wuxshcsitd00602.xfusion.com (10.32.132.250) To wuxshcsitd00600.xfusion.com (10.32.133.213) 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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 25 Oct 2023 18:26:16 -0700 (PDT) On Wed, Oct 25, 2023 at 02:17:32PM -0400, Daniel Jordan wrote: > Hello, > > On Thu, Oct 12, 2023 at 10:06:40AM +0800, Wang Jinchao wrote: > > Utilizing the WQ_SYSFS from workqueue to support sysfs > > ====================================================== > > > > Padata relies on workqueue, and since workqueue has already implemented > > support for cpumask through WQ_SYSFS, we can reuse this functionality > > and avoid redundant implementation. > > Link: https://docs.kernel.org/core-api/workqueue.html#affinity-scopes > > Keeping the existing padata sysfs paths seems best, as mentioned in the > other thread. Symlinks can serve both purposes, keeping the original path and simplifying the code. I will incorporate this in the subsequent patches. > > > Using completion to ensure the sequencing of the 'serial()' > > =========================================================== > > I responded in the other RFC thread. > > > Thanks. The extensive changes in RFC v1 indeed made it challenging to read. Thank you very much for your patience. In RFC v2, I only wrote the core logic instead of lengthy patches,making it a true RFC. I've carefully considered your and Steffen's feedback, which will be addressed in RFC v3. Thanks.