Re: [PATCH 1/2] zram: Less checks in zram_bvec_write() after error detection

From: Julia Lawall
Date: Mon Dec 14 2015 - 02:17:41 EST


> I suggest to make the affected exception handling a bit more efficient.
> Such source code fine-tuning has got a few special consequences.

Exception handling is by definition exceptional, and thus its efficiency
is rarely important. What is important is that it should be correct, and
ideally clearly correct, so that someone can check its correctness easily.
Optimizations, if they have any effect at all, typically make the
correctness less obvious.

julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/