public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Mike Galbraith <efault@gmx.de>
Cc: Ingo Molnar <mingo@elte.hu>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: x86-tip: cpufreq breakage - bisection	fingers	89c9215165ca609096e845926d9a18f1306176a4
Date: Wed, 04 Mar 2009 15:31:04 +0900	[thread overview]
Message-ID: <49AE2028.8040402@kernel.org> (raw)
In-Reply-To: <1236147277.6049.3.camel@marge.simson.net>

Hello, Mike.

Mike Galbraith wrote:
> On Wed, 2009-03-04 at 04:43 +0100, Mike Galbraith wrote:
>> On Wed, 2009-03-04 at 10:59 +0900, Tejun Heo wrote:
>>
>>> I can't reproduce the problem here.
>> Guess I'll have to sharpen a stick or two then.
> 
> With monkey-see-monkey-do-stick, box becomes happy camper again.
> 
> diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c
> index c29f301..bc9972a 100644
> --- a/arch/x86/kernel/setup_percpu.c
> +++ b/arch/x86/kernel/setup_percpu.c
> @@ -256,6 +256,11 @@ static struct page * __init pcpue_get_page(unsigned int cpu, int pageno)
>  			    + ((size_t)pageno << PAGE_SHIFT));
>  }
>  
> +static void __init embed_populate_pte(unsigned long addr)
> +{
> +	populate_extra_pte(addr);
> +}
> +
>  static ssize_t __init setup_pcpu_embed(size_t static_size)
>  {
>  	unsigned int cpu;
> @@ -284,10 +289,15 @@ static ssize_t __init setup_pcpu_embed(size_t static_size)
>  	pr_info("PERCPU: Embedded %zu pages at %p, static data %zu bytes\n",
>  		pcpue_unit_size >> PAGE_SHIFT, pcpue_ptr, static_size);
>  
> +#if 0
>  	return pcpu_setup_first_chunk(pcpue_get_page, static_size,
>  				      pcpue_unit_size,
>  				      pcpue_unit_size - static_size, pcpue_ptr,
>  				      NULL);
> +#else
> +	return pcpu_setup_first_chunk(pcpue_get_page, static_size,
> +				      0, 0, NULL, embed_populate_pte);
> +#endif
>  }

That isn't quite correct but is still very interesting that it fixes
the build issue.  Super weird.  I'm almost done setting up 11.0 system.
I'll dig into it as soon as I'm done with sata_nv -stable issue.

Thanks for drilling it down.

-- 
tejun

  reply	other threads:[~2009-03-04  6:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 13:07 x86-tip: cpufreq breakage - bisection fingers 89c9215165ca609096e845926d9a18f1306176a4 Mike Galbraith
2009-03-03 14:31 ` Ingo Molnar
2009-03-03 16:38   ` Mike Galbraith
2009-03-04  1:59     ` Tejun Heo
2009-03-04  3:43       ` Mike Galbraith
2009-03-04  6:14         ` Mike Galbraith
2009-03-04  6:31           ` Tejun Heo [this message]
2009-03-04  9:38             ` Tejun Heo
2009-03-04  9:43               ` Tejun Heo
2009-03-04 10:44                 ` Mike Galbraith
2009-03-04 13:58                   ` Tejun Heo
2009-03-04 14:35                     ` Mike Galbraith
2009-03-04 14:40                       ` Mike Galbraith
2009-03-04 17:08                       ` Ingo Molnar
2009-03-05  4:36                       ` Tejun Heo
2009-03-04 12:13               ` Mike Galbraith

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=49AE2028.8040402@kernel.org \
    --to=tj@kernel.org \
    --cc=efault@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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