The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
60 views

Linux source reading without #ifdef [on hold]

I want to read Linux source code. Problem here is: source tree contains many files that are needed by different architectures. #ifdef conditionals distracts while reading code. I think, if somehow ...
0
votes
3answers
106 views

Can the Linux kernel be described as a Server?

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 ...
-1
votes
1answer
58 views

Finding register parameters for system calls

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, ...
1
vote
1answer
242 views

What does using pointer in Linux kernel imply?

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 ...
0
votes
1answer
30 views

Accessing struct attribute: casting vs field name

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 ...
5
votes
1answer
365 views

Why do some embedded projects shun cross-compiling?

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 ...
-1
votes
1answer
260 views

Linux kernel development

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 ...
-1
votes
2answers
572 views

Theoretical basis for (Linux) kernel development

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 ...
0
votes
2answers
344 views

Are monolith and microkernel design patterns or strategies?

What's the difference between a design pattern and a strategy? Is the monolith actually an anti-pattern?
3
votes
3answers
2k views

What is a good way to learn about multicore programming at the kernel level in Linux? [closed]

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 ...
2
votes
2answers
298 views

Estimation Techniques for Linux Kernel Development

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 ...
5
votes
3answers
3k views

reading and understanding c code

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 ...