lkml.org 
[lkml]   [2005]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH][RFC][0/4] InfiniBand userspace verbs implementation
From
Date
    Andrew> ug.  What stops the memory from leaking if the process
Andrew> exits?

Andrew> I hope this is a privileged operation?

I don't think it has to be privileged. In my implementation, the
driver keeps a per-process list of registered memory regions and
unpins/cleans up on process exit.

Andrew> It would be better to obtain this memory via a mmap() of
Andrew> some special device node, so we can perform appropriate
Andrew> permission checking and clean everything up on unclean
Andrew> application exit.

This seems to interact poorly with how applications want to use RDMA,
ie typically through a library interface such as MPI. People doing
HPC don't want to recode their apps to use a new allocator, they just
want to link to a new MPI library and have the app go fast.

- R.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-26 02:01    [W:0.108 / U:1.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site