From: Linus Torvalds Subject: Re: [PATCH][RFC] time: add wait_interruptible_timeout macro to sleep (w. timeout) until wake_up Date: Fri, 26 Feb 2010 17:04:19 -0800 (PST) Message-ID: References: <1266761422-2921-1-git-send-email-zajec5@gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: =?ISO-8859-2?Q?Rafa=B3_Mi=B3ecki?= Cc: Andrew Morton , Thomas Gleixner , Ingo Molnar , Linux Kernel Mailing List , DRI List-Id: dri-devel@lists.freedesktop.org On Fri, 26 Feb 2010, Rafa=C5=82 Mi=C5=82ecki wrote: > > Following macro is soemthing that seems to work fine for us, but inst= ead > introducing this to radeon KMS only, I'd like to propose adding this = to whole > wait.h. Do you this it's something we should place there? Can someone= take this > patch for me? Or maybe you find this rather useless and we should kee= p this > marco locally? This does not smell generic to me. In fact, it makes me personally thin= k=20 you're doing something wrong in the first place, but maybe it's ok. But= in=20 case it really is ok, I'd still not put it in a generic header file unl= ess=20 you can point to other cases where it really makes sense to do this. Linus