From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Michal Hocko <mhocko@kernel.org>
Cc: Ashish Mhetre <amhetre@nvidia.com>,
linux-mm@kvack.org, akpm@linux-foundation.org, vdumpa@nvidia.com,
Snikam@nvidia.com
Subject: Re: [PATCH] mm: Disable movable allocation for TRANSHUGE pages
Date: Wed, 26 Sep 2018 00:00:02 +0300 [thread overview]
Message-ID: <20180925210001.j4olzx3fru4jpfys@kshutemo-mobl1> (raw)
In-Reply-To: <20180925183019.GB22630@dhcp22.suse.cz>
On Tue, Sep 25, 2018 at 08:30:19PM +0200, Michal Hocko wrote:
> On Tue 25-09-18 14:51:53, Kirill A. Shutemov wrote:
> > On Tue, Sep 25, 2018 at 12:55:33PM +0530, Ashish Mhetre wrote:
> > > TRANSHUGE pages have no migration support.
> >
> > Transparent pages have migration support since v4.14.
>
> This is true but not for all architectures AFAICS. In fact git grep
> suggests that only x86 supports the migration. So unless I am missing
> something the patch has some merit.
THP pages are movable from the beginning. Before 4.14, the cost of
migration was THP split. From my PoV __GFP_MOVABLE is justified and we
should keep it there.
--
Kirill A. Shutemov
next prev parent reply other threads:[~2018-09-25 21:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-25 7:25 Ashish Mhetre
2018-09-25 11:51 ` Kirill A. Shutemov
2018-09-25 18:30 ` Michal Hocko
2018-09-25 21:00 ` Kirill A. Shutemov [this message]
2018-09-25 21:11 ` Michal Hocko
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=20180925210001.j4olzx3fru4jpfys@kshutemo-mobl1 \
--to=kirill@shutemov.name \
--cc=Snikam@nvidia.com \
--cc=akpm@linux-foundation.org \
--cc=amhetre@nvidia.com \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
--cc=vdumpa@nvidia.com \
/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