Questions tagged [kernel]
The kernel tag has no summary.
37 questions
1vote
2answers
768views
Why does linux require that newly added syscalls be supported permanently?
I was reading some of the documentation for the linux kernel and I stumbled upon an article about adding new syscalls to the linux kernel. The article essentially says that any syscall in the linux ...
2votes
0answers
836views
Better alternative for cherry picking across heavily diverged branches
I'm currently trying to update the linux kernel used in a xilinx SoC, my company has an internal repo/fork of xilinx open source linux with a bunch of kernel drivers for our custom hardware & ...
0votes
2answers
370views
On hanging Desktop-applications
I am filled with questions pertaining to the situations where a desktop-application hangs, possibly for minutes. I've got this complicated game-engine written in c++. Several times during development, ...
-1votes
2answers
923views
How can Monolithic kernel based OS are faster the Microkernels?
I have been studying about OS and currently, I am on "types of the kernel". Now in the book and some websites are saying Monolithic kernel-based OS is faster, but how are they faster than ...
-2votes
5answers
924views
Is an OS compiled every time it boots?
Is an OS compiled every time it boots, or is it compiled once and the result used every time the OS is (re)booted? When users change settings, is the compiled kernel modified at all? If I am the one ...
2votes
1answer
1kviews
How do ISRs and user threads synchronize and share data?
My question is more of educational than an actual coding problem. I tried searching the web, but got little help. I am trying to learn how to write ISR and understand how they interact with user ...
2votes
1answer
84views
Critical view of a particular application design
For a system, I have certain requirements should be soft realtime. should be able to handle lots of operations in parallel should have ability to add, remove, alter features should be able to ...
2votes
0answers
349views
Is it dangerous to link together -mno-red-zone and regular code?
I know that in x86_64, there exists a 128 byte red zone above (or below, address-wise) the stack pointer that functions can use without subtracting from rsp. This sounds to me like the only things ...
1vote
1answer
128views
How does disk wiping software access my hard disk?
I'm an amateur programmer. I have a lot of interest in the inner workings of operating systems, a subject that I've been reading a lot about. What I've understood about kernels is that on most ...
3votes
2answers
409views
What is a unikernel?
Today, I searched for includeOS and I found that it defines itself as a minimal unikernel. I am wondering what is UniKernel. The wikipedia explanations are not clear enough to me. Is unikernel an ...
2votes
1answer
2kviews
Are some operation system (kernels) more efficient with hardware than others?
When comparing the Windows, macOS, and Linux kernel to each other, do some make better use of hardware in terms of cache efficiently, page lookups, or power consumption? I noticed this after ...
-2votes
1answer
295views
Loading My Custom OS from USB flash drive
Suppose I want to create a portable OS, that needs a USB flash drive only to work. and i wrote my boatloader in the first sector to be loaded by the BIOS, from here on, what can I do to load my OS ...
3votes
2answers
61views
Executable verification in user mode
I am posting this here instead of on Stack Overflow because this is more conceptual. I am primarily thinking of this a Linux context, but this can be extended to other operating systems. When I didn'...
1vote
1answer
2kviews
Are there system calls like posix in assembly level using int number for windows
I want to write assembly program using windows syscall Interrupt number , so in order to use system call in assembly level using int of sys call, In windows are there kernel calls like posix ...
3votes
1answer
135views
Kernel operation
I'm trying to grasp the concept of an operating system at the moment (on Unix-like machines) The kernel is the process with PID 0. Of course the Kernel is not really "just another process" because a ...