Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [kernel]

Filter by
Sorted by
Tagged with
0 votes
4 answers
80 views

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 ...
dok's user avatar
  • 283
1 vote
2 answers
888 views

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 ...
Danila Berezin's user avatar
2 votes
0 answers
886 views

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 & ...
Skye's user avatar
  • 29
0 votes
2 answers
415 views

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, ...
SilverRain's user avatar
-1 votes
2 answers
949 views

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 ...
Abhinay Singh Negi's user avatar
-2 votes
5 answers
993 views

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 ...
Y.R's user avatar
  • 121
2 votes
1 answer
1k views

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 ...
S_pt1132's user avatar
2 votes
1 answer
98 views

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 ...
Simple Fellow's user avatar
2 votes
0 answers
364 views

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 ...
Ferdi265's user avatar
  • 129
1 vote
1 answer
140 views

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 ...
S. Rotos's user avatar
  • 121
3 votes
2 answers
457 views

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 ...
ar2015's user avatar
  • 138
2 votes
1 answer
2k views

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 ...
Cole's user avatar
  • 145
-2 votes
1 answer
309 views

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 ...
HumbleUser's user avatar
3 votes
2 answers
68 views

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'...
Melab's user avatar
  • 247
1 vote
1 answer
2k views

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 ...
Y07's user avatar
  • 127
3 votes
1 answer
145 views

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 ...
hgiesel's user avatar
  • 831
0 votes
1 answer
229 views

I'm working on a kernel for a proprietary embeded system. I've had no issues but I'd like to expand its capabilities directly. I made it run C. I did so pretty much by giving my kernel a stack. My ...
Mikeologist's user avatar
-3 votes
1 answer
293 views

I was reading about that that old patch. The summary of that link is to create a 4Gb kernel space, instead of 1Gb by default. Since many dma capable devices can only access 32 bit addresses or 4Gb, ...
Jdarc's user avatar
  • 3
43 votes
5 answers
7k views

Is spinlock and polling the same thing? Wikipedia: a spinlock is a lock which causes a thread trying to acquire it to simply wait in a loop ("spin") while repeatedly checking if the lock is ...
Lord Loh.'s user avatar
  • 1,787
0 votes
4 answers
7k views

How does a Kernel provides different functionality to OS? Does it use the BIOS routines or use special device drivers for this, or something else? If uses BIOS how does it come to know which routine ...
WhiteSword's user avatar
2 votes
1 answer
265 views

This is more of a conceptual question. I have learned about Neural Nets, and I have some clue as to how Support Vector Machines work. I read somewhere however that given the appropriate kernel (is ...
Josh F's user avatar
  • 131
-1 votes
2 answers
5k views

Well, the first question would be: Is it legal to take hold of the NT Kernel Source? If so, proceed to the second paragraph; if not, proceed to the third. The first thing you'd probably ask is "Why ...
Myrl's user avatar
  • 99
-1 votes
2 answers
1k views

KernelDevViewpoint (an apparently serious source) makes kernel development look like an accessible art. According to them: Contrary to popular belief, kernel developers rarely need to know math at ...
Quora Feans's user avatar
6 votes
1 answer
678 views

As far as I know Linus holds the copyright to Linux. While looking around in the kernel sources, I see that almost every file has it's own copyright holders. For example the file module.c in the ...
user2246190's user avatar
2 votes
2 answers
801 views

Let's say I am selling hardware that uses the linux kernel. Do I have to state somewhere that it is running linux(or other gpl code)? The reason I am asking this is because I bought a television, ...
user2246190's user avatar
4 votes
1 answer
316 views

Can any one please explain this piece of code I found in the linux kernel source. I see a lots of code like this in linux and minix kernel but dont seem to find what it does (even if C compilers ...
Broncha's user avatar
  • 238
20 votes
13 answers
9k views

On the Wikipedia page for Windows, it states the Windows is written in Assembly for the bootloader and task switcher, and C and C++ for kernel routines. IIRC, you can call C++ functions from an ...
Cole Tobin's user avatar
  • 1,533
0 votes
2 answers
715 views

What's the difference between a design pattern and a strategy? Is the monolith actually an anti-pattern?
Niklas Rosencrantz's user avatar
171 votes
12 answers
34k views

I'm really curious right now. I'm a Python programmer, and this question just boggled me: You write an OS. How do you run it? It has to be run somehow, and that way is within another OS? How can an ...
Thor Correia's user avatar
  • 1,433
3 votes
2 answers
859 views

I know very little about Smalltalk but I noticed that there's a frequent mention of the "kernel". Dan Ingalls prime maintainer of several implementations of Smalltalk also worked on a Javascript ...
rahmu's user avatar
  • 1,016
7 votes
4 answers
10k views

Almost all of the mobile phones, except the ones being produced by Intel, use ARM based processors while desktop/server industry is dominated x86 processors. What features does one provide over the ...
Chander Shivdasani's user avatar
241 votes
15 answers
62k views

I was recently assigned reading from the Tanenbaum-Torvalds debates in my OS class. In the debates, Tanenbaum makes some predictions: Microkernels are the future x86 will die out and RISC ...
2 votes
1 answer
3k views

I really want to start working in OS development, particularly kernel development, with the Open Source Darwin Project - building my own Mac-like operating system, however I am simply not experienced ...
Nathaniel Bennett's user avatar
17 votes
6 answers
26k views

Are there major differences between assembly language and higher level languages when it comes to coding and/or managing projects? Obviously it takes more statements in assembly language to carry out ...
user avatar
19 votes
5 answers
23k views

I'm a very ambitious university student who wishes to learn pretty much everything there is to know about computers (bash me if you want, I love learning). Recently I thought it would be a fun project ...
nopcorn's user avatar
  • 756
7 votes
4 answers
2k views

The Linux kernel is often listed as a code base which you are recommended to read and, even if it is poorly commented (or the files I have looked at have all been), it does have some really good code ...
Anto's user avatar
  • 11.2k
12 votes
5 answers
45k views

I am a student interested in working on Memory Management, particularly the page replacement component of the linux kernel. What are the different guides that can help me to begin understanding the ...
user avatar
14 votes
3 answers
10k views

Having taken a course in Operating Systems I'm interested in expanding my knowledge of the Linux kernel and practice working with a big system. What are some interesting but not overly difficult ...
EpsilonVector's user avatar