On Apr 14, 2010, at 5:06 AM, Gleb Natapov wrote:

> > The Open MPI developers have spent a lot of effort trying to handle this
> > purely in userspace and still do not believe that a truly robust
> > solution is possible without kernel help.  Perhaps they can expand on
> > what the obstacles are.

By "truly robust" we mean that some other user-level code can't override the 
hooks installed by the MPI (user level) middleware.  All current glibc hooks 
are overridable by other user-level code -- and sometimes real applications do 
this (for their own good reasons).  Most of the time, apps blithely override 
our hooks because they either don't know or can't know that our hooks are 
installed.  It can be dicey to know what you can and cannot override 
pre-main(), for example (e.g., via the __malloc_initialize_hook).

Opening up a direct channel to the kernel and saying "hey, tell me when 
something changes" is robust because no other entity can hijack your 
notifications.  It also allows us to avoid using pre-main hooks, and makes it 
so that we don't have to hook into the memory subsystem (usually replacing it 
with our own).  Both of these things are extremely distasteful -- fixing these 
two things alone make doing something like ummunotify worthwhile, IMHO.

-- 
Jeff Squyres
jsquy...@cisco.com
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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to