Re: MD-RAID: Use seq_putc() in three status functions?

From: Hannes Reinecke
Date: Mon Oct 17 2016 - 01:59:02 EST


On 10/16/2016 07:10 PM, SF Markus Elfring wrote:
>> Does it improve code? Does it improve anything?
>
> Yes. - I got such an impression.
>
> * Is it more efficient to call the function "seq_printf" for the desired data processing
> for a single character than to pass it to the function "" in a string?
>
> * Will the required data transfer shrink a bit for the affected functions because of
> such a change?
>
Which are questions _you_ should be able to answer.
It's your patch, after all.
Once you do (and prove that the answer is 'yes' to the above two
questions) the patch will be applied.

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@xxxxxxx +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 NÃrnberg
GF: F. ImendÃrffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG NÃrnberg)