[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0904290224260.31490@chino.kir.corp.google.com>
Date: Wed, 29 Apr 2009 02:26:11 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Andrea Righi <righi.andrea@...il.com>
cc: akpm@...ux-foundation.org, Peter Zijlstra <peterz@...radead.org>,
Dave Chinner <david@...morbit.com>,
Christoph Lameter <cl@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: prevent divide error for small values of
vm_dirty_bytes
On Wed, 29 Apr 2009, Andrea Righi wrote:
> Avoid to set less than two pages for vm_dirty_byte: this is necessary to avoid
> potential division by 0 (like the following) in get_dirty_limits().
>
Where exactly is the divide by 0 in get_dirty_limits()?
Is this because we forced the background threshold to be half of the dirty
threshold when its setting is greater?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists