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

Erik Andersen andersen at lineo.com
Thu Nov 2 17:20:12 UTC 2000


On Wed Nov 01, 2000 at 04:53:41PM -0800, 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-test4,
> 2.4.0-test9, and I believe 2.0.x as well.  I don't know about 2.2.x.
> 
> This is my second stab at nailing this bug, I think you'll like
> this one much better.
> 
> Testing on a StrongARM with 32M of RAM:
>   Printout from linux-2.4.0-test4:
>     check_free_memory: ( 7749 + 0 ) * 4096 / 1024 -> 30996
>   Printout from linux-2.4.0-test9:
>     check_free_memory: ( 31662080 + 0 ) * 1 / 1024 -> 30920
> 
> I hope this goes in!
> 
>      - Larry Doolittle   <LRDoolittle at lbl.gov>

Ok... I'll take a look at this while I am on the plane (I'm flying
out to Toronto in about 30 min).  

 -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