[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2308863.lX5dfFvLLy@vostro.rjw.lan>
Date: Mon, 05 Oct 2015 22:47:31 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: Len Brown <len.brown@...el.com>, Pavel Machek <pavel@....cz>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PM / wakeup: wakeup_source_create: use kstrdup_const
On Wednesday, September 09, 2015 11:42:06 PM Rasmus Villemoes wrote:
> Using kstrdup_const allows us to save a little runtime memory (and a
> string copy) in the common case where name is a string literal.
>
> Signed-off-by: Rasmus Villemoes <linux@...musvillemoes.dk>
Applied, thanks!
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists