[ofa-general] Re: [PATCH 1/3] Infiniband: make ehca_pd use struct pid pointer rather than pid_t

Roland Dreier rdreier at cisco.com
Tue Mar 18 09:10:55 PDT 2008


 > Reason for above checking is to prevent a child process releasing
 > a resource that the parent process has created and still wants to use.
 > Do you think that's something we can generalize into ib_core?

Clearly if we want that check then it should be in the core uverbs
module.  But I'm not sure why we would want that check -- I don't see
any realistic scenario where that would cause problems, and it seems
at least as likely that the check would break an app that
intentionally does something clever.

 - R.




More information about the general mailing list