lkml.org 
[lkml]   [2012]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs
On 08/15/2012 02:26 AM, Alex Williamson wrote:
>
> Yes, I understand. It's simple, it's also very specific to this
> problem, and doesn't address generic ack notification. All of which
> I've noted before and I continue to note that v8 offers simplifications
> while retaining flexibility. Least amount of code doesn't really buy us
> much if we end up needing to invent new interfaces down the road because
> we've created such a specific solution here. Thanks,
>

One side of the coin is trying to create one generic interface instead
of multiple specific interfaces. The other side is that by providing a
generic interface, you sometimes expose internal implementation details,
or you constrain future development in order to preserve that interface.
If the generic interface is not actually exploited, you get pain for no
gain.

This tradeoff is different for every feature. Right now I'm leaning
towards specialized interfaces here, because we expose quite a lot of
low-level detail. However I'll review v8 soon and see.

--
error compiling committee.c: too many arguments to function


\
 
 \ /
  Last update: 2012-08-15 16:01    [W:2.039 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site