[BusyBox] bug#1046: check_free_memory() on Linux 2.4.0

Erik Andersen andersen at lineo.com
Mon Oct 9 19:59:21 UTC 2000


On Fri Oct 06, 2000 at 11:46:37AM -0700, Larry Doolittle wrote:
> 
> Package: busybox
> Version: 0.47
> Severity: normal
> 
> The check_free_memory routine in init.c gets the wrong answer on
> Linux kernel 2.4.0test4.  The code looks bogus for other versions,
> too.  The attached patch is definitely clean for 2.4.0, and I
> believe 2.0.x as well.  I don't know about 2.2.x.
> 

The 2.4.x kernel was changed in linux 2.4.0-test8 so that sysinfo
is again binary compatible with the 2.0.x and 2.2.0 kernel series
(coutesy of a patch written by yours truly).  See 

    http://innominate.org/cgi-bin/lksr/linux/kernel/info.c.diff?r1=1.1.1.3&r2=1.1.1.4

for details.

While I am open to patches to make things work with 2.3.x and early 2.4.x-test
kernels, this patch is not the solution, as it will break support for all the
current 2.4.x kernels. 

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list