LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Rakib Mullick" <rakib.mullick@gmail.com>
To: "Ingo Molnar" <mingo@elte.hu>
Cc: "Rufus & Azrael" <rufus-azrael@numericable.fr>,
	"Linux-kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] x86: Fixing improper annotation.
Date: Fri, 14 Nov 2008 09:27:10 +0600	[thread overview]
Message-ID: <b9df5fa10811131927g56d9887jdda1d1ec0d7f8c07@mail.gmail.com> (raw)
In-Reply-To: <b9df5fa10811111635i1154a9a3la5b9fbcfef4df9dc@mail.gmail.com>

On 11/12/08, Rakib Mullick <rakib.mullick@gmail.com> wrote:
> On 11/11/08, Ingo Molnar <mingo@elte.hu> wrote:
>
>  >
>  > okay - so i wont apply them until the full scope of the problems here
>  >  is mapped. We might be best off by marking xsave_cntxt_init() non-init
>  >  altogether for the time being?
>
> But, it's been called from an __init section, it will also trigger an
>  warning too. So, it
>   will remain as it was. If we goes to hunt these warnings ( I mean
>  we've to replace __init __alloc_bootmem() with __cpuinit
>  __alloc_bootmem() ) , it's not certain when it will stop. Likely , we
>  need to replace a lots of __init with __cpuinit.
>
Actually , if we replace __init __alloc_bootmem() with __cpuinit
__alloc_bootmem() that doesn't solve the problem. The mentioned
warning generates when CONFIG_ARCH_BOOTMEM_NODE=y is set. I think Ingo
is right. We can mark xsave_cntxt_init() as non-init. And we could
teach modpost to not to generate the warning
with __ref. Can we, Ingo ?
>  Rakib
>  >
>  >         Ingo
>  >
>

  reply	other threads:[~2008-11-14  3:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11  8:06 Rufus & Azrael
2008-11-11 10:36 ` [PATCH " Ingo Molnar
2008-11-11 10:48   ` Rufus & Azrael
2008-11-11 10:41     ` Ingo Molnar
2008-11-12  0:35       ` Rakib Mullick
2008-11-14  3:27         ` Rakib Mullick [this message]
2008-11-18 21:39           ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2008-11-11  4:15 Rakib Mullick

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=b9df5fa10811131927g56d9887jdda1d1ec0d7f8c07@mail.gmail.com \
    --to=rakib.mullick@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rufus-azrael@numericable.fr \
    --subject='Re: [PATCH 1/2] x86: Fixing improper annotation.' \
    /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

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).