8

From what I understand you are asking what are the technical benefits of zircon over linux? First of all zircon is a micro kernel as opposed to the linux monolithic kernel. So lets look at some of the advantages of an microkernel over a monolith: Segmentation, a micro kernel has a very segmented model and drivers live outside of the kernel. That means you ...


1

Computations on general-purpose registers ((a), (b), (d)) doesn't require any privileges. Input/output requires privileges, to access a peripheral or to communicate with the part of the system that manages files. So (c) does generally require going to kernel mode. It's possible for some printf calls to remain entirely within the calling process, for example ...


1

The link you provided has a clear definition: This tutorial discusses how to correctly invoke global constructors, such as those on global C++ objects. These are supposed to have run before your main function, which is why the program entry point is normally a function called _start. In most OSs, there is a step where the process' memory is filled with ...


1

The interrupt has nothing to do with a process. On a multi- processor system, a process can be killed five nanoseconds after starting to process an interrupt, and the PCB is gone. And with it, all the information about the interrupt that you stored. You don’t want to mix up interrupts and switching between processes. They are independent.


1

The operating system cannot continue using user-accessible memory when it is handling an interrupt, that program may be buggy, malicious, or worse. It may overwrite any part of its address space at any time. That includes the stack. The stack is often a critical part of the execution of a program, so the operating system has no choice other than to switch ...


Only top voted, non community-wiki answers of a minimum length are eligible