From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756126AbbGTNls (ORCPT ); Mon, 20 Jul 2015 09:41:48 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:46194 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753024AbbGTNlq (ORCPT ); Mon, 20 Jul 2015 09:41:46 -0400 X-IronPort-AV: E=Sophos;i="5.15,508,1432598400"; d="scan'208";a="285693663" Message-ID: <55ACFA96.9060102@citrix.com> Date: Mon, 20 Jul 2015 14:41:42 +0100 From: David Vrabel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Konstantin Khlebnikov , Peter Zijlstra CC: , , , , Alexander Graf , Paul Mackerras , David Vrabel , , Boris Ostrovsky , Subject: Re: [Xen-devel] [PATCH v2 1/3] drivers/xen/preempt: use need_resched() instead of should_resched() References: <20150715095201.12246.49283.stgit@buzz> In-Reply-To: <20150715095201.12246.49283.stgit@buzz> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/07/15 10:52, Konstantin Khlebnikov wrote: > This code is used only when CONFIG_PREEMPT=n and only in non-atomic context: > xen_in_preemptible_hcall is set only in privcmd_ioctl_hypercall(). > Thus preempt_count is zero and should_resched() is equal to need_resched(). Applied to for-linus-4.3, thanks. David