linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] iommu: Improve exception handling in iommu_group_alloc()
@ 2020-06-01 12:38 Markus Elfring
  2020-06-02  1:50 ` Baolin Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Elfring @ 2020-06-01 12:38 UTC (permalink / raw)
  To: Baolin Wang, Jörg Rödel, iommu; +Cc: kernel-janitors, linux-kernel

> Optimize the error handling to free the resources correctly when
> failed to allocate an iommu group.

* I would not categorise the desired completion of exception handling
  as a software optimisation.

* Would you like to add the tag “Fixes” to the commit message?

* I suggest to avoid the specification of duplicate function calls.
  Will it be helpful to add a few jump targets?
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?id=3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162#n455

Regards,
Markus

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

end of thread, other threads:[~2020-06-02  7:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 12:38 [PATCH] iommu: Improve exception handling in iommu_group_alloc() Markus Elfring
2020-06-02  1:50 ` Baolin Wang
2020-06-02  5:01   ` Markus Elfring
2020-06-02  5:56     ` Baolin Wang
2020-06-02  7:06       ` Markus Elfring

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).