[PATCH] um: allow using glibc string functions instead of generics

Richard Weinberger richard at nod.at
Tue Nov 10 16:29:53 EST 2020


----- Ursprüngliche Mail -----
> Von: "anton ivanov" <anton.ivanov at cambridgegreys.com> 
>> On what workload did you see such a huge performance improvement?
> 
> File IO ~ 1% or thereabouts, iperf - 2-4%.
> 
>> The in-kernel variants of memcpy and such are already well optimized.
> 
> UML has no string.h in asm which means it falls back to
> asm-generic/string.h which in turn pulls in the ones from lib/string.c
>
> These are not optimized.

Hmmm, I think it should use the highly optimized variants from arch/x86.

Thanks,
//richard



More information about the linux-um mailing list