From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965082AbbI2NTF (ORCPT ); Tue, 29 Sep 2015 09:19:05 -0400 Received: from www.linutronix.de ([62.245.132.108]:39567 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965003AbbI2NSs (ORCPT ); Tue, 29 Sep 2015 09:18:48 -0400 Date: Tue, 29 Sep 2015 15:18:02 +0200 (CEST) From: Thomas Gleixner To: Peter Zijlstra cc: mingo@kernel.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, fweisbec@gmail.com, oleg@redhat.com, umgwanakikbuti@gmail.com, rostedt@goodmis.org Subject: Re: [RFC][PATCH 09/11] sched, x86: Kill saved_preempt_count In-Reply-To: <20150929093520.511427093@infradead.org> Message-ID: References: <20150929092825.540553633@infradead.org> <20150929093520.511427093@infradead.org> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001,URIBL_BLOCKED=0.001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Sep 2015, Peter Zijlstra wrote: > With the introduction of the context switch preempt_count invariant, > and the demise of PREEMPT_ACTIVE, its pointless to save/restore the > per-cpu preemption count, it must always be 2. Reviewed-by: Thomas Gleixner