From: Andrew Morton <akpm@linux-foundation.org>
To: Andrea Righi <righi.andrea@gmail.com>
Cc: peterz@infradead.org, rientjes@google.com, david@fromorbit.com,
cl@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: prevent divide error for small values of vm_dirty_bytes
Date: Wed, 29 Apr 2009 14:46:55 -0700 [thread overview]
Message-ID: <20090429144655.e60fdf7a.akpm@linux-foundation.org> (raw)
In-Reply-To: <20090429093449.GB3151@linux>
On Wed, 29 Apr 2009 11:34:51 +0200
Andrea Righi <righi.andrea@gmail.com> wrote:
> --- a/Documentation/sysctl/vm.txt
> +++ b/Documentation/sysctl/vm.txt
> @@ -90,6 +90,10 @@ will itself start writeback.
> If dirty_bytes is written, dirty_ratio becomes a function of its value
> (dirty_bytes / the amount of dirtyable system memory).
>
> +Note: the minimum value allowed for dirty_bytes is two pages (in bytes); any
> +value lower than this limit will be ignored and the old configuration will be
> +retained.
Well. This implies that the write to the procfs file would appear to
succeed. One hopes that the write would in fact return -EINVAL or
such?
next prev parent reply other threads:[~2009-04-29 21:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-29 8:29 [PATCH] mm: prevent divide error for small values of vm_dirty_bytes Andrea Righi
2009-04-29 8:44 ` Peter Zijlstra
2009-04-29 9:34 ` Andrea Righi
2009-04-29 20:02 ` David Rientjes
2009-04-29 21:46 ` Andrew Morton [this message]
2009-05-01 14:56 ` Andrea Righi
2009-05-01 19:53 ` Andrew Morton
2009-04-29 9:26 ` David Rientjes
2009-04-29 9:40 ` Andrea Righi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090429144655.e60fdf7a.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=cl@linux-foundation.org \
--cc=david@fromorbit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rientjes@google.com \
--cc=righi.andrea@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox