From: NeilBrown <neilb@suse.de>
To: "Jan Beulich" <JBeulich@suse.com>
Cc: <linux-kernel@vger.kernel.org>,
"Borislav Petkov" <borislav.petkov@amd.com>,
<herbert@gondor.hengli.com.au>, <james.t.kukunas@linux.intel.com>
Subject: Re: [PATCH] add further __init annotations to crypto/xor.c
Date: Tue, 11 Sep 2012 16:05:23 +1000 [thread overview]
Message-ID: <20120911160523.3d5284f8@notabene.brown> (raw)
In-Reply-To: <504DF52C020000780009A301@nat28.tlf.novell.com>
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
On Mon, 10 Sep 2012 13:11:56 +0100 "Jan Beulich" <JBeulich@suse.com> wrote:
> Allow particularly do_xor_speed() to be discarded post-init.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
>
> ---
> crypto/xor.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- 3.6-rc5/crypto/xor.c
> +++ 3.6-rc5-sections-xor/crypto/xor.c
> @@ -56,11 +56,11 @@ xor_blocks(unsigned int src_count, unsig
> EXPORT_SYMBOL(xor_blocks);
>
> /* Set of all registered templates. */
> -static struct xor_block_template *template_list;
> +static struct xor_block_template *__initdata template_list;
>
> #define BENCH_SIZE (PAGE_SIZE)
>
> -static void
> +static void __init
> do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2)
> {
> int speed;
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
applied, thanks.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
prev parent reply other threads:[~2012-09-11 6:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-10 12:11 Jan Beulich
2012-09-11 6:05 ` NeilBrown [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=20120911160523.3d5284f8@notabene.brown \
--to=neilb@suse.de \
--cc=JBeulich@suse.com \
--cc=borislav.petkov@amd.com \
--cc=herbert@gondor.hengli.com.au \
--cc=james.t.kukunas@linux.intel.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®