[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smaller memory footprint for 'strict' policy - helping gentoo as well


On Tue, 31 May 2005 12:09:48 BST, Luke Kenneth Casson Leighton said:

>  okay - then i must have misunderstood what valdis has done that
>  reduces the memory footprint so dramatically.
> 
>  i mean, _yes_ of course, personally, i remove any policy
>  domains that aren't used, i assume that naturally _everybody_
>  does that because otherwise a package could be installed
>  without consent and it would work (whereas if the policy
>  isn't there, it will definitely fail).

The only thing that I really did was get very fascist about moving stuff to
unused/, (I have more things in unused/ than not) and identify a few things in
macros/program that need some work (I think I identified like 10 entire files
in there that *my* config totally doesn't need).  I suspect the reason I saw
such big savings is because some of the stuff in macros/program generates a
*lot* of $USER_foo_t types unnecessarily (thus the need for more ifdefs to
suppress that).

I'll make up a proper patch later this week when I have more time...

Attachment: pgpCYIVLFtdHW.pgp
Description: PGP signature



This mailing list archive is a service of Copilot Consulting.