mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Align cache_clean work
@ 2009-04-01 10:45 Anton Blanchard
  2009-04-01 19:45 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Blanchard @ 2009-04-01 10:45 UTC (permalink / raw)
  To: linux-kernel; +Cc: arjan, akpm


Align cache_clean work.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: linux-2.6/net/sunrpc/cache.c
===================================================================
--- linux-2.6.orig/net/sunrpc/cache.c	2009-04-01 15:47:38.000000000 +1100
+++ linux-2.6/net/sunrpc/cache.c	2009-04-01 16:32:44.000000000 +1100
@@ -488,7 +488,7 @@
 {
 	int delay = 5;
 	if (cache_clean() == -1)
-		delay = 30*HZ;
+		delay = round_jiffies_relative(30*HZ);
 
 	if (list_empty(&cache_list))
 		delay = 0;

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

end of thread, other threads:[~2009-04-01 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01 10:45 [PATCH] Align cache_clean work Anton Blanchard
2009-04-01 19:45 ` Andrew Morton

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

Powered by JetHome