LWN.net Logo

Single kernel image for UP & SMP

Single kernel image for UP & SMP

Posted Dec 22, 2005 23:30 UTC (Thu) by renox (subscriber, #23785)
In reply to: Single kernel image for UP & SMP by zdzichu
Parent article: SMP alternatives

Well, as some others have remarked for this to work you have to remember which (spin)locks are taken, even on a UP processor thus loosing some performance in UP.

I think that even a minimal loss would be a hard sell to kernel developpers considering how little this UP<->SMP feature is going to be used..


(Log in to post comments)

Single kernel image for UP & SMP

Posted Dec 25, 2005 19:59 UTC (Sun) by efexis (guest, #26355) [Link]

There's no reason why you would have to do that (I won't repeat my last post). The speed differences would be down to the processor having to deal with the few noop's, eating up slightly more L1/L2 cache, and keeping in memory (and the kernel image file itself) - for those who worry about that - code for both scenario's.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds