lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <27983c29-dbf0-4105-8176-739971a071b4@intel.com>
Date: Tue, 8 Oct 2024 09:38:05 +0200
From: Artur Paszkiewicz <artur.paszkiewicz@...el.com>
To: Uros Bizjak <ubizjak@...il.com>, <linux-raid@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>
CC: Song Liu <song@...nel.org>, Yu Kuai <yukuai3@...wei.com>
Subject: Re: [PATCH] md/raid5-ppl: Use atomic64_inc_return() in
 ppl_new_iounit()

On 10/7/24 10:48, Uros Bizjak wrote:
> Use atomic64_inc_return(&ref) instead of atomic64_add_return(1, &ref)
> to use optimized implementation and ease register pressure around
> the primitive for targets that implement optimized variant.
> 
> Signed-off-by: Uros Bizjak <ubizjak@...il.com>
> Cc: Song Liu <song@...nel.org>
> Cc: Yu Kuai <yukuai3@...wei.com>

Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@...el.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ