Re: [PATCH v5 3/6] timekeeping: Add clocksource to system_time_snapshot

From
Paolo Bonzini <pbonzini@redhat.com>
Date
2019-10-15 22:35:31
Also in
kvm, kvmarm, linux-arm-kernel, lkml
Reply to
Thomas Gleixner, 2019-10-15
On 15/10/19 22:12, Thomas Gleixner wrote:
quoted hunk ↗ jump to hunk
@@ -91,6 +96,7 @@ struct clocksource {
 	const char *name;
 	struct list_head list;
 	int rating;
+	enum clocksource_ids id;
Why add a global id?  ARM can add it to archdata similar to how x86 has
vclock_mode.  But I still think the right thing to do is to include the
full system_counterval_t in the result of ktime_get_snapshot.  (More in
a second, feel free to reply to the other email only).

Paolo
Thread (30 messages) 30 messages, 4 authors, last reply 2019-10-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help