Re: [PATCH 1/1] platform: optimize sysctl_set() to use stack allocated buffer
- From: Beniamino Galvani <bgalvani redhat com>
- To: Thomas Haller <thaller redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: [PATCH 1/1] platform: optimize sysctl_set() to use stack allocated buffer
- Date: Wed, 24 Feb 2016 11:20:59 +0100
On Tue, Feb 23, 2016 at 11:54:43PM +0100, Thomas Haller wrote:
The value written to sysctl is usually a short string. It makes sense
to optimize for this case and avoid allocating a temporary string
on the heap.
LGTM.
Beniamino
Attachment:
signature.asc
Description: PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]