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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1190991750.18681.39.camel@chaos>
Date:	Fri, 28 Sep 2007 17:02:30 +0200
From:	Thomas Gleixner <tglx@...utronix.de>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
Cc:	Mark Lord <lkml@....ca>, Len Brown <lenb@...nel.org>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	simon.derr@...l.net
Subject: Re: [PATCH] disable non-boot CPUs before poweroff

On Fri, 2007-09-28 at 17:05 +0200, Rafael J. Wysocki wrote:
> >  	if (pm_power_off_prepare)
> >  		pm_power_off_prepare();
> >  	sysdev_shutdown();
> > +	disable_nonboot_cpus();
> 
> Before sysdev_shutdown(), please.
> 
> sysdev_shutdown() may touch things that belong to CPU0.

Damn, you're right. Missed that.

	tglx




-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ