diff options
| author | Sudeep Dutt <[email protected]> | 2015-09-29 18:16:19 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-10-04 12:54:54 +0100 |
| commit | 564c8d8dfc39638978ac37d37f61733240f31a36 (patch) | |
| tree | 19d428166bf32aa08ee8901f5cf6baeca6d8b269 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 7cc31cd27752e5e92f968e39095c4ea9d78c758e (diff) | |
misc: mic: SCIF fence
This patch implements the fence APIs required to synchronize
DMAs. SCIF provides an interface to return a "mark" for all DMAs
programmed at the instant the API was called. Users can then "wait" on
the mark provided previously by blocking inside the kernel. Upon
receipt of a DMA completion interrupt the waiting thread is woken
up. There is also an interface to signal DMA completion by polling for
a location to be updated via a "signal" cookie to avoid the interrupt
overhead in the mark/wait interface. SCIF allows programming fences on
both the local and the remote node for both the mark/wait or the fence
signal APIs.
Reviewed-by: Ashutosh Dixit <[email protected]>
Reviewed-by: Nikhil Rao <[email protected]>
Signed-off-by: Jacek Lawrynowicz <[email protected]>
Signed-off-by: Sudeep Dutt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions