From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752719AbaBNNUD (ORCPT ); Fri, 14 Feb 2014 08:20:03 -0500 Received: from www.linutronix.de ([62.245.132.108]:41709 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751584AbaBNNUA convert rfc822-to-8bit (ORCPT ); Fri, 14 Feb 2014 08:20:00 -0500 Date: Fri, 14 Feb 2014 14:19:59 +0100 From: Sebastian Andrzej Siewior To: Nicholas Mc Guire Cc: linux-rt-users@vger.kernel.org, LKML , Steven Rostedt , Peter Zijlstra , Carsten Emde , Thomas Gleixner , Andreas Platschek Subject: Re: [PATCH RT 4/5] allow preemption in mem_cgroup_move_account_page_stat Message-ID: <20140214131959.GG28438@linutronix.de> References: <20140210153933.GE20017@opentech.at> <20140214131705.GF28438@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20140214131705.GF28438@linutronix.de> X-Key-Id: 97C4700B X-Key-Fingerprint: 09E2 D1F3 9A3A FF13 C3D3 961C 0688 1C1E 97C4 700B User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Sebastian Andrzej Siewior | 2014-02-14 14:17:05 [+0100]: >Now, that I look at it again. Isn't it more efficient to keep preemption >disabled for this very short time instead instead of invoking >migrate_disable() which includes preempt_disable()/enable() and a few >more opcodes… >Therefore, I drop it again. I think doing the same for the 1/5 of this series since it also disables migration for a handfull of asm opcodes. Sebastian