Re: VM

From: Daniel Phillips (phillips@bonn-fries.net)
Date: Tue Oct 23 2001 - 11:15:36 EST


On October 23, 2001 07:38 am, Keith Owens wrote:
> Daniel Phillips <phillips@bonn-fries.net> wrote:
> >If you want to argue for something, argue for giving config the ability to
> >apply patches, that would be lots of fun.
>
> It is kbuild rather than config that needs the ability. I could do it
> trivially in kbuild 2.5, I almost added the facility at one time. Alas
> it breaks when you get overlapping patches, select one config or
> another and it works, select both (assuming they are not exclusive) and
> it breaks.

Yes, if someone was determined to set this up they'd have to laboriously
break up overlapping patches into common vs independent pieces, and determine
that other patches are simply mutually incompatible, thus requiring suitable
config rule restrictions. Wow, way too much work for the tree owner, and
things will re-break frequently when the patch owner makes updates.

Maybe this technique is something that would interest the FOLK guys, where
the goal is to produce a single tree with as many options as possible, and
where they're willing to put in extra maintainance work. Besides the two VM
designs, there's the XFS patch, which we don't have a good way of integrating
into a single tree just yet.

Please treat the above as idle speculation. It's evident that including
patches in kbuild is an express route to madness. For one thing, I'd no
longer be able to index the complete source tree for browsing.

> I don't have a solution and the symptoms of overlapping patches are
> worse than the problem that patches are trying to fix, so I left patch
> support out of kbuild 2.5. You can use shadow trees where you overlay
> a new implementation of a subsystem over the base kernel, then switch
> between versions by specifying which set of trees you are using.

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



This archive was generated by hypermail 2b29 : Tue Oct 23 2001 - 21:00:39 EST