From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Andi Kleen <ak@linux.intel.com>, Andy Lutomirski <luto@kernel.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Dave Hansen <dave.hansen@intel.com>,
Michal Hocko <mhocko@suse.com>,
linux-arch <linux-arch@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: Question on the five-level page table support patches
Date: Mon, 24 Apr 2017 22:33:22 +0200 [thread overview]
Message-ID: <8f8467b5-70e6-466b-f53b-1c64622ba82d@physik.fu-berlin.de> (raw)
In-Reply-To: <20170424130311.GR4021@tassilo.jf.intel.com>
On 04/24/2017 03:03 PM, Andi Kleen wrote:
> In old Linux hint was a search hint, so if there isn't a hole
> at the hinted area it will search starting from there for a hole
> instead of giving up immediately.
Yep, that's what I meant. It used to work like that and it still
works like that on NetBSD, for example. Although it has apparently
been a long time since it changed [1].
> Now it just gives up, which means every user has to implement
> their own search.
Correct. And the resulting code is usually ugly and inefficient [2].
> Yes I ran into the same problem and it's annoying. It broke
> originally when top down mmap was added I believe
>
> Before the augmented rbtree it was potentially very expensive, but now
> it should be cheap.
I'm not sure whether I understand what that means.
Thanks,
Adrian
> [1] http://lkml.iu.edu/hypermail/linux/kernel/0305.2/0828.html
> [2] https://hg.mozilla.org/mozilla-central/rev/dfaafbaaa291
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2017-04-24 20:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-23 10:53 John Paul Adrian Glaubitz
2017-04-24 5:11 ` Andy Lutomirski
2017-04-24 13:03 ` Andi Kleen
2017-04-24 20:33 ` John Paul Adrian Glaubitz [this message]
2017-04-24 16:19 ` Kirill A. Shutemov
2017-04-24 20:37 ` John Paul Adrian Glaubitz
2017-04-24 22:01 ` Kirill A. Shutemov
2017-04-24 22:09 ` David Miller
2017-04-25 7:25 ` Jon Masters
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=8f8467b5-70e6-466b-f53b-1c64622ba82d@physik.fu-berlin.de \
--to=glaubitz@physik.fu-berlin.de \
--cc=ak@linux.intel.com \
--cc=dave.hansen@intel.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=luto@kernel.org \
--cc=mhocko@suse.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