From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E69E7C4361B for ; Tue, 15 Dec 2020 16:29:49 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 892352078B for ; Tue, 15 Dec 2020 16:29:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 892352078B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.54485.94692 (Exim 4.92) (envelope-from ) id 1kpDCo-0004S1-HR; Tue, 15 Dec 2020 16:29:42 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 54485.94692; Tue, 15 Dec 2020 16:29:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kpDCo-0004Rt-Du; Tue, 15 Dec 2020 16:29:42 +0000 Received: by outflank-mailman (input) for mailman id 54485; Tue, 15 Dec 2020 16:29:41 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kpDCn-0004Ow-LM for xen-devel@lists.xenproject.org; Tue, 15 Dec 2020 16:29:41 +0000 Received: from mail-wr1-f67.google.com (unknown [209.85.221.67]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 69d3f5d6-df17-4451-ba3b-4abd5894ee80; Tue, 15 Dec 2020 16:29:38 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id r7so20488577wrc.5 for ; Tue, 15 Dec 2020 08:29:38 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id h29sm26837793wrc.68.2020.12.15.08.29.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 08:29:37 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 69d3f5d6-df17-4451-ba3b-4abd5894ee80 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=uOABWkSAvdD198SSsGdA5XhgKek8Zb4ci4zIBiaJPzE=; b=RCaAmS47yMmtfJ7GC3ssy5sp4kiMjAX2MGAF8540gioQ64+XH8WToqNMyxaUDl8vZQ 8NcIe8KkkNFbI3sRcFgUlmMaFUBI26CSo4S8X1q40fRcS6lAXst2KSg3d4hFIpFwmB2r NuwQ1kQIV5amHKn2EJviqGN/BBh9MCb9cgXBrnzLQ0an4ku2c4SdwQaTsb/F4+Q9ommn iWYEexUCA1/CpVVEICuh0lodF2TukUL+LIzUO6nF6gLU3PqarmFtJGxg5KYQOf6E7JVq auGDXuUpk9Yai/h4+w+eY9jTgcXwFz79AwZH5ehBRA4SqRLkwl0VkQVADVWHf4AOqFhO Pwhg== X-Gm-Message-State: AOAM531eFacCytgVy24y8eD3EF8NUjTJJjWI7GoR/lXTZ4hk670PANwv jKMVHRMdThq8GcnFUOhpAXI= X-Google-Smtp-Source: ABdhPJzt0bdUPI5AlsVeen9j9jU1OdH+99+4LMPrnhLYVuL8ETKWJwu3VPm7TAFLUDvP1SKuxN9nNw== X-Received: by 2002:adf:e590:: with SMTP id l16mr35018336wrm.294.1608049778235; Tue, 15 Dec 2020 08:29:38 -0800 (PST) Date: Tue, 15 Dec 2020 16:29:36 +0000 From: Wei Liu To: Jan Beulich Cc: "xen-devel@lists.xenproject.org" , Andrew Cooper , Wei Liu , Roger Pau =?utf-8?B?TW9ubsOp?= Subject: Re: [PATCH v2 3/4] x86/PV: avoid double stack reset during schedule tail handling Message-ID: <20201215162936.vwex5yvwzg6nsi7u@liuwe-devbox-debian-v2> References: <00befc54-58f7-1891-031e-cdb848fb5787@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00befc54-58f7-1891-031e-cdb848fb5787@suse.com> User-Agent: NeoMutt/20180716 On Tue, Dec 15, 2020 at 05:12:36PM +0100, Jan Beulich wrote: > Invoking check_wakeup_from_wait() from assembly allows the new > continue_pv_domain() to replace the prior continue_nonidle_domain() as > the tail hook, eliminating an extra reset_stack_and_jump(). > > Signed-off-by: Jan Beulich > Reviewed-by: Juergen Gross Reviewed-by: Wei Liu