From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Nilsson Subject: Re: [PATCH] atomic: add *_dec_not_zero Date: Wed, 4 May 2011 12:48:41 +0200 Message-ID: <20110504104841.GE16179@axis.com> References: <1304458235-28473-1-git-send-email-sven@narfation.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1304458235-28473-1-git-send-email-sven-KaDOiPu9UxWEi8DpZVb4nw@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: uclinux-dist-devel-bounces-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org Errors-To: uclinux-dist-devel-bounces-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org To: Sven Eckelmann Cc: "linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org" , "linux-m68k-cunTk1MwBs8S/qaLPR03pWD2FQJk+8+b@public.gmane.org" , "linux-m32r-rQhvJZKUsGBRYuoOT4C5/9i2O/JbrIOy@public.gmane.org" , "linux-ia64-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-cris-kernel , "linux-parisc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-s390-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Chris Metcalf , David Howells , "linux-am33-list-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org" , "linux-alpha-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" On Tue, May 03, 2011 at 11:30:35PM +0200, 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. For the CRIS-part: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson-VrBV9hrLPhE@public.gmane.org From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 04 May 2011 12:48:57 +0200 (CEST) Received: from anubis.se.axis.com ([195.60.68.12]:46258 "EHLO anubis.se.axis.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1490984Ab1EDKsy (ORCPT ); Wed, 4 May 2011 12:48:54 +0200 Received: from localhost (localhost [127.0.0.1]) by anubis.se.axis.com (Postfix) with ESMTP id E9AD819DC6; Wed, 4 May 2011 12:48:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at anubis.se.axis.com Received: from anubis.se.axis.com ([127.0.0.1]) by localhost (anubis.se.axis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tgeP7vRDzl5S; Wed, 4 May 2011 12:48:47 +0200 (CEST) Received: from seth.se.axis.com (seth.se.axis.com [10.0.2.172]) by anubis.se.axis.com (Postfix) with ESMTP id 2D0C919D9A; Wed, 4 May 2011 12:48:45 +0200 (CEST) Received: from silver.se.axis.com (silver.se.axis.com [10.88.4.3]) by seth.se.axis.com (Postfix) with ESMTP id EF5EF3E13C; Wed, 4 May 2011 12:48:45 +0200 (CEST) Received: from silver.se.axis.com (localhost [127.0.0.1]) by silver.se.axis.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p44AmjRg024638; Wed, 4 May 2011 12:48:45 +0200 Received: (from jespern@localhost) by silver.se.axis.com (8.14.3/8.14.3/Submit) id p44AmfPQ024637; Wed, 4 May 2011 12:48:41 +0200 Date: Wed, 4 May 2011 12:48:41 +0200 From: Jesper Nilsson To: Sven Eckelmann Cc: "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , "linux-mips@linux-mips.org" , "linux-m32r@ml.linux-m32r.org" , "linux-ia64@vger.kernel.org" , "linux-parisc@vger.kernel.org" , linux-cris-kernel , "linux-s390@vger.kernel.org" , "linux-sh@vger.kernel.org" , "x86@kernel.org" , Chris Metcalf , David Howells , "linux-m68k@lists.linux-m68k.org" , "linux-am33-list@redhat.com" , "linux-alpha@vger.kernel.org" , "sparclinux@vger.kernel.org" , "uclinux-dist-devel@blackfin.uclinux.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH] atomic: add *_dec_not_zero Message-ID: <20110504104841.GE16179@axis.com> References: <1304458235-28473-1-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1304458235-28473-1-git-send-email-sven@narfation.org> User-Agent: Mutt/1.5.18 (2008-05-17) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 29811 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: jesper.nilsson@axis.com Precedence: bulk X-list: linux-mips On Tue, May 03, 2011 at 11:30:35PM +0200, 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. For the CRIS-part: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Nilsson Subject: Re: [PATCH] atomic: add *_dec_not_zero Date: Wed, 4 May 2011 12:48:41 +0200 Message-ID: <20110504104841.GE16179@axis.com> References: <1304458235-28473-1-git-send-email-sven@narfation.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: "linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org" , "linux-m68k-cunTk1MwBs8S/qaLPR03pWD2FQJk+8+b@public.gmane.org" , "linux-m32r-rQhvJZKUsGBRYuoOT4C5/9i2O/JbrIOy@public.gmane.org" , "linux-ia64-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-cris-kernel , "linux-parisc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-s390-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Chris Metcalf , David Howells , "linux-am33-list-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org" , "linux-alpha-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , To: Sven Eckelmann Return-path: In-Reply-To: <1304458235-28473-1-git-send-email-sven-KaDOiPu9UxWEi8DpZVb4nw@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: uclinux-dist-devel-bounces-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org On Tue, May 03, 2011 at 11:30:35PM +0200, 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. For the CRIS-part: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson-VrBV9hrLPhE@public.gmane.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from anubis.se.axis.com (anubis.se.axis.com [195.60.68.12]) by ozlabs.org (Postfix) with ESMTP id 6F252B6F7E for ; Wed, 4 May 2011 20:56:03 +1000 (EST) Date: Wed, 4 May 2011 12:48:41 +0200 From: Jesper Nilsson To: Sven Eckelmann Subject: Re: [PATCH] atomic: add *_dec_not_zero Message-ID: <20110504104841.GE16179@axis.com> References: <1304458235-28473-1-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1304458235-28473-1-git-send-email-sven@narfation.org> Cc: "linux-arch@vger.kernel.org" , "linux-mips@linux-mips.org" , "linux-m68k@lists.linux-m68k.org" , "linux-m32r@ml.linux-m32r.org" , "linux-ia64@vger.kernel.org" , linux-cris-kernel , "linux-parisc@vger.kernel.org" , "linux-s390@vger.kernel.org" , "linux-sh@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Chris Metcalf , David Howells , "linux-am33-list@redhat.com" , "linux-alpha@vger.kernel.org" , "sparclinux@vger.kernel.org" , "uclinux-dist-devel@blackfin.uclinux.org" , "x86@kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, May 03, 2011 at 11:30:35PM +0200, 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. For the CRIS-part: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: jesper.nilsson@axis.com (Jesper Nilsson) Date: Wed, 4 May 2011 12:48:41 +0200 Subject: [PATCH] atomic: add *_dec_not_zero In-Reply-To: <1304458235-28473-1-git-send-email-sven@narfation.org> References: <1304458235-28473-1-git-send-email-sven@narfation.org> Message-ID: <20110504104841.GE16179@axis.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, May 03, 2011 at 11:30:35PM +0200, 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. For the CRIS-part: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson at axis.com