From: David Miller <davem@davemloft.net>
To: mchan@broadcom.com
Cc: netdev@vger.kernel.org, andy@greyhouse.net, benli@broadcom.com
Subject: Re: [PATCH net-next 5/6] [BNX2]: Pre-initialize struct cpu_reg.
Date: Fri, 16 May 2008 22:20:35 -0700 (PDT) [thread overview]
Message-ID: <20080516.222035.253970824.davem@davemloft.net> (raw)
In-Reply-To: <1210973448.5507.21.camel@dell>
From: "Michael Chan" <mchan@broadcom.com>
Date: Fri, 16 May 2008 14:30:48 -0700
> [BNX2]: Pre-initialize struct cpu_reg.
>
> Instead of assigning values for the struct cpu_reg's at runtime,
> we already know these values at compile time. Therefore, we can use
> designated initializers, to initialize these structures and not have
> to incur this assignment cost at run-time.
>
> Signed-off-by: Benjamin Li <benli@broadcom.com>
> Signed-off-by: Michael Chan <mchan@broadcom.com>
Applied.
prev parent reply other threads:[~2008-05-17 5:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 21:30 [PATCH net-next 5/6] [BNX2]: Pre-initialize struct cpu_reg Michael Chan
2008-05-16 20:30 ` David Miller
2008-05-16 21:53 ` Michael Chan
2008-05-16 21:00 ` David Miller
2008-05-17 5:20 ` 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=20080516.222035.253970824.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andy@greyhouse.net \
--cc=benli@broadcom.com \
--cc=mchan@broadcom.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).