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