All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Wise <swise@opengridcomputing.com>
To: Robin Holt <holt@sgi.com>
Cc: Felix Marti <felix@chelsio.com>,
	Roland Dreier <rdreier@cisco.com>,
	Christoph Lameter <clameter@sgi.com>,
	Rik van Riel <riel@redhat.com>,
	steiner@sgi.com, Andrea Arcangeli <andrea@qumranet.com>,
	a.p.zijlstra@chello.nl, izike@qumranet.com,
	linux-kernel@vger.kernel.org, avi@qumranet.com,
	linux-mm@kvack.org, daniel.blueman@quadrics.com,
	general@lists.openfabrics.org,
	Andrew Morton <akpm@linux-foundation.org>,
	kvm-devel@lists.sourceforge.net
Subject: Re: [ofa-general] Re: Demand paging for memory regions
Date: Thu, 14 Feb 2008 10:23:23 -0600	[thread overview]
Message-ID: <47B46AFB.9070009@opengridcomputing.com> (raw)
In-Reply-To: <20080214155333.GA1029@sgi.com>

Robin Holt wrote:
> On Thu, Feb 14, 2008 at 09:09:08AM -0600, Steve Wise wrote:
>> Note that for T3, this involves suspending _all_ rdma connections that are 
>> in the same PD as the MR being remapped.  This is because the driver 
>> doesn't know who the application advertised the rkey/stag to.  So without 
> 
> Is there a reason the driver can not track these.
> 

Because advertising of a MR (ie telling the peer about your rkey/stag, 
offset and length) is application-specific and can be done out of band, 
or in band as simple SEND/RECV payload. Either way, the driver has no 
way of tracking this because the protocol used is application-specific.

>> Point being, it will stop probably all connections that an application is 
>> using (assuming the application uses a single PD).
> 
> It seems like the need to not stop all would be a compelling enough reason
> to modify the driver to track which processes have received the rkey/stag.
> 

Yes, _if_ the driver could track this.

And _if_ the rdma API and paradigm was such that the kernel/driver could 
keep track, then remote revokations of MR tags could be supported.

Stevo

WARNING: multiple messages have this Message-ID (diff)
From: Steve Wise <swise@opengridcomputing.com>
To: Robin Holt <holt@sgi.com>
Cc: Rik van Riel <riel@redhat.com>,
	steiner@sgi.com, Andrea Arcangeli <andrea@qumranet.com>,
	a.p.zijlstra@chello.nl, izike@qumranet.com,
	Roland Dreier <rdreier@cisco.com>,
	linux-kernel@vger.kernel.org, avi@qumranet.com,
	kvm-devel@lists.sourceforge.net, linux-mm@kvack.org,
	daniel.blueman@quadrics.com, general@lists.openfabrics.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Christoph Lameter <clameter@sgi.com>
Subject: Re: [ofa-general] Re: Demand paging for memory regions
Date: Thu, 14 Feb 2008 10:23:23 -0600	[thread overview]
Message-ID: <47B46AFB.9070009@opengridcomputing.com> (raw)
In-Reply-To: <20080214155333.GA1029@sgi.com>

Robin Holt wrote:
> On Thu, Feb 14, 2008 at 09:09:08AM -0600, Steve Wise wrote:
>> Note that for T3, this involves suspending _all_ rdma connections that are 
>> in the same PD as the MR being remapped.  This is because the driver 
>> doesn't know who the application advertised the rkey/stag to.  So without 
> 
> Is there a reason the driver can not track these.
> 

Because advertising of a MR (ie telling the peer about your rkey/stag, 
offset and length) is application-specific and can be done out of band, 
or in band as simple SEND/RECV payload. Either way, the driver has no 
way of tracking this because the protocol used is application-specific.

>> Point being, it will stop probably all connections that an application is 
>> using (assuming the application uses a single PD).
> 
> It seems like the need to not stop all would be a compelling enough reason
> to modify the driver to track which processes have received the rkey/stag.
> 

Yes, _if_ the driver could track this.

And _if_ the rdma API and paradigm was such that the kernel/driver could 
keep track, then remote revokations of MR tags could be supported.

Stevo

WARNING: multiple messages have this Message-ID (diff)
From: Steve Wise <swise@opengridcomputing.com>
To: Robin Holt <holt@sgi.com>
Cc: Felix Marti <felix@chelsio.com>,
	Roland Dreier <rdreier@cisco.com>,
	Christoph Lameter <clameter@sgi.com>,
	Rik van Riel <riel@redhat.com>,
	steiner@sgi.com, Andrea Arcangeli <andrea@qumranet.com>,
	a.p.zijlstra@chello.nl, izike@qumranet.com,
	linux-kernel@vger.kernel.org, avi@qumranet.com,
	linux-mm@kvack.org, daniel.blueman@quadrics.com,
	general@lists.openfabrics.org,
	Andrew Morton <akpm@linux-foundation.org>,
	kvm-devel@lists.sourceforge.net
Subject: Re: [ofa-general] Re: Demand paging for memory regions
Date: Thu, 14 Feb 2008 10:23:23 -0600	[thread overview]
Message-ID: <47B46AFB.9070009@opengridcomputing.com> (raw)
In-Reply-To: <20080214155333.GA1029@sgi.com>

Robin Holt wrote:
> On Thu, Feb 14, 2008 at 09:09:08AM -0600, Steve Wise wrote:
>> Note that for T3, this involves suspending _all_ rdma connections that are 
>> in the same PD as the MR being remapped.  This is because the driver 
>> doesn't know who the application advertised the rkey/stag to.  So without 
> 
> Is there a reason the driver can not track these.
> 

Because advertising of a MR (ie telling the peer about your rkey/stag, 
offset and length) is application-specific and can be done out of band, 
or in band as simple SEND/RECV payload. Either way, the driver has no 
way of tracking this because the protocol used is application-specific.

>> Point being, it will stop probably all connections that an application is 
>> using (assuming the application uses a single PD).
> 
> It seems like the need to not stop all would be a compelling enough reason
> to modify the driver to track which processes have received the rkey/stag.
> 

Yes, _if_ the driver could track this.

And _if_ the rdma API and paradigm was such that the kernel/driver could 
keep track, then remote revokations of MR tags could be supported.

Stevo

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

  reply	other threads:[~2008-02-14 16:24 UTC|newest]

Thread overview: 230+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-08 22:06 [patch 0/6] MMU Notifiers V6 Christoph Lameter
2008-02-08 22:06 ` Christoph Lameter
2008-02-08 22:06 ` [patch 1/6] mmu_notifier: Core code Christoph Lameter
2008-02-08 22:06   ` Christoph Lameter
2008-02-08 22:06 ` [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges Christoph Lameter
2008-02-08 22:06   ` Christoph Lameter
2008-02-08 22:06 ` [patch 3/6] mmu_notifier: invalidate_page callbacks Christoph Lameter
2008-02-08 22:06   ` Christoph Lameter
2008-02-08 22:06 ` [patch 4/6] mmu_notifier: Skeleton driver for a simple mmu_notifier Christoph Lameter
2008-02-08 22:06   ` Christoph Lameter
2008-02-08 22:06 ` [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem) Christoph Lameter
2008-02-08 22:06   ` Christoph Lameter
2008-02-08 22:06 ` [patch 6/6] mmu_rmap_notifier: Skeleton for complex driver that uses its own rmaps Christoph Lameter
2008-02-08 22:06   ` Christoph Lameter
2008-02-08 22:23 ` [patch 0/6] MMU Notifiers V6 Andrew Morton
2008-02-08 22:23   ` Andrew Morton
2008-02-08 22:23   ` [ofa-general] " Andrew Morton
2008-02-08 23:32   ` Christoph Lameter
2008-02-08 23:32     ` Christoph Lameter
2008-02-08 23:32     ` Christoph Lameter
2008-02-08 23:36     ` Robin Holt
2008-02-08 23:36       ` Robin Holt
2008-02-08 23:36       ` [ofa-general] " Robin Holt
2008-02-08 23:41       ` Christoph Lameter
2008-02-08 23:41         ` Christoph Lameter
2008-02-08 23:41         ` [ofa-general] " Christoph Lameter
2008-02-08 23:43         ` Robin Holt
2008-02-08 23:43           ` Robin Holt
2008-02-08 23:43           ` Robin Holt
2008-02-08 23:56           ` Andrew Morton
2008-02-08 23:56             ` Andrew Morton
2008-02-08 23:56             ` [ofa-general] " Andrew Morton
2008-02-09  0:05             ` Christoph Lameter
2008-02-09  0:05               ` Christoph Lameter
2008-02-09  0:05               ` [ofa-general] " Christoph Lameter
2008-02-09  0:12               ` Roland Dreier
2008-02-09  0:12                 ` Roland Dreier
2008-02-09  0:12                 ` Roland Dreier
2008-02-09  0:16                 ` Christoph Lameter
2008-02-09  0:16                   ` Christoph Lameter
2008-02-09  0:16                   ` Christoph Lameter
2008-02-09  0:21                   ` [ofa-general] trying to get of all lists R S
2008-02-09  0:22                   ` [ofa-general] Re: [patch 0/6] MMU Notifiers V6 Roland Dreier
2008-02-09  0:22                     ` Roland Dreier
2008-02-09  0:36                     ` Christoph Lameter
2008-02-09  0:36                       ` Christoph Lameter
2008-02-09  0:36                       ` Christoph Lameter
2008-02-09  1:24                       ` Andrea Arcangeli
2008-02-09  1:24                         ` Andrea Arcangeli
2008-02-09  1:24                         ` Andrea Arcangeli
2008-02-09  1:27                         ` Christoph Lameter
2008-02-09  1:27                           ` Christoph Lameter
2008-02-09  1:27                           ` Christoph Lameter
2008-02-09  1:56                           ` Andrea Arcangeli
2008-02-09  1:56                             ` Andrea Arcangeli
2008-02-09  1:56                             ` Andrea Arcangeli
2008-02-09  2:16                             ` Christoph Lameter
2008-02-09  2:16                               ` Christoph Lameter
2008-02-09  2:16                               ` Christoph Lameter
2008-02-09 12:55                               ` Rik van Riel
2008-02-09 12:55                                 ` Rik van Riel
2008-02-09 12:55                                 ` Rik van Riel
2008-02-09 21:46                                 ` Christoph Lameter
2008-02-09 21:46                                   ` Christoph Lameter
2008-02-09 21:46                                   ` Christoph Lameter
2008-02-11 22:40                                   ` Demand paging for memory regions (was Re: MMU Notifiers V6) Roland Dreier
2008-02-11 22:40                                     ` Roland Dreier
2008-02-11 22:40                                     ` [ofa-general] " Roland Dreier
2008-02-12 22:01                                     ` Steve Wise
2008-02-12 22:01                                       ` Steve Wise
2008-02-12 22:01                                       ` [ofa-general] " Steve Wise
2008-02-12 22:10                                       ` Christoph Lameter
2008-02-12 22:10                                         ` Christoph Lameter
2008-02-12 22:10                                         ` [ofa-general] " Christoph Lameter
2008-02-12 22:41                                         ` [ofa-general] Re: Demand paging for memory regions Roland Dreier
2008-02-12 22:41                                           ` Roland Dreier
2008-02-12 22:41                                           ` Roland Dreier
2008-02-12 23:14                                           ` Felix Marti
2008-02-12 23:14                                             ` Felix Marti
2008-02-12 23:14                                             ` Felix Marti
2008-02-13  0:57                                             ` Christoph Lameter
2008-02-13  0:57                                               ` Christoph Lameter
2008-02-13  0:57                                               ` Christoph Lameter
2008-02-14 15:09                                             ` Steve Wise
2008-02-14 15:09                                               ` Steve Wise
2008-02-14 15:09                                               ` Steve Wise
2008-02-14 15:53                                               ` Robin Holt
2008-02-14 15:53                                                 ` Robin Holt
2008-02-14 16:23                                                 ` Steve Wise [this message]
2008-02-14 16:23                                                   ` Steve Wise
2008-02-14 16:23                                                   ` Steve Wise
2008-02-14 17:48                                                   ` Caitlin Bestler
2008-02-14 17:48                                                     ` Caitlin Bestler
2008-02-14 17:48                                                     ` Caitlin Bestler
2008-02-14 20:47                                                     ` David Singleton
2008-02-15  9:55                                                       ` Robin Holt
2008-02-14 19:39                                               ` Christoph Lameter
2008-02-14 19:39                                                 ` Christoph Lameter
2008-02-14 19:39                                                 ` Christoph Lameter
2008-02-14 20:17                                                 ` Caitlin Bestler
2008-02-14 20:17                                                   ` Caitlin Bestler
2008-02-14 20:17                                                   ` Caitlin Bestler
2008-02-14 20:20                                                   ` Christoph Lameter
2008-02-14 20:20                                                     ` Christoph Lameter
2008-02-14 20:20                                                     ` Christoph Lameter
2008-02-14 22:43                                                     ` Caitlin Bestler
2008-02-14 22:43                                                       ` Caitlin Bestler
2008-02-14 22:43                                                       ` Caitlin Bestler
2008-02-14 22:48                                                       ` Christoph Lameter
2008-02-14 22:48                                                         ` Christoph Lameter
2008-02-14 22:48                                                         ` Christoph Lameter
2008-02-15  1:26                                                         ` Caitlin Bestler
2008-02-15  1:26                                                           ` Caitlin Bestler
2008-02-15  1:26                                                           ` Caitlin Bestler
2008-02-15  2:37                                                           ` Christoph Lameter
2008-02-15  2:37                                                             ` Christoph Lameter
2008-02-15  2:37                                                             ` Christoph Lameter
2008-02-15 18:09                                                             ` Caitlin Bestler
2008-02-15 18:09                                                               ` Caitlin Bestler
2008-02-15 18:09                                                               ` Caitlin Bestler
2008-02-15 18:45                                                               ` Christoph Lameter
2008-02-15 18:45                                                                 ` Christoph Lameter
2008-02-15 18:45                                                                 ` Christoph Lameter
2008-02-15 18:53                                                                 ` Caitlin Bestler
2008-02-15 18:53                                                                   ` Caitlin Bestler
2008-02-15 18:53                                                                   ` Caitlin Bestler
2008-02-15 20:02                                                                   ` Christoph Lameter
2008-02-15 20:02                                                                     ` Christoph Lameter
2008-02-15 20:02                                                                     ` Christoph Lameter
2008-02-15 20:14                                                                     ` Caitlin Bestler
2008-02-15 20:14                                                                       ` Caitlin Bestler
2008-02-15 20:14                                                                       ` Caitlin Bestler
2008-02-15 22:50                                                                       ` Christoph Lameter
2008-02-15 22:50                                                                         ` Christoph Lameter
2008-02-15 22:50                                                                         ` Christoph Lameter
2008-02-15 23:50                                                                         ` Caitlin Bestler
2008-02-15 23:50                                                                           ` Caitlin Bestler
2008-02-15 23:50                                                                           ` Caitlin Bestler
2008-02-12 23:23                                           ` Jason Gunthorpe
2008-02-12 23:23                                             ` Jason Gunthorpe
2008-02-12 23:23                                             ` Jason Gunthorpe
2008-02-13  1:01                                             ` Christoph Lameter
2008-02-13  1:01                                               ` Christoph Lameter
2008-02-13  1:01                                               ` Christoph Lameter
2008-02-13  1:26                                               ` Jason Gunthorpe
2008-02-13  1:26                                                 ` Jason Gunthorpe
2008-02-13  1:26                                                 ` Jason Gunthorpe
2008-02-13  1:45                                                 ` Steve Wise
2008-02-13  1:45                                                   ` Steve Wise
2008-02-13  1:45                                                   ` Steve Wise
2008-02-13  2:35                                                 ` Christoph Lameter
2008-02-13  2:35                                                   ` Christoph Lameter
2008-02-13  2:35                                                   ` Christoph Lameter
2008-02-13  3:25                                                   ` Jason Gunthorpe
2008-02-13  3:25                                                     ` Jason Gunthorpe
2008-02-13  3:56                                                     ` Patrick Geoffray
2008-02-13  3:56                                                       ` Patrick Geoffray
2008-02-13  4:26                                                       ` Jason Gunthorpe
2008-02-13  4:26                                                         ` Jason Gunthorpe
2008-02-13  4:47                                                         ` Patrick Geoffray
2008-02-13  4:47                                                           ` Patrick Geoffray
2008-02-13 18:51                                                     ` Christoph Lameter
2008-02-13 18:51                                                       ` Christoph Lameter
2008-02-13 18:51                                                       ` Christoph Lameter
2008-02-13 19:51                                                       ` Jason Gunthorpe
2008-02-13 19:51                                                         ` Jason Gunthorpe
2008-02-13 19:51                                                         ` Jason Gunthorpe
2008-02-13 20:36                                                         ` Christoph Lameter
2008-02-13 20:36                                                           ` Christoph Lameter
2008-02-13 20:36                                                           ` Christoph Lameter
2008-02-13  4:09                                                   ` Christian Bell
2008-02-13  4:09                                                     ` Christian Bell
2008-02-13  4:09                                                     ` Christian Bell
2008-02-13 19:00                                                     ` Christoph Lameter
2008-02-13 19:00                                                       ` Christoph Lameter
2008-02-13 19:00                                                       ` Christoph Lameter
2008-02-13 19:46                                                       ` Christian Bell
2008-02-13 19:46                                                         ` Christian Bell
2008-02-13 20:32                                                         ` Christoph Lameter
2008-02-13 20:32                                                           ` Christoph Lameter
2008-02-13 20:32                                                           ` Christoph Lameter
2008-02-13 22:44                                                           ` Kanoj Sarcar
2008-02-13 22:44                                                             ` Kanoj Sarcar
2008-02-13 22:44                                                             ` Kanoj Sarcar
2008-02-13 23:02                                                             ` Christoph Lameter
2008-02-13 23:02                                                               ` Christoph Lameter
2008-02-13 23:02                                                               ` Christoph Lameter
2008-02-13 23:43                                                               ` Kanoj Sarcar
2008-02-13 23:43                                                                 ` Kanoj Sarcar
2008-02-13 23:43                                                                 ` Kanoj Sarcar
2008-02-13 23:48                                                                 ` Jesse Barnes
2008-02-13 23:48                                                                   ` Jesse Barnes
2008-02-13 23:48                                                                   ` [ofa-general] " Jesse Barnes
2008-02-14  0:56                                                                 ` Andrea Arcangeli
2008-02-14  0:56                                                                   ` Andrea Arcangeli
2008-02-14  0:56                                                                   ` Andrea Arcangeli
2008-02-14 19:35                                                                 ` Christoph Lameter
2008-02-14 19:35                                                                   ` Christoph Lameter
2008-02-14 19:35                                                                   ` Christoph Lameter
2008-02-13 23:23                                                     ` Pete Wyckoff
2008-02-13 23:23                                                       ` Pete Wyckoff
2008-02-13 23:23                                                       ` Pete Wyckoff
2008-02-14  0:01                                                       ` Jason Gunthorpe
2008-02-14  0:01                                                         ` Jason Gunthorpe
2008-02-27 22:11                                                         ` Christoph Lameter
2008-02-27 22:11                                                           ` Christoph Lameter
2008-02-27 22:11                                                           ` Christoph Lameter
2008-02-13  1:55                                               ` Christian Bell
2008-02-13  1:55                                                 ` Christian Bell
2008-02-13  1:55                                                 ` Christian Bell
2008-02-13  2:19                                                 ` Christoph Lameter
2008-02-13  2:19                                                   ` Christoph Lameter
2008-02-13  2:19                                                   ` Christoph Lameter
2008-02-13  0:56                                           ` Christoph Lameter
2008-02-13  0:56                                             ` Christoph Lameter
2008-02-13  0:56                                             ` Christoph Lameter
2008-02-13 12:11                                           ` Christoph Raisch
2008-02-13 12:11                                             ` Christoph Raisch
2008-02-13 12:11                                             ` Christoph Raisch
2008-02-13 19:02                                             ` Christoph Lameter
2008-02-13 19:02                                               ` Christoph Lameter
2008-02-13 19:02                                               ` Christoph Lameter
2008-02-09  0:12               ` [patch 0/6] MMU Notifiers V6 Andrew Morton
2008-02-09  0:12                 ` Andrew Morton
2008-02-09  0:12                 ` [ofa-general] " Andrew Morton
2008-02-09  0:18                 ` Christoph Lameter
2008-02-09  0:18                   ` Christoph Lameter
2008-02-09  0:18                   ` [ofa-general] " Christoph Lameter
2008-02-13 14:31 ` Jack Steiner
2008-02-13 14:31   ` Jack Steiner

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=47B46AFB.9070009@opengridcomputing.com \
    --to=swise@opengridcomputing.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=andrea@qumranet.com \
    --cc=avi@qumranet.com \
    --cc=clameter@sgi.com \
    --cc=daniel.blueman@quadrics.com \
    --cc=felix@chelsio.com \
    --cc=general@lists.openfabrics.org \
    --cc=holt@sgi.com \
    --cc=izike@qumranet.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=rdreier@cisco.com \
    --cc=riel@redhat.com \
    --cc=steiner@sgi.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.