Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261778AbVAYCkY (ORCPT ); Mon, 24 Jan 2005 21:40:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261759AbVAYCiw (ORCPT ); Mon, 24 Jan 2005 21:38:52 -0500 Received: from omx3-ext.sgi.com ([192.48.171.20]:25266 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S261775AbVAYCgK (ORCPT ); Mon, 24 Jan 2005 21:36:10 -0500 Date: Mon, 24 Jan 2005 18:35:48 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: George Anzinger cc: Roland McGrath , Andrew Morton , Linus Torvalds , linux-kernel@vger.kernel.org, Ulrich Drepper Subject: Re: [PATCH 4/7] posix-timers: CPU clock support for POSIX timers In-Reply-To: <41F5AF72.8000502@mvista.com> Message-ID: References: <200501232325.j0NNPUg7006501@magilla.sf.frob.com> <41F5AF72.8000502@mvista.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1007 Lines: 20 On Mon, 24 Jan 2005, George Anzinger wrote: > > The apparent pervasive changes to posix-timers.c are simply that some > > fields of struct k_itimer have changed name and moved into a union. > > This was appropriate since the data structures required for the existing > > real-time timer support and for the new thread/process CPU-time timers are > > quite different. > > Possibly you could bury these name changes in defines. I suspect the code would > be easier to read and that we really don't need to be reminded that it is a > union on each reference. It would be great to have a kind of private field that other clocks (like clock drivers) could use for their purposes. mmtimer f.e. does use some of the fields for the tick based timers for its purposes. - 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/