Linux Kernel 2.4 Useful Patches

Web access to the GIT repository - GIT access to the repository

portability : Patches for Linux Kernel 2.4 to support uncommon platforms and/or various compilers

If you're looking for support for a newer compiler, or specific support for uncommon platforms, embedded devices or particular optimizations, you should check this.

Last update:2006/01/22
Description:Patches for Linux Kernel 2.4 to support uncommon platforms and/or various compilers
Abstract:If you're looking for support for a newer compiler, or specific support for uncommon platforms, embedded devices or particular optimizations, you should check this.

Contents
  • config-optim-geodegx : Add GeodeGX1 CPU Support - Kianusch Sayah Karadji - 2006/01/10
    This combination was partially recomended by Alan Cox (during inclusion in the 2.6.x tree) and provides much better performance over other combinations on this CPU.

  • gcc4-fixes : Patches making it possible to build the kernel with GCC 4 - Mikael Pettersson - 2006/01/30
    Those patches maintained by Mikael make it possible to build the whole 2.4 kernel with gcc version 4. They will not be merged into mainline to avoid another mess like with gcc-3.4 patches, but they can be useful for people relying on newer distros which only ship gcc 4.

  • i386-emu-rdtsc : Kernel emulation of user-space RDTSC instructions on i386 and above - Mikael Pettersson - 2006/01/30
    Some user-space applications erroneously rely on the presence of the RDTSC instruction on x86 CPUs while they should check its support first. This leads to Illegal Instruction signals causing the application to crash. Mikael's patch emulates the instruction in a clever way so that the values it returns follows a monotonous function over time.

  • option-boot-logo : Removes the boot logo when in frame-buffer mode - Willy Tarreau - 2006/01/09
    This patch adds an option to remove the boot logo, thus slightly reducing the kernel image and sometimes making the use of the frame buffer easier.

  • x86-emu : i486/i686 instructions emulation for low-end processors - Willy Tarreau - 2004/03/04
    This patch allows user space programs compiled for 486 to run on a 386 without crashing with a SIGILL. As any emulation, performance will be very low, but since these instruction are not often used, this might not hurt. The i686 emulation can have an impact though, because the CMOV instructions are often used in optimized code. Note that this patch must not be used on SMP systems and might even be at risk on hyperthreaded code.

  • zero-filesize-elf-segments : Fix handling of ELF segments with zero filesize - David Gibson - 2005/12/01
    mmap() returns -EINVAL if given a zero length, and thus elf_map() in binfmt_elf.c does likewise if it attempts to map a (page-aligned) ELF segment with zero filesize. Such a situation never arises with the default linker scripts, but there's nothing inherently wrong with zero-filesize (but non-zero memsize) ELF segments. Custom linker scripts can generate them, and the kernel should be able to map them; this patch makes it so.


(C) Willy Tarreau - 2008-06-01