We just used two command “insmod” and “rmmod” to insert and remove the module from the Kernel.
And We also make some Pseudo programs for 2.4 and 2.6 compatible kernels.
What is the benefit of making some program using 2.6 version over 2.4 version and Vice Versa ?
And why we have to study 2.4v program while 2.6v program are more efficient in terms of memory management ???
2.4 and 2.6 are referred to the Kernel Version…
benefit of using linux 2.6 version of kernel over 2.4 version is 1)downward compatibility of 2.6 programs.
2)2.6 version can handle more complexities than 2.4 version.
we have to study version 2.4 because Most device developers still use 2.4 version for development and therefore Majority(around 95%) of code is still written using 2.4 version of the kernel.
hi
The main difference in 2.4 and 2.6 is Block-Layer Change from 2.4 to 2.6 Kernel, 2.4 deals with buffer_heads (bh)s and 2.6 deals with buffer_io (bio)s.
bh deals with a single page, so a single buffer transfer through bh can be only of PAGE_SIZE (normally 4KB) size.
bio the buffer is based on the array of pages, so request can be as much big as possible through bio … Although the bh still exists in 2.6 kernel at the buffer_cache layer but not available block-layer!
Advantages of 2.4 over 2.6 in terms of server use.
2.4 being more tested/stable/reliable and 2.6 not being suited for ancient hardware.
In the three years of active development leading up to the recent release of the new 2.6 Linux kernel, some interesting changes took place, the Linux kernel is developed and tested. The methods used to develop the Linux kernel are much the same today as they were 3 years ago. Several key changes have improved overall stability as well as quality.