[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100605.025423.258132771.davem@davemloft.net>
Date: Sat, 05 Jun 2010 02:54:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: mingo@...hat.com, tglx@...utronix.de, hpa@...or.com,
x86@...nel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, gospo@...hat.com,
alexander.h.duyck@...el.com
Subject: Re: [net-next-2.6 PATCH 1/2] skbuff: add check for non-linear to
warn_if_lro and needs_linearize
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Wed, 02 Jun 2010 15:24:37 -0700
> From: Alexander Duyck <alexander.h.duyck@...el.com>
>
> We can avoid an unecessary cache miss by checking if the skb is non-linear
> before accessing gso_size/gso_type in skb_warn_if_lro, the same can also be
> done to avoid a cache miss on nr_frags if data_len is 0.
>
> Signed-off-by: Alexander Duyck <alexander.h.duyck@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists