public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* Ummunotify: progress at last!
@ 2010-03-23 16:06 Jeff Squyres
       [not found] ` <1CDB2AA4-A8DF-4169-943E-4EA190814596-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Jeff Squyres @ 2010-03-23 16:06 UTC (permalink / raw)
  To: Linux RDMA List; +Cc: Brad Benton

IBM has found a resource that they think will be able to progress Roland's ummunotify work.

After a few discussions in Sonoma last week and some off-list emails, here's what we decided:

1. Take Roland's last code drop (Roland: can you re-send the last copy of your code?).

2. Do not convert it to the perf events kernel framework as the Linux kernel community requested.  Instead, migrate the functionality into the ibv code base.  Roland thinks that most of the code should be adaptable without too many changes.  Here's the highlights of the new functionality:

   a. Add a new flag to ibv_reg_mr() that does the same function as UMMUNOTIFY_REGISTER_REGION
   b. ibv_dereg_mr() always performs the equivalent of UMMUNOTIFY_UNREGISTER_REGION (if necessary)
   c. Make a new device somewhere (under /dev/infiniband?) that performs the same functions as /dev/ummunotify (open it to mmap the counter into user space, and read events when something "interesting" happens)

3. I will update the Open MPI prototype to use this slightly modified scheme (i.e., no longer have explicit ioctl's to UMMUNOTIFY_DE/REGISTER_REGION, but instead do it during ibv_reg_mr(), etc.).

Roland's initial goal was to have this functionality be separate from verbs because it's applicable outside of this specific use case.  The above proposals makes the ummunotify functionality tied to the ibv API, but given that Roland simply does not have the cycles to make forward progress on the generalized ummunotify mechanism, it seems like a reasonable way to make forward progress.

-- 
Jeff Squyres
jsquyres-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-04-07 20:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-23 16:06 Ummunotify: progress at last! Jeff Squyres
     [not found] ` <1CDB2AA4-A8DF-4169-943E-4EA190814596-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-03-23 16:59   ` Jason Gunthorpe
     [not found]     ` <20100323165920.GH29129-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-03-23 17:17       ` Jeff Squyres
     [not found]         ` <D7DCABC9-4BB2-4FBA-A7B3-C06F4A848467-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-03-23 17:29           ` Jason Gunthorpe
     [not found]             ` <20100323172953.GI29129-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-03-23 19:17               ` Jeff Squyres
     [not found]                 ` <5F80899D-F989-4162-B050-7E4D6B389876-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-03-23 19:52                   ` Jason Gunthorpe
     [not found]                     ` <20100323195251.GJ29129-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-03-23 20:01                       ` Jeff Squyres
     [not found]                         ` <3B848E1F-C9B6-416A-9E6E-99604E71902A-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-03-23 20:11                           ` Jason Gunthorpe
     [not found]                             ` <20100323201124.GK29129-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-03-24  5:59                               ` Roland Dreier
     [not found]                                 ` <adaljdi2rap.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-03-24 17:43                                   ` Jason Gunthorpe
2010-04-07 19:37                               ` Roland Dreier
     [not found]                                 ` <ada39z72gww.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-04-07 20:05                                   ` Jason Gunthorpe
2010-03-24  5:53           ` Roland Dreier
2010-03-24  5:55       ` Roland Dreier
     [not found]         ` <adapr2u2rib.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-03-24  5:59           ` Jason Gunthorpe
     [not found]             ` <20100324055913.GA9769-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-03-24  6:17               ` Roland Dreier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox