Re: Linux 2.6.22: had to reboot after OOM

2007-07-17 Thread Andrew Morton
On Sun, 15 Jul 2007 15:03:21 +0300 Sami Farin <[EMAIL PROTECTED]> wrote: > After I got this error [1], system got real slow, like 386 having 32 MB of RAM > and swapping constantly. > My system is P4 SMP with 1GB of RAM. > > I got this same behavior with 2.6.19, too, but then I used GNU cp v6.9 >

Linux 2.6.22: had to reboot after OOM

2007-07-15 Thread Sami Farin
After I got this error [1], system got real slow, like 386 having 32 MB of RAM and swapping constantly. My system is P4 SMP with 1GB of RAM. I got this same behavior with 2.6.19, too, but then I used GNU cp v6.9 which had micro-optimization which did not bother doing read() for regular files, like