search for: usr_ptr

Displaying 2 results from an estimated 2 matches for "usr_ptr".

Did you mean: user_ptr
2008 Oct 01
11
RFE: if/else control flow in probes
...verhead of invoking dtrace every time they enter/exit (~6usec), at thread startup they pass dtrace a pointer to a variable which they can then update directly; dtrace checks it during context switches: sched:::off-cpu / pid == $1 && self->user_ptr != 0 && *(int*) copyin(self->usr_ptr, sizeof(int)) != 0 / { /* print notification message */ } The first two predicates are cacheable and eliminate virtually all of the threads in the system, while the third predicate is uncacheable and only required occasionally. To minimize the cost of this probe it would be very nice to be able to...
2019 Apr 04
1
Proof of concept for GPU forwarding for Linux guest on Linux host.
Hi, This is a proof of concept of GPU forwarding for Linux guest on Linux host. I'd like to get comments and suggestions from community before I put more time on it. To summarize what it is: 1. It's a solution to bring GPU acceleration for Linux vm guest on Linux host. It could works with different GPU although the current proof of concept only works with Intel GPU. 2. The basic idea