From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765965AbYDPRNU (ORCPT ); Wed, 16 Apr 2008 13:13:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753494AbYDPRNK (ORCPT ); Wed, 16 Apr 2008 13:13:10 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:55142 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755326AbYDPRNI (ORCPT ); Wed, 16 Apr 2008 13:13:08 -0400 Date: Wed, 16 Apr 2008 11:12:51 -0600 From: Matthew Wilcox To: Arjan van de Ven Cc: Oliver Neukum , Ingo Oeser , Linus Torvalds , Andi Kleen , Peter Zijlstra , Bart Van Assche , Roland Dreier , Ingo Molnar , Daniel Walker , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Replace completions with semaphores Message-ID: <20080416171251.GQ9191@parisc-linux.org> References: <4803AD91.5020001@firstfloor.org> <200804161807.25582.ioe-lkml@rameria.de> <20080416161652.GK9191@parisc-linux.org> <200804161831.10510.oliver@neukum.org> <20080416095026.658bdd21@laptopd505.fenrus.org> <20080416165811.GO9191@parisc-linux.org> <20080416100849.01a742aa@laptopd505.fenrus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080416100849.01a742aa@laptopd505.fenrus.org> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 16, 2008 at 10:08:49AM -0700, Arjan van de Ven wrote: > or we return a cookie, and define some sort of "cookie_is_error()" thing I was considering that, but then we can't rely on __must_check to warn whether people are actually checking the errno or just storing the cookie somewhere. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."