Subject: Re: Changes for proplib to reduce kernel bloat
To: None <>
From: Christos Zoulas <>
List: tech-kern
Date: 05/07/2006 16:40:50
In article <>,
Simon Burge  <> wrote:
>The patch below removes the XML conversion support from proplib when
>it's built for the kernel, for which I can see no obvious use.  With
>this patch, we get rid of a good chunk of the kernel bloat that new
>proplib adds.  For an evbppc/WALNUT kernel the sizes before proplib,
>with normal proplib, and with proplib with no XML import/export
>functionality are:
>	   text    data     bss     dec     hex filename
>	3837324  452840  232444 4522608  450270 netbsd.devprop
>	3856516  452968  234288 4543772  45551c netbsd.proplib
>	3843576  452880  233888 4530344  4520a8
>Anyone have any problems with applying this patch?

I think having the choice to compile it in or not is good (for size challenged
machines), but I can see a use of the XML code in the kernel such as
passing configuration properties between the kernel and userland via ioctl.