Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1216683

Re: [GIT PULL] scheduler changes for v4.3

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [GIT PULL] scheduler changes for v4.3
Date 2015-09-01 10:40 +0200
Message-ID <q3PgK-1hp-31@gated-at.bofh.it> (permalink)
References <q3B47-5ZA-35@gated-at.bofh.it> <q3O1k-819-19@gated-at.bofh.it> <q3Ob0-8cq-19@gated-at.bofh.it> <q3Oum-7o-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Markus Trippelsdorf <markus@trippelsdorf.de> wrote:

> Well, git show a1d8561172f369ba56d636df49a6b4d6d77e2123 :
> 
> commit a1d8561172f369ba56d636df49a6b4d6d77e2123
> Merge: 3959df1dfb95 ff277d4250fe
> Author: Linus Torvalds <torvalds@linux-foundation.org>
> Date:   Mon Aug 31 20:26:22 2015 -0700

> diff --cc kernel/cpu.c
> index 3c91a3fdfce5,664ce5299334..82cf9dff4295
> --- a/kernel/cpu.c
> +++ b/kernel/cpu.c
> @@@ -394,15 -392,10 +394,15 @@@ static int _cpu_down(unsigned int cpu, 
>   	smpboot_park_threads(cpu);
>   
>   	/*
>  -	 * So now all preempt/rcu users must observe !cpu_active().
>  +	 * Prevent irq alloc/free while the dying cpu reorganizes the
>  +	 * interrupt affinities.
>   	 */
>  +	irq_lock_sparse();
>   
>  +	/*
>  +	 * So now all preempt/rcu users must observe !cpu_active().
>  +	 */
> - 	err = __stop_machine(take_cpu_down, &tcd_param, cpumask_of(cpu));
> + 	err = stop_machine(take_cpu_down, &tcd_param, cpumask_of(cpu));
>   	if (err) {
>   		/* CPU didn't die: tell everyone.  Can't complain. */
>   		cpu_notify_nofail(CPU_DOWN_FAILED | mod, hcpu);

So the irq_lock_sparse() change is from a commit that got merged in the last merge 
window, which is part of v4.2:

  ce0d3c0a6fb1 ("genirq: Revert sparse irq locking around __cpu_up() and move it to x86 for now")

Could you please post the patch against Linus's latest that you have tested on 
your system to make it boot fine?

The one you posted cannot possibly build, because access to __stop_machine() is 
gone from cpu.c:

kernel/cpu.c: In function ‘_cpu_down’:
kernel/cpu.c:404:2: error: implicit declaration of function ‘__stop_machine’ [-Werror=implicit-function-declaration]
  err = __stop_machine(take_cpu_down, &tcd_param, cpumask_of(cpu));
  ^

Thanks,

	Ingo
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 09:20 +0200
  Re: [GIT PULL] scheduler changes for v4.3 Ingo Molnar <mingo@kernel.org> - 2015-09-01 09:30 +0200
    Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 09:50 +0200
      Re: [GIT PULL] scheduler changes for v4.3 Ingo Molnar <mingo@kernel.org> - 2015-09-01 10:40 +0200
        Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 10:50 +0200
          Re: [GIT PULL] scheduler changes for v4.3 Ingo Molnar <mingo@kernel.org> - 2015-09-01 11:00 +0200
            Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 12:10 +0200
              Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-01 15:10 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 16:00 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 00:40 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-02 06:00 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 11:30 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-02 11:40 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 12:40 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-02 13:00 +0200
                Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot  failures Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2015-09-02 13:10 +0200
        Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 11:00 +0200
    Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 10:20 +0200
      Re: [GIT PULL] scheduler changes for v4.3 Markus Trippelsdorf <markus@trippelsdorf.de> - 2015-09-01 10:40 +0200

csiph-web