Re: md: Combine two kmalloc() calls into one in sb_equal()

From: SF Markus Elfring
Date: Fri Dec 09 2016 - 16:58:40 EST


> Irrelevant, the variable is not used before checking it.

* Will it be more appropriate to attempt another memory allocation only if
the previous one succeeded already?

* Can it be a bit more efficient to duplicate only the required data
in a single function call before?

Regards,
Markus