Eric W. Biederman wrote: > WANG Cong <[EMAIL PROTECTED]> writes: > >> Thanks for your point. >> I know little about virtualization, maybe can't help much. But I am >> interested >> in other things you mentioned. AFAIK, segments can't be avoided on i386, and >> Linux uses them very little, how are they recalculated constantly? > > Look in arch/i386/boot/setup.S it runs in 16bit mode. We are talking about > real mode segments not 16bit segments. > > 16bit real mode is a completely different ball game, and why we keep BIOS > calls isolated to that one dinky file. >
A lot of that code (although, of course, not all) could be written in C, though. I'm thinking of taking a stab at rewriting it that way. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/