Re: [RFC PATCH 1/3] Weight-balanced tree

From: Avi Kivity
Date: Wed Feb 23 2011 - 12:08:58 EST


On 02/23/2011 07:02 PM, Alex Williamson wrote:
>
> obj-$(CONFIG_WEIGHT_BALANCED_TREE) += wbtree.o
>
> then kvm can select it, and the impact on non-kvm kernels is removed.

Then we'd have issues trying to build an external kvm module for a
pre-existing non-kvm kernel. Do we care?

Officially, no.

What we typically do in these cases is copy the code into the kvm-kmod compatibility layer and compile it if the kernel doesn't supply it (like all older kernels regardless of config).

If we were to take such a
path, I think the default should be on, kvm would depend on it, but we
could add an option to disable it for EMBEDDED/EXPERT. Thanks,

That would work as well.

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/