From: Michal Hocko <mhocko@kernel.org>
To: Alex Richman <alex.r@gblabs.co.uk>
Cc: linux-man@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: mlock() confusing 1 half of system RAM limit
Date: Fri, 1 Jun 2018 15:41:54 +0200 [thread overview]
Message-ID: <20180601134154.GD15278@dhcp22.suse.cz> (raw)
In-Reply-To: <1ae5c450-1ffe-cf15-e878-b40f30c0acc3@gblabs.co.uk>
On Fri 01-06-18 14:24:23, Alex Richman wrote:
> Ah, that's it. Increased the limit on the mount and it works fine now.
Well, it is hidden very well. It is not until the page fault time (or
get_user_pages aka __mm_populate) when the operation fails and remasks
ENOSPC -> VM_FAULT_SIGBUS -> EFAULT -> ENOMEM on the way.
--
Michal Hocko
SUSE Labs
prev parent reply other threads:[~2018-06-01 13:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-01 9:53 mlock() confusing 1 half of system RAM limit Alex Richman
2018-06-01 11:44 ` Michal Hocko
2018-06-01 12:26 ` Alex Richman
2018-06-01 13:05 ` Michal Hocko
2018-06-01 13:24 ` Alex Richman
2018-06-01 13:41 ` Michal Hocko [this message]
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=20180601134154.GD15278@dhcp22.suse.cz \
--to=mhocko@kernel.org \
--cc=alex.r@gblabs.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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