kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2]  use jump label to handle resource release in irq_bypass_register_*
@ 2019-12-06  2:53 linmiaohe
  2019-12-06  2:53 ` [PATCH 1/2] KVM: lib: use jump label to handle resource release in irq_bypass_register_consumer() linmiaohe
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: linmiaohe @ 2019-12-06  2:53 UTC (permalink / raw)
  To: pbonzini, alex.williamson; +Cc: linmiaohe, kvm, linux-kernel

From: Miaohe Lin <linmiaohe@huawei.com>

Use out_err jump label to help handle resource release.
It's a good practice to release resource in one place
and help eliminate some duplicated code.

Miaohe Lin (2):
  KVM: lib: use jump label to handle resource release in
    irq_bypass_register_consumer()
  KVM: lib: use jump label to handle resource release in
    irq_bypass_register_producer()

 virt/lib/irqbypass.c | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

-- 
2.19.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-09 17:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06  2:53 [PATCH 0/2] use jump label to handle resource release in irq_bypass_register_* linmiaohe
2019-12-06  2:53 ` [PATCH 1/2] KVM: lib: use jump label to handle resource release in irq_bypass_register_consumer() linmiaohe
2019-12-06  2:53 ` [PATCH 2/2] KVM: lib: use jump label to handle resource release in irq_bypass_register_producer() linmiaohe
2019-12-09 17:05 ` [PATCH 0/2] use jump label to handle resource release in irq_bypass_register_* Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).