lkml.org 
[lkml]   [2005]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 12/16] IB uverbs: add mthca user PD support
From
Date
    Andrew> What is a userspace protection domain?

A protection domain is an abstraction enforced by IB hardware --
loosely put, every resource (work queue, memory region, etc) in put in
a PD when it is created, and different resources can only see each
other if they belong to the same PD.

As an example, PDs are needed because IB allows unprivileged processes
to directly post requests to work queues. Work requests refer to
memory regions by memory keys (32 bit cookies). Without PDs, a
process could get access to another process's memory region if it
could guess the 32-bit key -- with PDs, it can't because the other
process's memory region will be in a different PD from its work queue.

- 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-06-29 18:21    [W:2.283 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site