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=-5.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 73408C433DB for ; Sun, 27 Dec 2020 00:49:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 2F027221E9 for ; Sun, 27 Dec 2020 00:49:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F027221E9 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:Message-ID:In-Reply-To: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XLnrBkhcTo3Q3A86krZxwiLPQQHlsxAogQ7qLeQFcfY=; b=1MReWUdM7ET71rxhEAzbOZ/oe 6HG0zJMKoe09SH8bRSwqOm8pE19TVH6/i1aIlbvQiPObXnGyWfEbmXD8QwXt0rTbrvcrC4pj8ioc4 sPSDmzmBCD5R9zgfTyYMnbpDQh5fZI0TmyloCfHDYmqkfZ703CM4PmgHDjIyeJlkY+rk/Jgm9xtWJ VkFdJ9mh7g9nbMSN7KAZ2yitscCP+qqlOgRZqwSmYgOw8EpKtZoYBZkf7IMoGp/bFq2G2DvStvnGi 617MY07a2nZVTzmO1UL7QXrPiFFO1kbRRsDqmQjqTt3QSeJTsovICoclKrV2c5T2197qUu3u4purC POxaKNpSw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ktKCT-0002uM-DJ; Sun, 27 Dec 2020 00:46:21 +0000 Received: from mail-ot1-x331.google.com ([2607:f8b0:4864:20::331]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ktKCP-0002tN-Pv for linux-arm-kernel@lists.infradead.org; Sun, 27 Dec 2020 00:46:18 +0000 Received: by mail-ot1-x331.google.com with SMTP id b24so6395183otj.0 for ; Sat, 26 Dec 2020 16:46:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=SCcDAq1vx1rq+khgfj2C8Z6X6qgNeLzbSQZknX3MThk=; b=sy/rykXo/FRQEq0/TxDVzPDMGqgFybPLTzbWbJNL/gqnd98GstGFv+ALhsFgRy+eNZ dw2LSeN91oKxnmfWVCuGmpBfLvYrospIBbmwcI1CgFU6dMwKuhEABRhgubsOFJiu+Fvq eN1iXuUyXoOrg7JJZ3ualv6xYvwj7vl5CjaiCbqrUrvAvF8Gw6WLMFyBiw818OiFbex4 W91QV1M0kUfTcDf6vKhZJSAi6zwrQ5cpP0vd8GTq4HUvbB6E6AtCNv3kBN6aarnGlbXY /04w53yPA3slMfsLvTHRXctX6R0/6A2NqzCzqE5XZLNDm33Tt0VU6Tf023dUbCbwi2fh 6YGg== 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:in-reply-to:message-id :references:user-agent:mime-version; bh=SCcDAq1vx1rq+khgfj2C8Z6X6qgNeLzbSQZknX3MThk=; b=VSquGRCJ+qSfa3k5/Q6RZ5rTRFuKhAWU6TkQfYikNrmOxKrkHYRujPrt0awAA48+MF VmO6ZI2XckMFJGii/GMX1/AfLJFTp0tTdwix6Cu9/Qs88bVZwd+uzApXDTZk0xPjEBOy WwOCR50knFNubp5bBFGf6dZp8QkdpZM+Lf5wKkoLKFeA4JidzOCX+a6I7+ye2aRgbsZB L6luU8t4dkSqaY9RRMUEk6vHBa+at/NP6PhgwqyPCSYMMKIdWWFV6cjJNIoNO4i1hzsK wXlIxSuPGpCXIsDo0gw5GKdCG6iUoPMjOZh7eN7sX4XyFZE0h7MmmnKfOgtqLPGaXL1S 1hcA== X-Gm-Message-State: AOAM532gXHZDJhh6XGLU2pCiNTW7GOzhFAND7BGOShxEL1bh+1Ie0Nj4 FKqogMFC/QBY2Wf0PpkWo/NN4g== X-Google-Smtp-Source: ABdhPJzwlNaCKWypZRgSBM2YuwBl7PIaMGbdjfU62eHRJZtGMdj6masRtaLILV4j6n4gjYdm1kEQlQ== X-Received: by 2002:a05:6830:114e:: with SMTP id x14mr28821611otq.253.1609029974392; Sat, 26 Dec 2020 16:46:14 -0800 (PST) Received: from eggly.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id t26sm8322868otm.17.2020.12.26.16.46.12 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Sat, 26 Dec 2020 16:46:13 -0800 (PST) Date: Sat, 26 Dec 2020 16:45:55 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: "Kirill A. Shutemov" Subject: Re: [PATCH 1/2] mm: Allow architectures to request 'old' entries when prefaulting In-Reply-To: <20201226224016.dxjmordcfj75xgte@box> Message-ID: References: <20201219124103.w6isern3ywc7xbur@box> <20201222100047.p5zdb4ghagncq2oe@box> <20201225113157.e7hmluffh56fszfc@box> <20201226204335.dikqkrkezqet6oqf@box> <20201226224016.dxjmordcfj75xgte@box> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201226_194617_904613_5595AF42 X-CRM114-Status: GOOD ( 15.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Android Kernel Team , Jan Kara , Minchan Kim , Linus Torvalds , Hugh Dickins , Linux Kernel Mailing List , Matthew Wilcox , Linux-MM , Vinayak Menon , Linux ARM , Catalin Marinas , Andrew Morton , Will Deacon , "Kirill A. Shutemov" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, 27 Dec 2020, Kirill A. Shutemov wrote: > > Here's the fixup I have so far. It doesn't blow up immediately, but please > take a closer look. Who knows what stupid mistake I did this time. :/ It's been running fine on x86_64 for a couple of hours (but of course my testing is deficient, in not detecting the case Linus spotted). But I just thought I'd try it on i386 (hadn't tried previous versions) and this has a new disappointment: crashes when booting, in the "check if the page fault is solved" in do_fault_around(). I imagine a highmem issue with kmap of the pte address, but I'm reporting now before looking into it further (but verified that current linux.git i386 boots up fine). Maybe easily fixed: but does suggest this needs exposure in linux-next. Hugh _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel