lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080501104158.GM20451@one.firstfloor.org>
Date:	Thu, 1 May 2008 12:41:58 +0200
From:	Andi Kleen <andi@...stfloor.org>
To:	David Woodhouse <dwmw2@...radead.org>
Cc:	Andi Kleen <andi@...stfloor.org>, Tim Bird <tim.bird@...sony.com>,
	torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
	Paul Gortmaker <paul.gortmaker@...driver.com>,
	linux-embedded@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/1] Embedded Maintainer(s), linux-embedded@...r list

> To a large extent, I agree. I certainly don't want to focus solely on
> code size; there's a lot more to embedded Linux than that. But it _is_

Not only code size, far more important is dynamic memory consumption.
[admittedly we right now lack a good instrumentation framework for this]

> There are some cases where we really _do_ want to have CONFIG options,
> but I agree that we should keep them to a minimum. And when we _do_ have
> CONFIG options, they don't have to litter the actual code with ifdefs.

The problem I see is more that really nobody can even compile not 
alone test all these combinations anymore. Hidding the problem in inlines
does not solve that. And no randconfig is not the solution either.

> > of years ago with some numbers 
> > (http://halobates.de/memory.pdf and http://halobates.de/memorywaste.pdf) 
> > And CONFIG is definitely not the right way to approach that, the right
> > way is better data structures, better algorithms to size tables, just
> > some general care etc.
> 
> Stuff like shrinking the rbtree structure by encoding the colour in the
> low bits of the parent pointer, perhaps? :)

Whatever pays off.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ