| Submitter | Andrew Morton |
|---|---|
| Date | May 12, 2009, 8:47 p.m. |
| Message ID | <200905122106.n4CL6ovd009895@imap1.linux-foundation.org> |
| Download | mbox | patch |
| Permalink | /patch/27107/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
diff -puN net/sunrpc/cache.c~sunrpc-align-cache_clean-works-timer net/sunrpc/cache.c --- a/net/sunrpc/cache.c~sunrpc-align-cache_clean-works-timer +++ a/net/sunrpc/cache.c @@ -488,7 +488,7 @@ static void do_cache_clean(struct work_s { int delay = 5; if (cache_clean() == -1) - delay = 30*HZ; + delay = round_jiffies_relative(30*HZ); if (list_empty(&cache_list)) delay = 0;