Re:Intel and AMD Contemplate Different Replacements for x86 ...
by vlovich123 on Friday June 04, 2021 @04:35PM
(#27398786)
Could be handled by having the CPU switch to a different process while the kernel CPU faults the data in.
[ Parent
| on HN ]
Re:Intel and AMD Contemplate Different Replacements for x86 ...
by ben509 on Friday June 04, 2021 @04:58PM
(#27398995)
The CPU doesn't know what processes are, that's handled by the OS. So there still needs to be a fault.
Re:Intel and AMD Contemplate Different Replacements for x86 ...
by vlovich123 on Friday June 04, 2021 @05:25PM
(#27399246)
You’re thinking about computer architecture as designed today. There’s no reason there isn’t a common data structure defined that the CPU can use to select a backup process, much how it uses page table data structures in main memory to resolve TLB misses.
Re:Intel and AMD Contemplate Different Replacements for x86 ...
by gpderetta on Saturday June 05, 2021 @04:01AM
(#27403158)
X86 had the concept of harware assisted context switching. Yet another unsued feature dropped in 64bit mode.
Re:Intel and AMD Contemplate Different Replacements for x86 ...
by Woodi on Saturday June 05, 2021 @05:56PM
(#27408748)
It was slow so operating system devs didn't use it. So it was removed. Probably becouse hardware saved, properly, all registers and software can save only needed few (and sometimes miss something).
In effect: we don't know how secure it was...
But if it was good and Intel removed it then why Intel keeps so many useless crap in ?? Good parts - remove, bad - needed for backward compatibility... Can, finally, someone tell backward compatibility with WHAT ? DOS 4.0 ? Drivers for pre-winonly modems using plain ISA or PCI slots ??
Or maybe just like with EVE Online code (few years ago?) - no one anymore knows how some parts works...
Re:Intel and AMD Contemplate Different Replacements for x86 ...
by pjc50 on Friday June 04, 2021 @05:27PM
(#27399256)
Just to make it explicit for the people having trouble, the mechanism for switching processes in a pre-emptive multitasking system is interrupts.
Re:Intel and AMD Contemplate Different Replacements for x86 ...
by DblPlusUngood on Friday June 04, 2021 @05:08PM
(#27399099)
In some cases, yes (if there are other runnable threads on this CPU's queue).