Re: [KVM timekeeping 30/35] IOCTL for setting TSC rate

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Saturday, August 21, 2010 - 9:11 am

On Friday 20 August 2010 19:56:20 Glauber Costa wrote:

I don't think that would improve the code. Generally, we try to *avoid* using
structs in ioctl arguments, although KVM does have a precedent of using structs
there.

In fact, the code here could be simplified by using get_user/put_user on the
simple argument, which would not be possibly with a struct.

	Arnd
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[KVM timekeeping 30/35] IOCTL for setting TSC rate, Zachary Amsden, (Fri Aug 20, 1:07 am)
Re: [KVM timekeeping 30/35] IOCTL for setting TSC rate, Glauber Costa, (Fri Aug 20, 10:56 am)
Re: [KVM timekeeping 30/35] IOCTL for setting TSC rate, Arnd Bergmann, (Sat Aug 21, 9:11 am)