RFC Convert remaining arches to read/update_persistent_clock
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest14 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | Convert alpha to read/update_persistent_clockarch/ arch/ | +50 | 0 replies | |
| 2/14 | Convert arm to read/update_persistent_clockarch/ arch/ arch/ +1 more | +14 | 1 reply | |
| 3/14 | Convert avr32 to read/update_persistent_clockarch/ | +6 | 0 replies | |
| 4/14 | Convert blackfin to read/update_persistent_clockarch/ arch/ | +13 | 0 replies | |
| 5/14 | Convert cris to read/update_persistent_clockarch/ arch/ arch/ +1 more | +18 | 0 replies | |
| 6/14 | Convert frv to read/update_persistent_clockarch/ | +7 | 1 reply | |
| 7/14 | Convert h8300 to read/update_persistent_clockarch/ | +7 | 0 replies | |
| 8/14 | Convert ia64 to read/update_persistent_clockarch/ | +5 | 0 replies | |
| 9/14 | Convert m32r to read/update_persistent_clockarch/ | +7 | 0 replies | |
| 10/14 | Convert m68k to read/update_persistent_clockarch/ | +7 | 0 replies | |
| 11/14 | Convert mn10300 to read/update_persistent_clockarch/ arch/ arch/ | +8 | 1 reply | |
| 12/14 | Convert parisc to read/update_persistent_clockarch/ | +13 | 0 replies | |
| 13/14 | Convert sh to read/update_persistent_clockarch/ | +1 | 0 replies | |
| 14/14 | Convert sparc to read/update_persistent_clockarch/ arch/ | +6 | 2 replies |
Reviews trailers per patch
2 of 14 patches have a Reviewed-by or Acked-by.
| Patch | David S. Miller | David Howells |
|---|---|---|
| 1/14 | ||
| 2/14 | ||
| 3/14 | ||
| 4/14 | ||
| 5/14 | ||
| 6/14 | A-b | |
| 7/14 | ||
| 8/14 | ||
| 9/14 | ||
| 10/14 | ||
| 11/14 | ||
| 12/14 | ||
| 13/14 | ||
| 14/14 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC][PATCH 0/14] Convert remaining arches to read/update_persistent_clock
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