linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Liam Howlett <liam.howlett@oracle.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: Stephen Rothwell <sfr@rothwell.id.au>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	"maple-tree@lists.infradead.org" <maple-tree@lists.infradead.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: Maple Tree for next
Date: Thu, 17 Feb 2022 02:07:47 +0000	[thread overview]
Message-ID: <20220217020740.ism7lzdlbqhpvzbq@revolver> (raw)
In-Reply-To: <Yg1q7K7ZHOBUg+eo@casper.infradead.org>

* Matthew Wilcox <willy@infradead.org> [220216 16:21]:
> On Thu, Feb 17, 2022 at 08:04:26AM +1100, Stephen Rothwell wrote:
> > Hi Liam,
> > 
> > On Wed, 16 Feb 2022 19:14:53 +0000 Liam Howlett <liam.howlett@oracle.com> wrote:
> > >
> > > Please include a new tree in linux-next:
> > > 
> > > https://github.com/oracle/linux-uek/tree/mainline/maple
> > > Aka
> > > https://github.com/oracle/linux-uek.git mainline/maple
> > 
> > That does no exist :-(
> 
> Transposition; the correct URL is:
> 
> https://github.com/oracle/linux-uek.git maple/mainline

Thanks Matthew.
Sorry about the URL mix up.

> 
> > Please tell me something about you (I can't find you in the MAINTAINERS
> > file) and this tree i.e. what it will contain, its path to Linus' tree
> > (direct or via another tree).
> 
> I'll let Liam answer these questions himself :-)

I'm a developer at Oracle in the Linux Kernel team.  Matthew Wilcox and
I designed the maple tree and I wrote most of implementation and the VMA
changes, Matthew wrote the VMA iterator and any other parts that I
didn't.  I've added myself to the MAINTAINERS file for the maple tree
and associated files (test and doc) in the tree.

This git tree is to deliver the Maple Tree data structure along with the
necessary changes to track VMAs using the maple tree.  The maple tree is
a B-tree variant that's RCU-safe for non-overlapping ranges.   Using the
maple tree gets us to an RCU-safe data structure which is a big step
towards less mmap_lock contention.  This git tree drops the vmacache &
double linked list from VMA tracking and introduces a cleaner VMA
iterator from Matthew.  If you would like to know more about the maple
tree, it has been presented at OSSNA 2019, LCA 2019 by Matthew and at
LPC2019 and LPC2021 by myself, it was also the subject of an LWN article
in Feb 2021.  The tree has many uses beyond VMA tracking, but this is
the hardest problem we could find.

The path upstream is direct.  In addition to sending the patches out for
review to the mm list, I've been discussing these patches with a number
of developers across different organizations in the mm area on a regular
basis and the general consensus is the direct path is best taken for
a change like this.

Thanks,
Liam

  reply	other threads:[~2022-02-17  2:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-16 19:14 Maple Tree for next Liam Howlett
2022-02-16 21:04 ` Stephen Rothwell
2022-02-16 21:21   ` Matthew Wilcox
2022-02-17  2:07     ` Liam Howlett [this message]
2022-02-17  6:31       ` Stephen Rothwell

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=20220217020740.ism7lzdlbqhpvzbq@revolver \
    --to=liam.howlett@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=maple-tree@lists.infradead.org \
    --cc=sfr@canb.auug.org.au \
    --cc=sfr@rothwell.id.au \
    --cc=torvalds@linux-foundation.org \
    --cc=willy@infradead.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;
as well as URLs for NNTP newsgroup(s).