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: <20120112101805.GA2375@turtle.usersys.redhat.com>
Date:	Thu, 12 Jan 2012 11:18:06 +0100
From:	Andrew Jones <drjones@...hat.com>
To:	Arnd Bergmann <arnd@...db.de>
Cc:	David Rientjes <rientjes@...gle.com>, akpm@...ux-foundation.org,
	linux-kernel@...r.kernel.org, mingo@...e.hu,
	david.woodhouse@...el.com, gregkh@...e.de, davem@...emloft.net,
	axboe@...nel.dk, holt@....com, linux-arch@...r.kernel.org,
	linux@....linux.org.uk, hskinnemoen@...il.com,
	egtvedt@...fundet.no, msalter@...hat.com, a-jacquiot@...com,
	starvik@...s.com, jesper.nilsson@...s.com, dhowells@...hat.com,
	takata@...ux-m32r.org, geert@...ux-m68k.org,
	yasutake.koichi@...panasonic.com, jonas@...thpole.se,
	kyle@...artin.ca, deller@....de, jejb@...isc-linux.org,
	chris@...kel.net, greg@...ah.com, davej@...hat.com,
	airlied@...ux.ie, jkosina@...e.cz, mchehab@...radead.org,
	johannes@...solutions.net, linville@...driver.com
Subject: Re: [PATCH] kconfig: untangle EXPERT and EMBEDDED

On Thu, Jan 12, 2012 at 09:18:52AM +0000, Arnd Bergmann wrote:
> On Wednesday 11 January 2012, David Rientjes wrote:
> > We discussed this when the patch was made to change EMBEDDED to EXPERT and 
> > we knew that things like CONFIG_SLOB exist that would only make sense on a 
> > platform with a very small memory footprint.  So what criteria are you 
> > using to determine what makes sense for EMBEDDED or not and what would be 
> > generally useful for platforms with very small memory footprints?
> > 
> > I would think that something like CONFIG_SMALLMEM would identify those 
> > candidates (for things like SLOB) and then you could separate the rest 
> > based on the platform they exist for since you're essentially introducing 
> > a new config symbol here that existed in the past but are now using it 
> > with different semantics.

No, I'm putting EMBEDDED back to work doing the same thing it did before,
i.e. the semantics for it are the same as they were before 6a108a14fa35.
This is not a revert of that patch though. I'm keeping EXPERT, but
ensuring it doesn't do everything EMBEDDED used to do. I'm ensuring it
only does what it advertises it does, which is to give a useful configmenu
cleanup symbol to the whole kernel.

> 
> The CONFIG_SMALLMEM would also require people to know what they are doing,
> beyond what we expect the average person building a kernel to, which is
> just what CONFIG_EXPERT means, and the same reason why we ended up renaming
> CONFIG_EMBEDDED to CONFIG_EXPERT. People have a very different understanding
> of what "embedded" actually means, and not all of those require small
> memory footprint or even a custom kernel. Let's just stay with CONFIG_EXPERT.

For the SLOB example, and everything else that is 'if EXPERT' after
6a108a14fa35, then don't worry, they are still 'if EXPERT'. See the patch.

I chose EMBEDDED to handle the side effects, simply because it used to
anyway. I think it's best that I leave any further customizing, such as
replacing EMBEDDED with SMALLMEM for particular options, to those that are
more familiar with those options. I can conceive of people wanting EXPERT
-> SMALLMEM -> SLOB type menus, but that's not in the scope of this patch.

Drew
--
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