Re: [PATCH] util: Optimize path_encode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 21, 2008 at 12:12, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote:
> strncpy() shows up in profiling.
> Since we already know the length, use memcpy() instead.
>
> Measured 2% _user_ cpu time reduction on EeePC coldplug

Applied.

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux