[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 0/3] XSM PIRQ and rcu_lock_target cleanup



On Thu, 2013-01-17 at 18:55 +0000, Daniel De Graaf wrote:
> These three patches finish up the XSM IS_PRIV reworking, in addition to
> the patches posted by Ian and Lars fixing things for ARM. I did not
> include a patch removing the rcu_lock_target_domain_by_id function
> because it's still referenced in ARM at the moment, but it looks like
> those locations are being changed (or will be changed in the future).

Am I right that the appropriate transformation is:
        rc = rcu_lock_target_domain_by_id(domid, &d);
becomes:
        d = rcu_lock_domain_by_any_id(a.domid);
        if ( d == NULL )
            return -ESRCH;

        rc = xsm_SOMETHING(XSM_TARGET, d, PARAMS);
        if ( rc )
            ... unlock .. return or goto err

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.