Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp56964imm; Thu, 20 Sep 2018 15:06:52 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaWwbfZMaYHrpe/mrNy5oGOc3pdPSzspRZhkdxP8/EzfzrhBvio9QSk77skLw2Np4pFWifq X-Received: by 2002:a17:902:b283:: with SMTP id u3-v6mr40467871plr.2.1537481212374; Thu, 20 Sep 2018 15:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537481212; cv=none; d=google.com; s=arc-20160816; b=WQzFmM6p5E+/b82r/B2iiVdURPGZebHnuIr33UF+fw6wOJiTfY5O1mOikiSgv/DVL1 m860OgFsmaAjK4s4uAWN0a5qvO6QHtASLqiAKz4eBOsL/SG5VJX5IFvWY/viNN0fLzAj aeTVkX7JTfopW2yqbTQqITCrLuiUoM9jwqvvqa7c0HL04dlDkpSMk0KbGU0rTs34L+pz jYrx7mVGozuptPMRn50/Kcxnjql4pBADDKLN3Zz0REGRGP+ep4A+Xn7s0yc2ldQveJ26 xdRgiyCbe/+V3bpKOpCbfSJd36KEpVZfXiVNEbMvnQwUp1mM1aTLhycknkECrVFaW1kM e1OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+DB9L1akojEcdmBgVWc/RbGpVzcCTkoapYa2hVRcTiY=; b=JrrD2vB2LrthZbp2O3GX4rIuch5jRu206HJ5MATgymA5syhZX5Af54+bz3nC4KNwkG CjAwglrxMpcF1iUmDDAZ6X4thvQ8Vl7eE64+iPZ3f3mnTHmTAoO03l4AiFzbPAwCZzmD A6dxMQnznUSizE8Kn/lIq7t5DKaQryM5OYPxa+Kfhf/odmKBXAxv7S3O6CkulB3lxxZW E4wiOSKlAdnBrbFtuC3fuAxQLV7P0ulztjpvveploKyYBvUals3OH1e7Z/YXSzxSylQt UaQZ6+yo3D+gOdNznqDzCEcKkG84YZ1ZhvYecP1BfMQdt3voHJL4AfOW56WMQ69XYvi+ 9lkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f62-v6si26034288pfg.35.2018.09.20.15.06.37; Thu, 20 Sep 2018 15:06:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388839AbeIUDv3 (ORCPT + 99 others); Thu, 20 Sep 2018 23:51:29 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:55822 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728233AbeIUDv2 (ORCPT ); Thu, 20 Sep 2018 23:51:28 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id B8DE980749; Fri, 21 Sep 2018 00:05:49 +0200 (CEST) Date: Fri, 21 Sep 2018 00:05:49 +0200 From: Pavel Machek To: Chen Yu Cc: Thomas Gleixner , "Rafael J. Wysocki" , x86@kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Len Brown , Zhimin Gu Subject: Re: [PATCH 09/12][RFC v3] x86-32, hibernate: Switch to original page table after resumed Message-ID: <20180920220548.GK27468@xo-6d-61-c0.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2018-09-19 15:43:05, Chen Yu wrote: > From: Zhimin Gu > > After all the pages are restored to previous address, the page > table switches back to current swapper_pg_dir. However the > swapper_pg_dir currently in used might not be consistent with > previous page table, which might cause issue after resumed. > > Fix this issue by switching to original page table after resumed. "after resume". Acked-by: Pavel Machek