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
[email protected]
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to