Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1400959

Re: [PATCH] i40iw: pass hw_stats by reference rather than by value

From Doug Ledford <dledford@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] i40iw: pass hw_stats by reference rather than by value
Date 2016-05-13 22:00 +0200
Message-ID <ryrpE-1Ci-11@gated-at.bofh.it> (permalink)
References <rhDnb-6gg-3@gated-at.bofh.it> <rhPeG-62V-11@gated-at.bofh.it>
Organization Red Hat, Inc.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 03/28/2016 07:57 PM, Chien Tin Tung wrote:
> On Mon, Mar 28, 2016 at 12:14:46PM +0100, Colin King wrote:
>> From: Colin Ian King <colin.king@canonical.com>
>>
>> passing hw_stats by value requires a 280 byte copy so instead
>> pass it by reference is much more efficient.
>>
>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> 
> Thank you for the patch Colin.
> 
> Acked-by: Chien Tin Tung <chien.tin.tung@intel.com>
> 

Thanks, applied.

-- 
Doug Ledford <dledford@redhat.com>
              GPG KeyID: 0E572FDD


Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] i40iw: pass hw_stats by reference rather than by value Doug Ledford <dledford@redhat.com> - 2016-05-13 22:00 +0200

csiph-web