Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:kernel [2008/03/05 16:48]
a great compiling tip
linux:kernel [2009/05/25 00:35] (current)
Line 1: Line 1:
 ====== Linux kernel ====== ====== Linux kernel ======
 +
 +
  
  
Line 18: Line 20:
 ** SMP/DualCore compiling tip ** ** SMP/DualCore compiling tip **
    # CONCURRENCY_LEVEL=4 make-kpkg --initrd --rootcmd=fakeroot --append-to-version=<version> kernel_image    # CONCURRENCY_LEVEL=4 make-kpkg --initrd --rootcmd=fakeroot --append-to-version=<version> kernel_image
 +
 +==== Cross-compiling ====
 +
 +see: http://michael-prokop.at/blog/2007/01/21/cross-compile-the-linux-kernel-on-debian/
 +
 +Adjust $KERNELSOURCE/Makefile to:
 +
 +   ARCH            = powerpc
 +   CROSS_COMPILE   = powerpc-linux-gnu-
 +
 +   export ARCH=powerpc
 +
 +   make-kpkg --arch powerpc ...
 +
 +
 +
  
 ===== kernel lab ===== ===== kernel lab =====
Line 32: Line 50:
  
    for a in router1 router2 router3 ...; do kernellab "$a"; done    for a in router1 router2 router3 ...; do kernellab "$a"; done
 +
  
 =====  IO scheduler ===== =====  IO scheduler =====
 +    *  Completely Fair Queuing—elevator=cfq
 +    * Deadline—elevator=deadline
 +    * NOOP—elevator=noop
 +    * Anticipatory—elevator=as
  
    image = /boot/vmlinuz26113    image = /boot/vmlinuz26113
linux/kernel.1204732119.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready