Re: Change in default vm_dirty_ratio

Peter Zijlstra
2007-06-21T16:56:20Z

On Thu, 2007-06-21 at 12:54 -0400, Mark Lord wrote:
> Andrew Morton wrote:
> >
> > What do we actually want the kernel to *do*? Stated in terms of "when the
> > dirty memory state is A, do B" and "when userspace does C, the kernel should
> > do D".
>
> When we have dirty pages awaiting write-out,
> and the write-out device is completely idle,
> then we should be writing them out.
>
> That's the easy bit taken care of. ;)

Unless we're in laptop mode, in that case we want to procrastinate.. :-)