lkml.org 
[lkml]   [2003]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[Patch 4/8] 2.4: Throttle ENOMEM warnings more aggressively.
The VM can fail normal allocations quite often under severe load.  The
VFS just ignores this in getblk, retrying silently, but ext3 emits a
warning; the patch just makes them a bit less frequent.

--- linux-2.4-ext3push/fs/jbd/journal.c.=K0003=.orig 2003-03-25 10:59:15.000000000 +0000
+++ linux-2.4-ext3push/fs/jbd/journal.c 2003-03-25 10:59:15.000000000 +0000
@@ -1660,7 +1660,7 @@ void * __jbd_kmalloc (char *where, size_
* messages. */
jbd_debug(1, "ENOMEM in %s, retrying.\n", where);

- if (time_after(jiffies, last_warning + 5*HZ)) {
+ if (time_after(jiffies, last_warning + 120*HZ)) {
printk(KERN_NOTICE
"ENOMEM in %s, retrying.\n", where);
last_warning = jiffies;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.043 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site