On Sat, Aug 20, 2011 at 09:34:12AM -0700, Guenter Roeck wrote: > On Sat, Aug 20, 2011 at 08:58:23AM -0400, Jean Delvare wrote: > > Preallocate a buffer for the response to sensor reads, and reuse it > > for each read instead of allocating a new one each time. This should > > be faster and should also avoid memory fragmentation. > > > > Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx> > > Cc: Darrick J. Wong <djwong@xxxxxxxxxx> > > Cc: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx> > > Acked-by: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx> Acked-by: Darrick J. Wong <djwong@xxxxxxxxxx> _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors