[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#695182: linux-image-3.2.0-4-686-pae: Write couple of 1GB files for OOM crash



Dear Ben,

> It's not a crash, though that's kind of an academic distinction.

What would you like me to call it instead? The machine seemed to
hang... do not know if rebooted spontaneously or in response to a
"shutdown -r now" that I had typed into an un-responsive xterm.

> Perhaps you could add some printk() statements to log the results of
> these various calculations, so you can sanity-check them.  You would
> probably want to make them conditional on the intitial value of x being
> negative (it's reused for something entirely different later so you
> would need to assign this condition to a separate variable).

I did, and am convinced that bdi_position_ratio() now does the "right
thing": returns something within [0,2] mostly, and internally seems OK.
I think I had my "corrected" bdi_position_ratio() in use during this
latest OOM episode.

---

Thanks again for your prompt fix of bdi_position_ratio(). I will now
look for that elusive "next bug".

Cheers, Paul

Paul Szabo   psz@maths.usyd.edu.au   http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics   University of Sydney    Australia


Reply to: