Skip to content

Tag: linux-kernel

How to undo rm -rf? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …

Debian test if load average shows real value

How can I test that my kernel is showing the correct load average ? The load is always high on this server, and I doubt it’s the real one. I use kernel 3.2.0 and Debian version 7.3 Answer If you are planning get more info directly from kernel, then it’s better to look at /proc/sched_debug (this re…

the physical address of global descriptor table?

I’m reading the disassemble code of mit os’s kernel code. I think the kernel code should follow the same rule. I saw the instruction in the kernel that load the Global Descriptor Table is as follows: lgdtl 0x10f018 I know the lgdt takes the length of the GDT (16bit) and the address of the GDT (32b…

Capturing user-space variables at “perf” events

I’ve now been able to get perf to capture a user-space stack`, but I’m not sure how to convince it to capture values passed by reference as pointers, or to snapshot globals of interest. Specifically, I’m trying to analyse the system-wide performance of PostgreSQL under various loads with and…

Kernel Modul and SSL

at the moment I am working on the kernel module of ccn-lite (http://www.ccn-lite.net/). For that I need some security functionality (sha1 and public/private key authentificaton). For the user-space I use the openssl library, but I cannot use a library in the kernel module. It is also hard to pick the function…