Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755165AbYCIURI (ORCPT ); Sun, 9 Mar 2008 16:17:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753618AbYCIUQo (ORCPT ); Sun, 9 Mar 2008 16:16:44 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:44475 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754752AbYCIUQn (ORCPT ); Sun, 9 Mar 2008 16:16:43 -0400 Date: Sun, 9 Mar 2008 20:03:39 +0000 From: Alan Cox To: Andrew Morton Cc: "Dave Young" , "Johannes Weiner" , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] add time_now_after and other macros which compare with jiffies Message-ID: <20080309200339.1e39689a@core> In-Reply-To: <20080309113601.b8552a79.akpm@linux-foundation.org> References: <200803080735.06984.hidave.darkstar@gmail.com> <877igd6vqn.fsf@saeurebad.de> <20080309095802.70d91c7b@core> <20080309113601.b8552a79.akpm@linux-foundation.org> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 614 Lines: 15 > a) the existing macros are (I believe) a right royal pita. It's very > hard to remember which order the args are supposed to be in. Its operator(first, second) - the C++ infix operators aren't available in C so there isn't much choice. Really we should be trying to stamp out all these uses of jiffies tests so that we can make tickless work ever better. Alan -- 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/