Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754374AbcDVQAR (ORCPT ); Fri, 22 Apr 2016 12:00:17 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:2932 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751840AbcDVQAP (ORCPT ); Fri, 22 Apr 2016 12:00:15 -0400 Date: Fri, 22 Apr 2016 17:00:03 +0100 From: "Maciej W. Rozycki" To: Paul Burton CC: , Ralf Baechle , "stable # v4 . 0+" , Adam Buchbinder , , James Hogan Subject: Re: [PATCH 1/2] MIPS: Disable preemption during prctl(PR_SET_FP_MODE, ...) In-Reply-To: <1461239038-19991-1-git-send-email-paul.burton@imgtec.com> Message-ID: References: <1461239038-19991-1-git-send-email-paul.burton@imgtec.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [10.20.78.30] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 366 Lines: 12 On Thu, 21 Apr 2016, Paul Burton wrote: > Whilst a PR_SET_FP_MODE prctl is performed there are decisions made > based upon whether the task is executing on the current CPU. This may > change if we're preempted, so disable preemption to avoid such changes > for the lifetime of the mode switch. Reviewed-by: Maciej W. Rozycki Thanks! Maciej