From: Michal Hocko <mhocko@kernel•org>
To: Arnd Bergmann <arnd@arndb•de>
Cc: Nishanth Menon <nm@ti•com>, Johannes Weiner <hannes@cmpxchg•org>,
Rik van Riel <riel@surriel•com>,
Catalin Marinas <catalin.marinas@arm•com>,
Roman Gushchin <guro@fb•com>,
Santosh Shilimkar <santosh.shilimkar@oracle•com>,
Dave Chinner <david@fromorbit•com>,
Russell King - ARM Linux admin <linux@armlinux•org.uk>,
Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
Tero Kristo <t-kristo@ti•com>, Linux-MM <linux-mm@kvack•org>,
Yafang Shao <laoar.shao@gmail•com>,
Al Viro <viro@zeniv•linux.org.uk>,
Santosh Shilimkar <ssantosh@kernel•org>,
linux-fsdevel <linux-fsdevel@vger•kernel.org>,
kernel-team@fb•com, Kishon Vijay Abraham I <kishon@ti•com>,
Linus Torvalds <torvalds@linux-foundation•org>,
Andrew Morton <akpm@linux-foundation•org>,
Linux ARM <linux-arm-kernel@lists•infradead.org>
Subject: Re: [PATCH] vfs: keep inodes with page cache off the inode shrinker LRU
Date: Tue, 10 Mar 2020 10:16:37 +0100 [thread overview]
Message-ID: <20200310091637.GC8447@dhcp22.suse.cz> (raw)
In-Reply-To: <CAK8P3a1HEhwie1uUObQMJyGcs_WSwz4Gj81tAWXZX4d2ff77XA@mail.gmail.com>
I am worried this went quite tangent to the original patch under
discussion here, but let me clarify at least one point.
On Mon 09-03-20 16:04:54, Arnd Bergmann wrote:
> On Mon, Mar 9, 2020 at 3:05 PM Russell King - ARM Linux admin
[...]
> > What happened to requests for memory from highmem being able to be
> > sourced from lowmem if highmem wasn't available? That used to be
> > standard kernel behaviour.
>
> AFAICT this is how it's supposed to work, but for some reason it
> doesn't always. I don't know the details, but have heard of recent
> complaints about it. I don't think it's the actual get_free_pages
> failing, but rather some heuristic looking at the number of free pages.
This is indeed the case. There are low memory reserves which are not
allowed for requests which can be satisfied from higher zones. This is
the case for many many years. Just have a look at lowmem_reserve and
their usage in __zone_watermark_ok. The layout of the reserves can be
configured by /proc/sys/vm/lowmem_reserve_ratio.
HTH
--
Michal Hocko
SUSE Labs
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-03-10 9:16 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200211175507.178100-1-hannes@cmpxchg.org>
[not found] ` <29b6e848ff4ad69b55201751c9880921266ec7f4.camel@surriel.com>
[not found] ` <20200211193101.GA178975@cmpxchg.org>
[not found] ` <20200211154438.14ef129db412574c5576facf@linux-foundation.org>
[not found] ` <CAHk-=wiGbz3oRvAVFtN-whW-d2F-STKsP1MZT4m_VeycAr1_VQ@mail.gmail.com>
[not found] ` <20200211164701.4ac88d9222e23d1e8cc57c51@linux-foundation.org>
2020-02-12 1:03 ` [PATCH] vfs: keep inodes with page cache off the inode shrinker LRU Linus Torvalds
2020-02-12 8:50 ` Russell King - ARM Linux admin
2020-02-13 9:50 ` Lucas Stach
2020-02-13 16:52 ` Arnd Bergmann
2020-02-15 11:25 ` Geert Uytterhoeven
2020-02-15 16:59 ` Arnd Bergmann
2020-02-16 9:44 ` Geert Uytterhoeven
2020-02-16 19:54 ` Chris Paterson
2020-02-16 20:38 ` Arnd Bergmann
2020-02-20 14:35 ` Chris Paterson
2020-02-26 18:04 ` santosh.shilimkar
2020-02-26 21:01 ` Arnd Bergmann
2020-02-26 21:11 ` santosh.shilimkar
2020-03-06 20:34 ` Nishanth Menon
2020-03-07 1:08 ` santosh.shilimkar
2020-03-08 10:58 ` Arnd Bergmann
2020-03-08 14:19 ` Russell King - ARM Linux admin
2020-03-09 13:33 ` Arnd Bergmann
2020-03-09 14:04 ` Russell King - ARM Linux admin
2020-03-09 15:04 ` Arnd Bergmann
2020-03-10 9:16 ` Michal Hocko [this message]
2020-03-09 15:59 ` Catalin Marinas
2020-03-09 16:09 ` Russell King - ARM Linux admin
2020-03-09 16:57 ` Catalin Marinas
2020-03-09 19:46 ` Arnd Bergmann
2020-03-11 14:29 ` Catalin Marinas
2020-03-11 16:59 ` Arnd Bergmann
2020-03-11 17:26 ` Catalin Marinas
2020-03-11 22:21 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200310091637.GC8447@dhcp22.suse.cz \
--to=mhocko@kernel$(echo .)org \
--cc=akpm@linux-foundation$(echo .)org \
--cc=arnd@arndb$(echo .)de \
--cc=catalin.marinas@arm$(echo .)com \
--cc=david@fromorbit$(echo .)com \
--cc=guro@fb$(echo .)com \
--cc=hannes@cmpxchg$(echo .)org \
--cc=kernel-team@fb$(echo .)com \
--cc=kishon@ti$(echo .)com \
--cc=laoar.shao@gmail$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-fsdevel@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mm@kvack$(echo .)org \
--cc=linux@armlinux$(echo .)org.uk \
--cc=nm@ti$(echo .)com \
--cc=riel@surriel$(echo .)com \
--cc=santosh.shilimkar@oracle$(echo .)com \
--cc=ssantosh@kernel$(echo .)org \
--cc=t-kristo@ti$(echo .)com \
--cc=torvalds@linux-foundation$(echo .)org \
--cc=viro@zeniv$(echo .)linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox