Skip to content
Advertisement

Tag: kernel

Non-greedy repeat in gnu regular expression

I’m writing a network related program in linux. the program is in kernel space and not user space. All I need in this program is a regular expression library that supports all gnu regex library features plus non-greedy repeat. Is there any such library that has those features and also I can compile and use it in kernel space? Answer

Linux Kernel Memory Management Paging Levels

I’m reading through the book “Understanding Linux Kernel” by Bovet and Cesati. In the second chapter, under “Paging in Linux” the author mentions how Page Middle and Upper Directories are eliminated with 32 architectures not having PAE enabled. I’m having trouble following what the author means. They have been loose in their treatment and does not make a whole lot

How do I know if my server has NUMA?

Hopping from Java Garbage Collection, I came across JVM settings for NUMA. Curiously I wanted to check if my CentOS server has NUMA capabilities or not. Is there a *ix command or utility that could grab this info? Answer I’m no expert here, but here’s something: Box 1, no NUMA: Box 2, some NUMA:

The difference between initrd and initramfs?

As far as I know, initrd acts as a block device, thus requiring a filesystem driver (such as ext2). The kernel must have at least one built-in module for detecting filesystem of initrd. In this article, Introducing initramfs, a new model for initial RAM disks, it is written that: But ramdisks actually waste even more memory due to caching. Linux

In what context Kernel Thread runs in Linux?

I am newbie to Linux Kernel. I know that there are two context 1. Process Context, running in user space or in Kernel Space (for ex: as part of System call) 2. Interrupt Context In what context Kernel Thread (not related to any User Thread, for ex:flush task) runs ? Is there any other context other than Process and Interrupt

How do I execute javascript programs from the Linux shell?

I would like to execute my javascript programs with the Rhino shell without making the first line #!/bin/sh. ‘#’ isn’t a comment character in javascript. I also don’t want to have to have a .js extension. Is this possible? I remember reading something a long while about a method of making java programs to run without an explicit interpreter. Google

Advertisement