Re: [PATCH] kobject_add: use constant strings directly as fmt strings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kay Sievers
Date: Wednesday, November 19, 2008 - 10:00 am

On Wed, Nov 19, 2008 at 17:17, rae l <crquan@gmail.com> wrote:

Not that we should be able to measure it, but it should save some
cycles parsing the format character and retrieving the string pointer
from the stack, yes.


It should be fine for strings, where you can be sure they can never
contain a '%', sure.

Thanks,
Kay
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] kobject_add: use constant strings directly as ..., Kay Sievers, (Wed Nov 19, 10:00 am)