lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20151007132403.GA24924@redhat.com> Date: Wed, 7 Oct 2015 15:24:03 +0200 From: Oleg Nesterov <oleg@...hat.com> To: Peter Zijlstra <peterz@...radead.org> Cc: heiko.carstens@...ibm.com, linux-kernel@...r.kernel.org, Tejun Heo <tj@...nel.org>, Ingo Molnar <mingo@...nel.org>, Rik van Riel <riel@...hat.com> Subject: Re: [RFC][PATCH] sched: Start stopper early Damn sorry for noise ;) On 10/07, Oleg Nesterov wrote: > > +void stop_machine_park(int cpu) > +{ > + struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu); > + > + spin_lock(&stopper->lock); > + stopper->enabled = false; > + spin_unlock(&stopper->lock); Of course, it should also do kthread_park(current). Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists