Skip to main content

Questions tagged [linux-kernel]

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

15 30 50 per page