linux-alpha.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCH 0/14] Convert remaining arches to read/update_persistent_clock
@ 2009-12-23  3:59 john stultz
  2009-12-23  4:00 ` [RFC][PATCH 1/14] Convert alpha " john stultz
  2009-12-23  5:08 ` [RFC][PATCH 0/14] Convert remaining arches " Paul Mundt
  0 siblings, 2 replies; 8+ messages in thread
From: john stultz @ 2009-12-23  3:59 UTC (permalink / raw)
  To: lkml
  Cc: Richard Henderson, linux-alpha, Russell King, Haavard Skinnemoen,
	Mike Frysinger, Mikael Starvik, David Howells, Yoshinori Sato,
	Tony Luck, Hirokazu Takata, Geert Uytterhoeven, Koichi Yasutake,
	Kyle McMartin, Paul Mundt, David S. Miller

So as the timekeeping system has become more and more generic, folks
have been careful to allow a slow and steady evolution without breaking
all the arches at once, allowing each arch maintainer to convert over to
generic code when they're ready.

However, this slow conversion has forced us to keep multiple methods for
various functionality around, cluttering up the code and making
maintenance more difficult. Further, there's no central road-map or
notification to maintainers on when these new generic functions appear,
so its likely folks wouldn't notice until the old interfaces were
removed.

In this case the generic read_persistent_clock() and
update_persistent_clock() methods have been provided to allow the
generic timekeeping code to initialize xtime and set the persistent
clock when NTP is synced. However many arches haven't converted, so the
generic code has to handle the case where the arch is doing this
management itself.

This patch series tries to convert the following 14 architectures over
to use read_persistent_clock() and update_persistent_clock() as
applicable, killing off about 200 lines of arch specific code.

I'm posting this tonight in somewhat rough form (none of the code has
been compiled or tested) so I can get feedback tomorrow before I'm off
on vacation until the new year. I'd like to get these changes into
2.6.34 so further generic cleanups can be made.

Let me know what you think.

thanks
-john





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-12-24  5:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-23  3:59 [RFC][PATCH 0/14] Convert remaining arches to read/update_persistent_clock john stultz
2009-12-23  4:00 ` [RFC][PATCH 1/14] Convert alpha " john stultz
2009-12-23  5:08 ` [RFC][PATCH 0/14] Convert remaining arches " Paul Mundt
2009-12-23 10:08   ` Geert Uytterhoeven
2009-12-23 22:04   ` john stultz
2009-12-24  0:27     ` Dialup Jon Norstog
2009-12-24  4:54   ` David Miller
2009-12-24  5:10     ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).