[Please, don't trim CC/To fields: LKML is too high traffic to read in
its entirety.]
Ananiev, Leonid I writes:
> Nikita Danilov writes:
> > Wouldn't this interfere with current->backing_dev_info logic?
>
> The proposed patch does not modify that logic.
Indeed, it *interferes* with it: in the original code, process doing
direct reclaim during balance_dirty_pages()
generic_file_write()->balance_dirty_pages()->...->__alloc_pages()->...->pageout()
performs page-out even if queue is congested. Intent of this is to
throttle writers, and reduce risk of running oom (certain file systems,
especially ones with delayed allocation, tend to allocate a lot of
memory in balance_dirty_pages()->writepages() paths).
Your patch breaks this mechanism.
Nikita.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]