lkml.org 
[lkml]   [2014]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next,v2,1/2] hyperv: Remove recv_pkt_list and lock
From
From: Haiyang Zhang <haiyangz@microsoft.com>
Date: Mon, 21 Apr 2014 14:54:43 -0700

> Removed recv_pkt_list and lock, and updated related code, so that
> the locking overhead is reduced especially when multiple channels
> are in use.
>
> The recv_pkt_list isn't actually necessary because the packets are
> processed sequentially in each channel. It has been replaced by a
> local variable, and the related lock for this list is also removed.
> The is_data_pkt field is not used in receive path, so its assignment
> is cleaned up.
>
> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
> Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>

Applied.


\
 
 \ /
  Last update: 2014-04-23 21:21    [W:0.080 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site