Skip to main content

Questions tagged [linux-kernel]

Filter by
Sorted by
Tagged with
6 votes
2 answers
590 views

How is async logic implemented natively without threads? What would be the high level structure of the system? Is it just a separate OS thread that gets and pushes requests and results in 2 queues? I ...
codefast's user avatar
  • 179
2 votes
0 answers
887 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
-5 votes
2 answers
162 views

I have question regarding Linux kernel , as far as I understand, to make Linux compatible with different machines and hardware , different device driver is added to the Linux . I want to ask how much ...
user143252's user avatar
2 votes
2 answers
319 views

Let's say a process (P1) is asking for 100 MB of memory, and the RAM looks like this: [[50 MB free] [USED] [60 MB free] [USED]] Since there are technically enough memory that are available (110MB ...
qwerty_99's user avatar
  • 173
2 votes
3 answers
120 views

Say I have a reader and a producer that share a buffer. I have a wait queue for the reader to put itself in if there is no contents in the buffer when it reads. I also have an atomic variable for ...
silico-biomancer's user avatar
1 vote
2 answers
187 views

I know that the inode points to the actual disk blocks in the case of the normal file system. But what does it point to in the case of .... say .... the terminal device file. Does it point to the ...
ShayakSarkar's user avatar
0 votes
0 answers
108 views

Scenario:- The load balancer distributes traffic to backends with a simple round-robin mechanism. With default config, each backend is assigned weight "1" so all backends are given equal chance of ...
Abhijeet Rastogi's user avatar
-1 votes
1 answer
164 views

This is a very broad question, but maybe someone has a worthwhile response. There is a general synchronization issue that often has to be solved, but always seems to be difficult. Here's an example: ...
Elmore's user avatar
  • 115
3 votes
1 answer
127 views

Backstory I am writing a library that accesses the kernel module, uinput which allows you to create or take control of devices in /dev/input/event#, and insert events into them. A simple usecase would ...
Anon's user avatar
  • 3,649
-1 votes
1 answer
137 views

We have our own proprietary software that we are developing for commercial business. We want to sell the software and we do not have any problem in distributing the source code to our customers. Due ...
user9836's user avatar
1 vote
1 answer
294 views

I am working on some Linux kernel drivers for a specific embedded system (NVIDIA Tegra X1). I am using the kernel source provided by NVIDIA (L4T), which has its own default kernel config files. My ...
skrrgwasme's user avatar
0 votes
1 answer
191 views

Below is the design, that is implemented similar to design used in Linux/net/socket.c. Below design provide List abstraction, where, list.h provides List interface, show here Background: ...
overexchange's user avatar
  • 2,325
0 votes
3 answers
253 views

I am developping an Android application that is using NDK in order to access to data from the Linux kernel. As you may know, this is done using IPC (Inter Process Communication) through Android's ...
Radhwen's user avatar
  • 119
-1 votes
1 answer
438 views

By consulting various scattered tutorials and books, I've been able to learn that the 64-bit Linux "exit" system call is 60, and the status value is moved to edi. Similarly, "write" has call number 1, ...
Vale132's user avatar
  • 101
1 vote
1 answer
2k views

So far I was under the perspective that while working in the kernel code, working with memory implies working with long integers and not pointers because dereferencing pointers shouldn't be done in ...
TheMeaningfulEngineer's user avatar
0 votes
1 answer
80 views

I was just going over some kernel code, I noticed that rb->__rb_parent_color = (unsigned long)p | color; is kinda wired. The first field of a struct is accessed by casting the pointer and not by ...
Ramzi Kahil's user avatar
  • 1,089
4 votes
1 answer
766 views

As I've been getting into embedded systems I've noticed that some projects (Arch Arm and OpenBSD for example) frown upon cross compiling. What is the reasoning for this? Is a cross-compiled binary ...
ellipse-of-uncertainty's user avatar
-1 votes
1 answer
406 views

I am trying to understand the linux kernel and there is one thing that is puzzling me for quite a while. As linux is used across variety of platforms (like smartphones,desktop,supercomputers etc) and ...
curious's user avatar
  • 119
-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
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
4 votes
3 answers
3k views

I am interested in multicore programming at the kernel level. I expect this affects many areas and is probably different for each architecture. What are some must read sections of the kernel? If I ...
DeveloperDon's user avatar
  • 4,978
2 votes
2 answers
399 views

I am working in Linux Kernel area and my work includes: code study / Understanding Porting (say from one kernel version to another kernel version) Implementation of new kernel module / Device driver ...
Adil's user avatar
  • 123
39 votes
2 answers
85k views

I currently work in a professional capacity as a software engineer working with the Android OS. We work at integrating our platform as a native daemon among other facets of the project. I primarily ...
accordionfolder's user avatar
8 votes
3 answers
6k views

I want to understand the linux kernel code, and I have been going through it but I am not able to get the full feel of what is happening(I am concentrating on network part of the linux kernel), so can ...
user avatar