netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: claudiu.manoil@freescale.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 1/3][net-next] gianfar: Optimize struct gfar_priv_tx_q for two cache lines
Date: Tue, 29 Jan 2013 15:22:27 -0500 (EST)	[thread overview]
Message-ID: <20130129.152227.957529528185001040.davem@davemloft.net> (raw)
In-Reply-To: <1359467712-32079-1-git-send-email-claudiu.manoil@freescale.com>

From: Claudiu Manoil <claudiu.manoil@freescale.com>
Date: Tue, 29 Jan 2013 15:55:10 +0200

> Resize and regroup structure members to eliminate memory holes and
> to pack the structure into 2 cache lines (from 3).
> tx_ring_size was resized from 4 to 2 bytes and few members were re-grouped
> in order to eliminate byte holes and achieve compactness.
> Where possible, few members were grouped according to their usage and access
> order (i.e. start_xmit vs. clean_tx_ring members), less important members
> were pushed at the end.
> 
> Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>

Applied.

      parent reply	other threads:[~2013-01-29 20:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29 13:55 [PATCH 1/3][net-next] gianfar: Optimize struct gfar_priv_tx_q for two cache lines Claudiu Manoil
2013-01-29 13:55 ` [PATCH 2/3][net-next] gianfar: Cleanup gfar_parse_group() code Claudiu Manoil
2013-01-29 13:55   ` [PATCH 3/3][net-next] gianfar: Pack struct gfar_priv_grp into three cachelines Claudiu Manoil
2013-01-29 14:35     ` David Laight
2013-01-29 15:19       ` Claudiu Manoil
2013-01-29 20:22     ` David Miller
2013-01-29 20:22   ` [PATCH 2/3][net-next] gianfar: Cleanup gfar_parse_group() code David Miller
2013-01-29 20:22 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130129.152227.957529528185001040.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=claudiu.manoil@freescale.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).