[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: badblock leaks system memory?



Hi,

"Mulyadi Santosa" <mulyadi.santosa@xxxxxxxxx> writes:

> Hi
>
> On Sun, Jun 1, 2008 at 12:33 PM, Johannes Weiner <hannes@xxxxxxxxxxxx> wrote:
>> It only drops clean stuff.  So sync first manually.
>
> Hm, really? Isn't that also forcing sync?

No.  See drop_caches_sysctl_handler() calling drop_pagecache() calling
__invalidate_mapping_pages().  The latter skips dirty pages and those
getting written back currently.

	Hannes

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ