[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v3 1/2] mm: Try invalidate disk caches last when out of m
From: |
Daniel Kiper |
Subject: |
Re: [RFC PATCH v3 1/2] mm: Try invalidate disk caches last when out of memory |
Date: |
Thu, 13 Oct 2022 19:28:32 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Thu, Oct 13, 2022 at 09:29:18AM +0800, Zhang Boyang wrote:
> Previously, every heap grow will cause all disk caches invalidated,
> which decreases performance severely. This patch moves disk cache
> invalidation code to the last of memory squeezing measures, so disk
> caches are released only when no other ways to get free memory.
>
> Signed-off-by: Zhang Boyang <zhangboyang.id@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel