powerpc/eeh: atomic_dec_if_positive() to update passthru count
Michael Ellerman
mpe at ellerman.id.au
Thu Oct 15 22:10:54 AEDT 2015
On Thu, 2015-27-08 at 05:58:27 UTC, Gavin Shan wrote:
> No need to have two atomic opertions (update and fetch/check) when
> decreasing PE's number of passed devices as one atomic operation
> is enough.
>
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/54f9a64a36e4fc041721a954
cheers
More information about the Linuxppc-dev
mailing list