In the course of preparing v4 of "evtchn: (not so) recent XSAs follow-on" (which is a contextual prereq to some of the patches here) I've noticed some slight inefficiencies. I've then also looked for similar patterns elsewhere.
1: common: don't (kind of) open-code rcu_lock_domain_by_any_id() 2: evtchn: don't pointlessly use get_domain() 3: argo: don't pointlessly use get_domain_by_id() 4: x86: don't pointlessly use get_domain_by_id() 5: x86/mem-sharing: don't pointlessly use get_domain_by_id() Jan