[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] xen/smp: Speed up on_selected_cpus()
- To: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 8 Feb 2022 11:39:51 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Vd1VaDjpbI2hRQzr5iRCea8XSbAtrqZ6+wGWKwIkp/0=; b=kpfl+kYtS+sGnEYTiQHHlkToJCyO8ZUtKIgR3OPBDIuyt0CX8dGUGPOXjAvcahlgO6MixnyiXldN8WEAMrQwGWZKAkCUkgPqBmBdwrH4eI1N6t4MLWQ5pjQwmkGahA8AwJlYIWNu+wCh7C64JZkuD8KfgX2ER9h4jYeCO2E6qMPfD47ejwv7qdcJ6AsYh7MDyjkTeic432FZZ1jKVNVqywIRXBLNEulYunFL1EDTsaOlQ4b9jhzNl78ziuodokiO1NXSOGuXHxIf87AUPQOWlb7e3hp2kt5Zz99DQwCkCpprmy5gXL2XeFlqBtVbnM92JDjt1stoiKgtkiIHvQLYHA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Al7ztWm55OAJZtndDyuhvKXxB2L8SJGn+M91jN7Sv52IORRyu/l1EqFJ5HTk5l9aPu7XRU2vf4DtK74ZKbaYOZiEVtT5/r6MpNR249pPDm89L5uRRSdroJ50NLMSAIpq+2jsHV47CPLw2zRNRKrASgoFldYahtYHTRWE5y5iIShqwqggDyln+4uyG4f+jXqgAWTUPwdAB6zDgdJbrqt6svax4OT7oAk/7cJF6PcJGgyZXK82x2/HEUL0zkeZ3Y7fJoTMGLq0sYJJ4oOJj5hPuzNLQRBtaDLS2oEe4Flu8nHkOUT1mRGpNxdpthJ0ynoH9RBEw5JhNYFSmTf5zwAvQg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 08 Feb 2022 10:40:05 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 07.02.2022 18:06, Andrew Cooper wrote:
> On 07/02/2022 08:11, Jan Beulich wrote:
>> (And of
>> course I still have that conversion to POPCNT alternatives patching pending,
>> where Roger did ask for some re-work in reply to v2, but where it has
>> remained unclear whether investing time into that wouldn't be in vein,
>> considering some of your replies on v1. Thus would have further shrunk the
>> difference, without me meaning to say the change here isn't a good one.)
>
> There is a perfectly clear and simple way forward. It's the one which
> doesn't fight the optimiser and actively regress the code generation in
> the calling functions, and add an unreasonable quantity technical debt
> into the marginal paths.
>
> I will ack a version where you're not adding complexity for negative gains.
Thanks, at least some form of a reply. I'm afraid I can't really translate
this to which parts of the change you'd be okay with and which parts need
changing. I didn't think I would "fight the optimiser and actively regress
the code generation in the calling functions" in v2 (this may have been
different in v1, but I haven't gone back to check; I wonder though whether
you're mixing this with e.g. the BMI patching series I've long given up on).
Jan
|