Potential problem with kernel 2.2.4 | Linux Today

Potential problem with kernel 2.2.4

Written By
Web Webster
Web Webster
Mar 24, 1999

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);
 }
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.