Questions tagged [kernel]
The kernel tag has no summary.
38 questions
2
votes
4
answers
166
views
Multithreaded Game Server: Single send() or Many send()s for Game List?
I'm developing a multithreaded game server (C/TCP). I need to send a list of 50-100 available games to a console client.
Option A: Send 50-100 separate messages, using send() for every single ...
1
vote
2
answers
892
views
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 ...
2
votes
0
answers
887
views
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 & ...
0
votes
2
answers
417
views
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, ...
-1
votes
2
answers
955
views
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 ...
-2
votes
5
answers
994
views
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 ...
2
votes
1
answer
1k
views
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 ...
2
votes
1
answer
101
views
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 ...
2
votes
0
answers
368
views
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 ...
1
vote
1
answer
141
views
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 ...
3
votes
2
answers
461
views
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 ...
2
votes
1
answer
2k
views
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 ...
-2
votes
1
answer
311
views
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 ...
3
votes
2
answers
69
views
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'...
1
vote
1
answer
2k
views
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 ...