Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Potential problem with kernel 2.2.4

Mar 24, 1999, 11:57 (4 Talkback[s])

Linus Torvalds has released a one-liner fix to the 2.2.4 kernel, which contains a bug that might cause problems on heavily loaded servers.

Linus writes:

There's a potential problem under certain load conditions with 2.2.4, which should be fixed by this one-liner. If you have trouble with 2.2.4 (apart from the obvious one where you have to add ", NULL" to two places in kernel/acct.c), would you try this simple thing?

Note that I _really_ want to hear about if if this makes any difference at all. It's a real bug, but I think it needs some rather pathological usage patterns to actually become a real problem. So I'd like to know if it actually makes a difference in real life...

Linus

-----
--- v2.2.4/linux/fs/buffer.c    Tue Mar 23 14:35:48 1999
+++ linux/fs/buffer.c   Wed Mar 24 09:11:53 1999
@@ -854,6 +854,7 @@
        return;
    }
    remove_from_queues(buf);
+   buf->b_count = 0;
    put_last_free(buf);
 }