From: Ingo Molnar <mingo@elte.hu>
To: john stultz <johnstul@us.ibm.com>
Cc: lkml <linux-kernel@vger.kernel.org>,
Roman Zippel <zippel@linux-m68k.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [RFC] Move NTP related code to ntp.c
Date: Thu, 13 Jul 2006 11:04:34 +0200 [thread overview]
Message-ID: <20060713090434.GA7480@elte.hu> (raw)
In-Reply-To: <1152749914.11963.33.camel@localhost.localdomain>
* john stultz <johnstul@us.ibm.com> wrote:
> Hey all,
> I know I've been moving a bit slowly, but I wanted to get my current
> tree out there so folks could see where I'm heading w/ the timekeeping
> code now that the largest chunk of logical changes has landed.
looks good to me! A few minor nits:
> + * This code was mainly moved from kernel/timer.c and kerenl/time.c
s/kerenl/kernel
> + * Please see those files for relavent copyright info and historical
s/relavent/relevant
> +/*
> + * this routine handles the overflow of the microsecond field
> + *
> + * The tricky bits of code to handle the accurate clock support
> + * were provided by Dave Mills (Mills@UDEL.EDU) of NTP fame.
> + * They were originally developed for SUN and DEC kernels.
> + * All the kudos should go to Dave for this stuff.
> + *
> + */
remove the extra empty ' *' line above.
> +/* adjtimex mainly allows reading (and writing, if superuser) of
> + * kernel time-keeping variables. used by xntpd.
> + */
> +int do_adjtimex(struct timex *txc)
> +{
> + long ltemp, mtemp, save_adjust;
whitespace damage.
suggestion for future cleanups: this function (do_adjtimex()) should be
cleaned up further to conform to the kernel coding style standard.
(currently it has 4-space tabs, etc.) I did that before - maybe some of
those cleanups still apply?
[obviously that cleanup shouldnt be part of this move-the-code patch.]
Ingo
next prev parent reply other threads:[~2006-07-13 9:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-13 0:18 [RFC] Move NTP related code to ntp.c john stultz
2006-07-13 0:29 ` [RFC][PATCH] Kill i386 references to xtime john stultz
2006-07-13 9:12 ` Ingo Molnar
2006-07-13 9:04 ` Ingo Molnar [this message]
2006-07-13 11:43 ` [RFC] Move NTP related code to ntp.c Roman Zippel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060713090434.GA7480@elte.hu \
--to=mingo@elte.hu \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=zippel@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox