On Thu, 2008-05-01 at 11:58 +0200, Andi Kleen wrote: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_ an issue. 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. We're quite capable of having "function calls" which in some configurations just turn out to be empty macros, etc... He wasn't talking about one specific system. There'll be an element of both. Stuff like shrinking the rbtree structure by encoding the colour in the low bits of the parent pointer, perhaps? :) Potentially at a cost of higher boot time, which is another commonly-cited issue for such devices. I've never been that convinced about XIP. Flash is more expensive than RAM, and cheap flash is NAND and not XIP-able these days anyway. The only really convincing motivation for XIP would be the _power_ budget, and if your power budget is _that_ tight, then often you'd be better off with something like eCos instead of Linux anyway. Don't worry -- we're not going to start seeing a flurry of patches adding CONFIG options and turning Linux into #ifdef hell :) -- dwmw2 --
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [2.6.22.2 review 05/84] Fix deadlocks in sparc serial console. |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrew Morton | -mm merge plans for 2.6.23 |
git: | |
| Jeff Kirsher | [RESEND][NET-NEXT PATCH 01/29] ixgbe: fix bug where using wake queue instead of st... |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Patrick McHardy | Re: [GIT]: Networking |
| Manuel Bouyer | Re: Interactive performance in -current |
| Christian Limpach | Re: newfs: determining file system parameters |
| YAMAMOTO Takashi | Re: statvfs(2) replacement for statfs(2) patch |
| Charles M. Hannum | Re: kern/22869: Slave IDE drive not detected |
