Skip to main content

Home/ KIIT_CSE_IT/ Group items tagged kernel

Rss Feed Group items tagged

Parin Sharma

How the Linux kernel works | TuxRadar Linux - 0 views

  • The kernel makes its services available to the application programs that run on it through a large collection of entry points, known technically as system calls.
  • From a programmer's viewpoint, these look just like ordinary function calls, although in reality a system call involves a distinct switch in the operating mode of the processor from user space to kernel space. Together, the repertoire of system calls provides a 'Linux virtual machine', which can be thought of as an abstraction of the underlying hardware.
  • An even less visible function of the kernel, even to programmers, is memory management. Each process runs under the illusion that it has an address space (a valid range of memory addresses) to call its own.
  • ...5 more annotations...
  • Note that specific application protocols such as FTP, DNS or HTTP are implemented by user-level programs and aren't part of the kernel.
  • the kernel provides a large collection of modules that know how to handle the low-level details of talking to hardware devices - how to read a sector from a disk, how to retrieve a packet from a network interface card and so on. These are sometimes called device drivers.
  • In contrast, modern Linux kernels are modular: a lot of the functionality is contained in modules that are loaded into the kernel dynamically.
  • This keeps the core of the kernel small and makes it possible to load or replace modules in a running kernel without rebooting.
  • This tells modprobe to include the probe_mask=1 option every time it loads the snd-hda-intel module. Some recent Linux distrubutions split this information up into multiple files under /etc/modprobe.d rather than putting it all in modprobe.conf.
Parin Sharma

An introduction to Linux kernel programming - Lesson 1: Building and running a new Linu... - 0 views

  •  
    Nice tutorial for Linux Compilation!!
Parin Sharma

GRUB tips and tricks - 0 views

  • First, what exactly is GRUB? GRUB is a boot loader, which means it passes control of the boot process from the Power-On Self Test (POST) to the kernel of your GNU/Linux distribution. GRUB works in a modular, layered fashion so that any unneeded modules are not loaded. Not only does this reduce execution time, but it saves valuable resources when running from removable media. GRUB optionally loads its configuration file at run/boot time, so you don’t have to type in commands manually each time.
1 - 20 of 21 Next ›
Showing 20 items per page