On Thu, Apr 04, 2013 at 04:41:53PM -0700, Ben Widawsky wrote: > Storing the last context requires refcounting. Mika recently submitted > some refcounting patches which leverages our request mechanism. This is > insufficient for my needs because we want to know the last context even > if the request has ended, ie. doing the kref_put when a request is > finished isn't okay (unless we switch back to the default context, and > wait for the switch) This does not address Mika's requirements for tracking a ctx on each request - but note that request->ctx can be used here instead. -Chris -- Chris Wilson, Intel Open Source Technology Centre