mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] remove wakeup_bdflush(0) from __alloc_pages()
  2001-04-24 23:49 Colonel
@ 2001-04-24 22:34 ` Marcelo Tosatti
  0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2001-04-24 22:34 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Colonel, lkml


Linus, 

Can you please apply the following patch ? 

It avoids allocators from waking up bdflush all the time even when it does
not have any job to do (ie no more than 30% (default) of dirty buffers). 

Thanks 

On Tue, 24 Apr 2001, Colonel wrote:

> From: Colonel <klink@clouddancer.com>
> To: marcelo@conectiva.com.br
> CC: linux-kernel@vger.kernel.org
> In-reply-to: <Pine.LNX.4.21.0104232030480.1264-100000@freak.distro.conectiva>
> 	(message from Marcelo Tosatti on Mon, 23 Apr 2001 20:31:12 -0300
> 	(BRT))
> Subject: Re: 2.4.4-pre6 :  THANKS!  very snappy here [nt]
> Reply-to: klink@clouddancer.com
> References:  <Pine.LNX.4.21.0104232030480.1264-100000@freak.distro.conectiva>
> 
>    Date: Mon, 23 Apr 2001 20:31:12 -0300 (BRT)
>    From: Marcelo Tosatti <marcelo@conectiva.com.br>
>    X-Sender: marcelo@freak.distro.conectiva
> 
> 
>    Just as curiosity --- did it got faster in pre5 ? 
> 
>    On Mon, 23 Apr 2001, Colonel wrote:
> 
>    > but since you read it, system seems like it's running twice as fast
> 
> 
> Actually, it made not be pre6.  I patched the kernel per some thread
> on LKML a few days before, but had not had the opportunity to reboot
> and run it until pre6.  The patch was :
> 
> 
> --- linux/mm/page_alloc.c.~1~	Tue Mar 20 15:05:46 2001
> +++ linux/mm/page_alloc.c	Sat Apr 21 19:01:47 2001
> @@ -454,7 +454,6 @@
>  		if (gfp_mask & __GFP_WAIT) {
>  			memory_pressure++;
>  			try_to_free_pages(gfp_mask);
> -			wakeup_bdflush(0);
>  			goto try_again;
>  		}
>  	}
> 
> 
> It would make more sense that the above change was responsible for the
> improvement.
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* (no subject)
@ 2001-04-24 23:49 Colonel
  2001-04-24 22:34 ` [PATCH] remove wakeup_bdflush(0) from __alloc_pages() Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Colonel @ 2001-04-24 23:49 UTC (permalink / raw)
  To: linux-kernel, marcelo

From: Colonel <klink@clouddancer.com>
To: marcelo@conectiva.com.br
CC: linux-kernel@vger.kernel.org
In-reply-to: <Pine.LNX.4.21.0104232030480.1264-100000@freak.distro.conectiva>
	(message from Marcelo Tosatti on Mon, 23 Apr 2001 20:31:12 -0300
	(BRT))
Subject: Re: 2.4.4-pre6 :  THANKS!  very snappy here [nt]
Reply-to: klink@clouddancer.com
In-Reply-To:  <Pine.LNX.4.21.0104232030480.1264-100000@freak.distro.conectiva>

   Date: Mon, 23 Apr 2001 20:31:12 -0300 (BRT)
   From: Marcelo Tosatti <marcelo@conectiva.com.br>
   X-Sender: marcelo@freak.distro.conectiva


   Just as curiosity --- did it got faster in pre5 ? 

   On Mon, 23 Apr 2001, Colonel wrote:

   > but since you read it, system seems like it's running twice as fast


Actually, it made not be pre6.  I patched the kernel per some thread
on LKML a few days before, but had not had the opportunity to reboot
and run it until pre6.  The patch was :


--- linux/mm/page_alloc.c.~1~	Tue Mar 20 15:05:46 2001
+++ linux/mm/page_alloc.c	Sat Apr 21 19:01:47 2001
@@ -454,7 +454,6 @@
 		if (gfp_mask & __GFP_WAIT) {
 			memory_pressure++;
 			try_to_free_pages(gfp_mask);
-			wakeup_bdflush(0);
 			goto try_again;
 		}
 	}


It would make more sense that the above change was responsible for the
improvement.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-04-25  0:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-24 23:49 Colonel
2001-04-24 22:34 ` [PATCH] remove wakeup_bdflush(0) from __alloc_pages() Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®