Quotes of the week
The reason for this is quite simple: the current 31 bit kernel was broken for nearly a year before somebody noticed.
Posted Feb 13, 2014 3:40 UTC (Thu)
by jzbiciak (guest, #5246)
[Link] (5 responses)
Posted Feb 13, 2014 15:17 UTC (Thu)
by drag (guest, #31333)
[Link] (4 responses)
Posted Feb 14, 2014 17:41 UTC (Fri)
by giraffedata (guest, #1954)
[Link] (2 responses)
So when IBM decided to expand addressability beyond 24 bits in its 32 bit architecture, it was important that existing users, no matter how old, be able to use the longer addresses while still running programs, libraries, and OSes designed for 24 bits. That meant reserving a bit in many words that contain addresses to indicate whether the user of that address expected the old 24 bit addressing mode or the new one.
The Linux kernel terminology may obscure the fact, but the architecture is 32 bits in every way except the width of a basic virtual memory address.
Posted Feb 14, 2014 18:15 UTC (Fri)
by khim (subscriber, #9252)
[Link]
Your explanation is essentially correct but leaves one to wonder just how this one bit helped and why it was even needed. The reality is simple: IBM/360 and it's successors were always 32bit (later 64bit) but early models only used low 24bit for addressing memory and many programs took advantage of that and used few bits here and there as tagged pointers. IBM/370 expanded memory address beyond that, but simple idea to just start using the whole register to address memory was rejected since it broke old programs. Instead most significant bit was used as marker: if it was set then the rest was 31bit address, if it was unset then the rest 7 bits were ignored (and old programs or adaptations of old programs could have used it as tag). It's all described in wikipedia, actually.
Posted Feb 14, 2014 19:12 UTC (Fri)
by drag (guest, #31333)
[Link]
This and the fact that IBM had virtualization in their datacenters/mainframes decades before anybody else. x86_64 still hasn't caught up to were IBM was in the 90s.
Posted Feb 16, 2014 20:48 UTC (Sun)
by robbe (guest, #16131)
[Link]
Posted Feb 13, 2014 9:50 UTC (Thu)
by NAR (subscriber, #1313)
[Link] (1 responses)
Posted Feb 13, 2014 14:59 UTC (Thu)
by njwhite (guest, #51848)
[Link]
Quotes of the week
Quotes of the week
In this case, the special thing about the IBM world was a commitment to backward compatibility. You don't see that much in the modern world, but it was what made IBM - System/360 (aka s390): an architecture that let you run old software on a new computer.
IBM's "31-bit" architecture
IBM's "31-bit" architecture
IBM's "31-bit" architecture
Quotes of the week
A year too short?
A year too short?