On Sat, 16 Jun 2001, Daniel Phillips wrote:
> > Does the patch below do anything good for your laptop? ;)
>
> I'll wait for the next one ;-)
OK, here's one which isn't reversed and should work ;))
--- fs/buffer.c.orig Sat Jun 16 18:05:29 2001
+++ fs/buffer.c Sat Jun 16 18:05:15 2001
@@ -2550,7 +2550,8 @@
if the current bh is not yet timed out,
then also all the following bhs
will be too young. */
- if (time_before(jiffies, bh->b_flushtime))
+ if (++flushed > bdf_prm.b_un.ndirty &&
+ time_before(jiffies, bh->b_flushtime))
goto out_unlock;
} else {
if (++flushed > bdf_prm.b_un.ndirty)
cheers,
Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...
http://www.surriel.com/ http://distro.conectiva.com/
Send all your spam to [EMAIL PROTECTED] (spam digging piggy)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Re: 2.4.6-pre2, pre3 VM Behavior Roger Larsson
- Re: 2.4.6-pre2, pre3 VM Behavior John Stoffel
- Re: 2.4.6-pre2, pre3 VM Behavior Rik van Riel
- Re: 2.4.6-pre2, pre3 VM Behavior John Stoffel
- Re: 2.4.6-pre2, pre3 VM Behavior Rik van Riel
- spindown [was Re: 2.4.6-pre2, pre3 VM Behavior] Pavel Machek
- Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavio... Daniel Phillips
- Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavio... Rik van Riel
- Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavio... Rik van Riel
- Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavio... Daniel Phillips
- Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavio... Rik van Riel
- Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavio... Daniel Phillips
- Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavio... Mike Galbraith
- Re: (lkml)Re: spindown [was Re: 2.4.6-pre2, pre3 ... thunder7
- Re: (lkml)Re: spindown [was Re: 2.4.6-pre2, pre3 ... Mike Galbraith
- Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavio... Daniel Phillips
- Re: spindown [was Re: 2.4.6-pre2, pre3 VM Behavio... Mike Galbraith
- [RFC] Early flush (was: spindown) Daniel Phillips
- Re: [RFC] Early flush (was: spindown) Richard Gooch
- Re: [RFC] Early flush (was: spindown) Daniel Phillips
- Re: [RFC] Early flush (was: spindown) Richard Gooch

