Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754075AbXJVPas (ORCPT ); Mon, 22 Oct 2007 11:30:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752421AbXJVPal (ORCPT ); Mon, 22 Oct 2007 11:30:41 -0400 Received: from ftp.linux-mips.org ([194.74.144.162]:52767 "EHLO ftp.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751677AbXJVPak (ORCPT ); Mon, 22 Oct 2007 11:30:40 -0400 Date: Mon, 22 Oct 2007 16:29:12 +0100 From: Ralf Baechle To: Alexey Dobriyan Cc: Al Viro , torvalds@osdl.org, akpm@osdl.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH 1/2] irq_flags_t: intro and core annotations Message-ID: <20071022152912.GA841@linux-mips.org> References: <20071020235546.GB1825@martell.zuzino.mipt.ru> <20071021005418.GU8181@ftp.linux.org.uk> <20071021093042.GA2144@martell.zuzino.mipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071021093042.GA2144@martell.zuzino.mipt.ru> User-Agent: Mutt/1.5.14 (2007-02-12) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 603 Lines: 16 On Sun, Oct 21, 2007 at 01:30:42PM +0400, Alexey Dobriyan wrote: > irq_flags_t > > New type for use with spin_lock_irqsave() and friends. Talking about it, why did we ever require this to be a long anyway? I could get away with a single bit for MIPS; the rest of this variable is pure bloat. An abstract datatype could help finally fix this. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/