Skip to content
Advertisement

Tag: linux-kernel

How do I debug Android native code into kernel?

I compiled goldfish kernel with: I started the AVD with the compiled kernel. emulator -kernel goldfish/arch/arm/boot/zImage -avd TestAVD I pushed a compiled c program onto AVD. And I downloaded the libs (I’m not sure if it’s the proper way) run gdbserver: forward port: run gdb specify the search directory: connect to device I breaked at, for example, close. I couln’d

tickless kernel , isolcpus,nohz_full,and rcu_nocbs

I have add “isolcpus=3 nohz_full=3 rcu_nocbs=3” in grub.conf in RedHat 7.1 , kernel: linux 3.10.0-229 kernel and according to http://www.breakage.org/2013/11/15/nohz_fullgodmode/ I also execute the following command : The box has only 4 cpu cores , I run the following shell : look like work perfect , only cpu0 Local timer interrupts has 2000 per 2 secs, the else cpu 1

Where are inodes stored at?

I recently started learning about the Linux kernel and I just learned about inodes, which are data-structures containing meta-data of a file. Now, how do the OS find the associated inode of a file? (Let’s say a string of a path). Moreover, where are those inode stored at? I mean, obviously they are stored on the disk but how is

How to make LKM multi-process safe?

I make simple LKM (Linux kernel module) to interact my MPI application (multi process per one compute node) at user level with kernel level information. I need to extract some data from kernel to the user level application at runtime. My MPI application uses few processes run on the same compute node simultaneously. My LKM provides two files in /proc.

Advertisement