[Top] [All Lists]

Re: [PATCH] atomic: add *_dec_not_zero

To: Sven Eckelmann <>
Subject: Re: [PATCH] atomic: add *_dec_not_zero
From: David Howells <>
Date: Wed, 04 May 2011 12:53:19 +0100
Cc:,, Chris Metcalf <>,,,,,,,,,,,,,,,,
In-reply-to: <>
Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903
Original-recipient: rfc822;
References: <>
Sven Eckelmann <> wrote:

> Introduce an *_dec_not_zero operation.  Make this a special case of
> *_add_unless because batman-adv uses atomic_dec_not_zero in different
> places like re-broadcast queue or aggregation queue management. There
> are other non-final patches which may also want to use this macro.
> Reported-by: David S. Miller <>
> Signed-off-by: Sven Eckelmann <>

Acked-by: David Howells <> [MN10300 and FRV]

<Prev in Thread] Current Thread [Next in Thread>