Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752373Ab2FNVlv (ORCPT ); Thu, 14 Jun 2012 17:41:51 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:65515 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751889Ab2FNVlt (ORCPT ); Thu, 14 Jun 2012 17:41:49 -0400 MIME-Version: 1.0 In-Reply-To: <1339709115-531-1-git-send-email-per.forlin@stericsson.com> References: <1339709115-531-1-git-send-email-per.forlin@stericsson.com> Date: Thu, 14 Jun 2012 14:41:48 -0700 X-Google-Sender-Auth: -Ei8wxMB5JCbCOgmPxJ40Adk-DE Message-ID: Subject: Re: [PATCH] reboot: disable nonboot CPUs From: Kees Cook To: Per Forlin Cc: linux-kernel@vger.kernel.org, gorcunov@openvz.org, serge.hallyn@canonical.com, Linus Walleij , Per Forlin , Andrew Morton Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 707 Lines: 21 On Thu, Jun 14, 2012 at 2:25 PM, Per Forlin wrote: > Disable the nonboot CPUs to safely migrate tasks and interrupts > to the boot CPU. This will prevent the nonboot CPUs to > interfer or block the boot CPU from being able to reboot > the system successfully. Reviewed-by: Kees Cook This seems reasonable to me, though I haven't looked too deeply at the reboot path. -Kees -- Kees Cook Chrome OS Security -- 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/