All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Christoph Lameter <cl@linux.com>
Cc: Jerome Glisse <j.glisse@gmail.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	jglisse@redhat.com, mgorman@suse.de, aarcange@redhat.com,
	riel@redhat.com, airlied@redhat.com, benh@kernel.crashing.org,
	aneesh.kumar@linux.vnet.ibm.com,
	Cameron Buschardt <cabuschardt@nvidia.com>,
	Mark Hairgrove <mhairgrove@nvidia.com>,
	Geoffrey Gerfin <ggerfin@nvidia.com>,
	John McKenna <jmckenna@nvidia.com>,
	akpm@linux-foundation.org
Subject: Re: Interacting with coherent memory on external devices
Date: Wed, 22 Apr 2015 06:18:32 -0700	[thread overview]
Message-ID: <20150422131832.GU5561@linux.vnet.ibm.com> (raw)
In-Reply-To: <alpine.DEB.2.11.1504211942040.6294@gentwo.org>

On Tue, Apr 21, 2015 at 07:50:02PM -0500, Christoph Lameter wrote:
> On Tue, 21 Apr 2015, Jerome Glisse wrote:

[ . . . ]

> > Paul is working on a platform that is more advance that the one HMM try
> > to address and i believe the x86 platform will not have functionality
> > such a CAPI, at least it is not part of any roadmap i know about for
> > x86.
> 
> We will be one of the first users of Paul's Platform. Please do not do
> crazy stuff but give us a sane solution where we can control the
> hardware. No strange VM hooks that automatically move stuff back and forth
> please. If you do this we will have to disable them anyways because they
> would interfere with our needs to have the code not be disturbed by random
> OS noise. We need detailed control as to when and how we move data.

I completely agree that some critically important use cases, such as
yours, will absolutely require that the application explicitly choose
memory placement and have the memory stay there.

Requirement 2 was supposed to be getting at this by saying "explicitly
or implicitly allocated", with the "explicitly" calling out your use
case.  How should I reword this to better bring this out?

							Thanx, Paul

--
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>

WARNING: multiple messages have this Message-ID (diff)
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Christoph Lameter <cl@linux.com>
Cc: Jerome Glisse <j.glisse@gmail.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	jglisse@redhat.com, mgorman@suse.de, aarcange@redhat.com,
	riel@redhat.com, airlied@redhat.com, benh@kernel.crashing.org,
	aneesh.kumar@linux.vnet.ibm.com,
	Cameron Buschardt <cabuschardt@nvidia.com>,
	Mark Hairgrove <mhairgrove@nvidia.com>,
	Geoffrey Gerfin <ggerfin@nvidia.com>,
	John McKenna <jmckenna@nvidia.com>,
	akpm@linux-foundation.org
Subject: Re: Interacting with coherent memory on external devices
Date: Wed, 22 Apr 2015 06:18:32 -0700	[thread overview]
Message-ID: <20150422131832.GU5561@linux.vnet.ibm.com> (raw)
In-Reply-To: <alpine.DEB.2.11.1504211942040.6294@gentwo.org>

On Tue, Apr 21, 2015 at 07:50:02PM -0500, Christoph Lameter wrote:
> On Tue, 21 Apr 2015, Jerome Glisse wrote:

[ . . . ]

> > Paul is working on a platform that is more advance that the one HMM try
> > to address and i believe the x86 platform will not have functionality
> > such a CAPI, at least it is not part of any roadmap i know about for
> > x86.
> 
> We will be one of the first users of Paul's Platform. Please do not do
> crazy stuff but give us a sane solution where we can control the
> hardware. No strange VM hooks that automatically move stuff back and forth
> please. If you do this we will have to disable them anyways because they
> would interfere with our needs to have the code not be disturbed by random
> OS noise. We need detailed control as to when and how we move data.

I completely agree that some critically important use cases, such as
yours, will absolutely require that the application explicitly choose
memory placement and have the memory stay there.

Requirement 2 was supposed to be getting at this by saying "explicitly
or implicitly allocated", with the "explicitly" calling out your use
case.  How should I reword this to better bring this out?

							Thanx, Paul


  parent reply	other threads:[~2015-04-22 13:18 UTC|newest]

Thread overview: 193+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-21 21:44 Interacting with coherent memory on external devices Paul E. McKenney
2015-04-21 21:44 ` Paul E. McKenney
2015-04-21 23:46 ` Jerome Glisse
2015-04-21 23:46   ` Jerome Glisse
2015-04-22  0:36   ` Benjamin Herrenschmidt
2015-04-22  0:36     ` Benjamin Herrenschmidt
2015-04-22 12:42   ` Paul E. McKenney
2015-04-22 12:42     ` Paul E. McKenney
2015-04-21 23:49 ` Christoph Lameter
2015-04-21 23:49   ` Christoph Lameter
2015-04-22  0:05   ` Jerome Glisse
2015-04-22  0:05     ` Jerome Glisse
2015-04-22  0:50     ` Christoph Lameter
2015-04-22  0:50       ` Christoph Lameter
2015-04-22  1:01       ` Benjamin Herrenschmidt
2015-04-22  1:01         ` Benjamin Herrenschmidt
2015-04-22 13:35         ` Paul E. McKenney
2015-04-22 13:35           ` Paul E. McKenney
2015-04-22 13:18       ` Paul E. McKenney [this message]
2015-04-22 13:18         ` Paul E. McKenney
2015-04-22 16:16         ` Christoph Lameter
2015-04-22 16:16           ` Christoph Lameter
2015-04-22 17:07           ` Jerome Glisse
2015-04-22 17:07             ` Jerome Glisse
2015-04-22 18:17             ` Christoph Lameter
2015-04-22 18:17               ` Christoph Lameter
2015-04-22 18:52               ` Paul E. McKenney
2015-04-22 18:52                 ` Paul E. McKenney
2015-04-23 14:12                 ` Christoph Lameter
2015-04-23 14:12                   ` Christoph Lameter
2015-04-23 19:24                   ` Paul E. McKenney
2015-04-23 19:24                     ` Paul E. McKenney
2015-04-24 14:01                     ` Christoph Lameter
2015-04-24 14:01                       ` Christoph Lameter
2015-04-24 14:13                       ` Paul E. McKenney
2015-04-24 14:13                         ` Paul E. McKenney
2015-04-24 15:53                       ` Rik van Riel
2015-04-24 15:53                         ` Rik van Riel
2015-04-23  2:36               ` Benjamin Herrenschmidt
2015-04-23  2:36                 ` Benjamin Herrenschmidt
2015-04-23 14:10                 ` Christoph Lameter
2015-04-23 14:10                   ` Christoph Lameter
2015-04-23 15:42                   ` Jerome Glisse
2015-04-23 15:42                     ` Jerome Glisse
2015-04-24 14:04                     ` Christoph Lameter
2015-04-24 14:04                       ` Christoph Lameter
2015-04-23 22:29                   ` Benjamin Herrenschmidt
2015-04-23 22:29                     ` Benjamin Herrenschmidt
2015-04-23  2:30           ` Benjamin Herrenschmidt
2015-04-23  2:30             ` Benjamin Herrenschmidt
2015-04-23 14:25             ` Christoph Lameter
2015-04-23 14:25               ` Christoph Lameter
2015-04-23 15:25               ` Austin S Hemmelgarn
2015-04-23 19:33                 ` Paul E. McKenney
2015-04-23 19:33                   ` Paul E. McKenney
2015-04-24 14:12                   ` Christoph Lameter
2015-04-24 14:12                     ` Christoph Lameter
2015-04-24 14:57                     ` Paul E. McKenney
2015-04-24 14:57                       ` Paul E. McKenney
2015-04-24 15:09                       ` Jerome Glisse
2015-04-24 15:09                         ` Jerome Glisse
2015-04-25 11:20                         ` Paul E. McKenney
2015-04-25 11:20                           ` Paul E. McKenney
2015-04-24 15:52                       ` Christoph Lameter
2015-04-24 15:52                         ` Christoph Lameter
2015-04-23 22:37                 ` Benjamin Herrenschmidt
2015-04-23 22:37                   ` Benjamin Herrenschmidt
2015-04-24 14:09                 ` Christoph Lameter
2015-04-24 14:09                   ` Christoph Lameter
2015-04-23 16:04       ` Rik van Riel
2015-04-23 16:04         ` Rik van Riel
2015-04-22  0:42   ` Benjamin Herrenschmidt
2015-04-22  0:42     ` Benjamin Herrenschmidt
2015-04-22  0:57     ` Paul E. McKenney
2015-04-22  0:57       ` Paul E. McKenney
2015-04-22  1:04       ` Benjamin Herrenschmidt
2015-04-22  1:04         ` Benjamin Herrenschmidt
2015-04-22 15:25         ` Christoph Lameter
2015-04-22 15:25           ` Christoph Lameter
2015-04-22 16:31           ` Jerome Glisse
2015-04-22 16:31             ` Jerome Glisse
2015-04-22 17:14             ` Christoph Lameter
2015-04-22 17:14               ` Christoph Lameter
2015-04-22 19:07               ` Jerome Glisse
2015-04-22 19:07                 ` Jerome Glisse
2015-04-23  2:34               ` Benjamin Herrenschmidt
2015-04-23  2:34                 ` Benjamin Herrenschmidt
2015-04-23 14:38                 ` Christoph Lameter
2015-04-23 14:38                   ` Christoph Lameter
2015-04-23 16:11                   ` Jerome Glisse
2015-04-23 16:11                     ` Jerome Glisse
2015-04-24 14:29                     ` Christoph Lameter
2015-04-24 14:29                       ` Christoph Lameter
2015-04-24 15:08                       ` Jerome Glisse
2015-04-24 15:08                         ` Jerome Glisse
2015-04-24 16:03                         ` Christoph Lameter
2015-04-24 16:03                           ` Christoph Lameter
2015-04-24 16:43                           ` Jerome Glisse
2015-04-24 16:43                             ` Jerome Glisse
2015-04-24 16:58                             ` Christoph Lameter
2015-04-24 16:58                               ` Christoph Lameter
2015-04-24 17:19                               ` Jerome Glisse
2015-04-24 17:19                                 ` Jerome Glisse
2015-04-24 18:56                                 ` Christoph Lameter
2015-04-24 18:56                                   ` Christoph Lameter
2015-04-24 19:29                                   ` Jerome Glisse
2015-04-24 19:29                                     ` Jerome Glisse
2015-04-24 20:00                                     ` Christoph Lameter
2015-04-24 20:00                                       ` Christoph Lameter
2015-04-24 20:32                                       ` Jerome Glisse
2015-04-24 20:32                                         ` Jerome Glisse
2015-04-25 11:46                                       ` Paul E. McKenney
2015-04-25 11:46                                         ` Paul E. McKenney
2015-04-27 15:08                                         ` Christoph Lameter
2015-04-27 15:08                                           ` Christoph Lameter
2015-04-27 15:47                                           ` Jerome Glisse
2015-04-27 15:47                                             ` Jerome Glisse
2015-04-27 16:17                                             ` Christoph Lameter
2015-04-27 16:17                                               ` Christoph Lameter
2015-04-27 16:29                                               ` Rik van Riel
2015-04-27 16:29                                                 ` Rik van Riel
2015-04-27 16:48                                                 ` Christoph Lameter
2015-04-27 16:48                                                   ` Christoph Lameter
2015-04-27 23:54                                                   ` Benjamin Herrenschmidt
2015-04-27 23:54                                                     ` Benjamin Herrenschmidt
2015-05-13 14:10                                                     ` Vlastimil Babka
2015-05-13 14:10                                                       ` Vlastimil Babka
2015-05-13 23:38                                                       ` Benjamin Herrenschmidt
2015-05-13 23:38                                                         ` Benjamin Herrenschmidt
2015-05-14  7:39                                                         ` Vlastimil Babka
2015-05-14  7:39                                                           ` Vlastimil Babka
2015-05-14  7:51                                                           ` Benjamin Herrenschmidt
2015-05-14  7:51                                                             ` Benjamin Herrenschmidt
2015-05-28 18:18                                                             ` Paul E. McKenney
2015-05-28 18:18                                                               ` Paul E. McKenney
2015-04-27 16:43                                               ` Jerome Glisse
2015-04-27 16:43                                                 ` Jerome Glisse
2015-04-27 16:51                                                 ` Christoph Lameter
2015-04-27 16:51                                                   ` Christoph Lameter
2015-04-27 17:21                                                   ` Jerome Glisse
2015-04-27 17:21                                                     ` Jerome Glisse
2015-04-27 19:26                                                     ` Christoph Lameter
2015-04-27 19:26                                                       ` Christoph Lameter
2015-04-27 19:35                                                       ` Rik van Riel
2015-04-27 19:35                                                         ` Rik van Riel
2015-04-27 20:52                                                       ` Jerome Glisse
2015-04-27 20:52                                                         ` Jerome Glisse
2015-04-28 14:18                                                         ` Christoph Lameter
2015-04-28 14:18                                                           ` Christoph Lameter
2015-04-28 17:20                                                           ` Jerome Glisse
2015-04-28 17:20                                                             ` Jerome Glisse
2015-04-27 16:15                                           ` Paul E. McKenney
2015-04-27 16:15                                             ` Paul E. McKenney
2015-04-27 16:31                                             ` Christoph Lameter
2015-04-27 16:31                                               ` Christoph Lameter
2015-04-24 23:45                               ` Benjamin Herrenschmidt
2015-04-24 23:45                                 ` Benjamin Herrenschmidt
2015-04-23 18:52                   ` Paul E. McKenney
2015-04-23 18:52                     ` Paul E. McKenney
2015-04-24 14:30                     ` Christoph Lameter
2015-04-24 14:30                       ` Christoph Lameter
2015-04-24 14:54                       ` Paul E. McKenney
2015-04-24 14:54                         ` Paul E. McKenney
2015-04-24 15:49                         ` Christoph Lameter
2015-04-24 15:49                           ` Christoph Lameter
2015-04-24 16:06                           ` Rik van Riel
2015-04-24 16:06                             ` Rik van Riel
2015-04-25 11:49                           ` Paul E. McKenney
2015-04-25 11:49                             ` Paul E. McKenney
2015-04-24 16:00                       ` Jerome Glisse
2015-04-24 16:00                         ` Jerome Glisse
2015-04-24 16:08                       ` Rik van Riel
2015-04-24 16:08                         ` Rik van Riel
2015-04-23 17:28               ` Rik van Riel
2015-04-23 17:28                 ` Rik van Riel
2015-04-23  2:27           ` Benjamin Herrenschmidt
2015-04-23  2:27             ` Benjamin Herrenschmidt
2015-04-23 14:20             ` Christoph Lameter
2015-04-23 14:20               ` Christoph Lameter
2015-04-23 16:22               ` Jerome Glisse
2015-04-23 16:22                 ` Jerome Glisse
2015-04-24 18:41                 ` Oded Gabbay
2015-04-24 18:41                   ` Oded Gabbay
2015-04-23 19:00               ` Paul E. McKenney
2015-04-23 19:00                 ` Paul E. McKenney
2015-04-22 15:20       ` Christoph Lameter
2015-04-22 15:20         ` Christoph Lameter
2015-04-25  2:32 ` Rik van Riel
2015-04-25  2:32   ` Rik van Riel
2015-04-25  3:32   ` Benjamin Herrenschmidt
2015-04-25  3:32     ` Benjamin Herrenschmidt
2015-04-25 11:55     ` Paul E. McKenney
2015-04-25 11:55       ` Paul E. McKenney

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=20150422131832.GU5561@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=aarcange@redhat.com \
    --cc=airlied@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=benh@kernel.crashing.org \
    --cc=cabuschardt@nvidia.com \
    --cc=cl@linux.com \
    --cc=ggerfin@nvidia.com \
    --cc=j.glisse@gmail.com \
    --cc=jglisse@redhat.com \
    --cc=jmckenna@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@suse.de \
    --cc=mhairgrove@nvidia.com \
    --cc=riel@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.