[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221017144049.3404-1-ubizjak@gmail.com>
Date: Mon, 17 Oct 2022 16:40:47 +0200
From: Uros Bizjak <ubizjak@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Uros Bizjak <ubizjak@...il.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>
Subject: [PATCH RESEND 0/2] ucount: Fix and improve atomic_long_inc_below
The series fixes wrong argument type and improves atomic_long_inc_below
by using atomic_long_try_cmpxchg instead of atomic_long_cmpxchg.
Signed-off-by: Uros Bizjak <ubizjak@...il.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>
Uros Bizjak (2):
ucount: Fix atomic_long_inc_below argument type
ucount: Use atomic_long_try_cmpxchg in atomic_long_inc_below
kernel/ucount.c | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
--
2.37.3
Powered by blists - more mailing lists