On Fri, Apr 05, 2013 at 06:13:52PM +0800, Chen Gang wrote: > > for space consummation statistics, 'buffer_size' is more accurate than 'size'. > > only when "n == NULL" and 'size' is more smaller than 'buffer_size' > it will be "size + sizeof(struct binder_buffer)". > else > it is still 'size'. > > that is just the meaning of 'buffer_size'. > > so use 'buffer_size' instead of 'size', which can save some free space. Have you tested this? _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel