Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1200995 > unrolled thread
| Started by | Rabin Vincent <rabin.vincent@axis.com> |
|---|---|
| First post | 2015-08-05 19:10 +0200 |
| Last post | 2015-08-05 19:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] writeback: fix initial dirty limit Rabin Vincent <rabin.vincent@axis.com> - 2015-08-05 19:10 +0200
Re: [PATCH] writeback: fix initial dirty limit Tejun Heo <tj@kernel.org> - 2015-08-05 19:20 +0200
| From | Rabin Vincent <rabin.vincent@axis.com> |
|---|---|
| Date | 2015-08-05 19:10 +0200 |
| Subject | [PATCH] writeback: fix initial dirty limit |
| Message-ID | <pUamu-7Eq-7@gated-at.bofh.it> |
The initial value of global_wb_domain.dirty_limit set by
writeback_set_ratelimit() is zeroed out by the memset in
wb_domain_init().
Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
---
mm/page-writeback.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 22cddd3..5cccc12 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -2063,10 +2063,10 @@ static struct notifier_block ratelimit_nb = {
*/
void __init page_writeback_init(void)
{
+ BUG_ON(wb_domain_init(&global_wb_domain, GFP_KERNEL));
+
writeback_set_ratelimit();
register_cpu_notifier(&ratelimit_nb);
-
- BUG_ON(wb_domain_init(&global_wb_domain, GFP_KERNEL));
}
/**
--
1.7.10.4
--
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/
[toc] | [next] | [standalone]
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Date | 2015-08-05 19:20 +0200 |
| Message-ID | <pUawa-7PL-7@gated-at.bofh.it> |
| In reply to | #1200995 |
On Wed, Aug 05, 2015 at 07:08:40PM +0200, Rabin Vincent wrote: > The initial value of global_wb_domain.dirty_limit set by > writeback_set_ratelimit() is zeroed out by the memset in > wb_domain_init(). > > Signed-off-by: Rabin Vincent <rabin.vincent@axis.com> Acked-by: Tejun Heo <tj@kernel.org> Thanks. -- tejun -- 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/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web