Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp510644ybh; Sun, 12 Jul 2020 13:46:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVO0B8L38DUmnXDNq4xhRHBg/LBZ6sfGVgLz4op6UdTA20eYBa3vqjNnPMUpUTmuXXf9qA X-Received: by 2002:a17:906:e299:: with SMTP id gg25mr69335741ejb.160.1594586804924; Sun, 12 Jul 2020 13:46:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594586804; cv=none; d=google.com; s=arc-20160816; b=s84hIpNf+yJw6JXPN4RPVqkMALDr6Q6jMbYbZP7qMqkB9+FOkckbJ4uyd4IGeQjO/Y RFFgYJ818lZKzBEkldtdWdVQpmmNQuamUd205jL2xDcR7TEkAFynplHNw2saPkcHTPSY VFQNCC+HOXtMiCucRZQMpr7rGZvWoDElIfRDeuDW/8MKtJXjbi+UCWuf413O4g68h7xC cL0RMPQ3n62BLWVmmaoRADxebDZNB39M50q4RXVtdgKrd+8+Ls0d/bVqEZZ7qpwFWtMR m+a9Eb29TZRl4K6ZP/nqbAl4m8KZPnT6LrHBvSMEAvxnRgrXovzG/JRfocsBH2bujgHM 9PtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Gl2ce7HaAsxftBSvHTYfVjHKxjss9sGSbVqe5rk7avY=; b=0YQ4vnsCtk/AgYszge9s4lTBX/JjVqUkWzwdSl6bu6FQzHnf8tiIh+R1hJxoKfF0Vl 2KycQpxFsftKhpkCSVLSQ89u6gPmG8wUaUwp9CtMwZbF0V0g07ipkNa2miZwr+zelIwT +2M5PsvZ6NjvqVB52r98ToipP9A/JMQQoP2rHI7myFEmsvhJdn2zYMjKavG33ImYrBHt wmgUSxyJSISlqBPbEiCUR0R4I/xeUX5cRykxpjFr4RHFZqWKwRb0Sxi/ZX/TVFvoPhR3 3gGqlzCFxoCQEsPtLnWPWKA5SRrQXHy8lF7oDG8ytFaXQwK7yNV+ANpaKnIB+fBQKv7e 0doA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=XdGOzuYC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd20si3715684edb.136.2020.07.12.13.46.22; Sun, 12 Jul 2020 13:46:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=XdGOzuYC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729445AbgGLUpQ (ORCPT + 99 others); Sun, 12 Jul 2020 16:45:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729338AbgGLUpP (ORCPT ); Sun, 12 Jul 2020 16:45:15 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6528C061794 for ; Sun, 12 Jul 2020 13:45:14 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id g2so6786329lfb.0 for ; Sun, 12 Jul 2020 13:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Gl2ce7HaAsxftBSvHTYfVjHKxjss9sGSbVqe5rk7avY=; b=XdGOzuYCMQf2MS3+YU13NwZGxK6zk35LUeoeXKnD4wgMvpsZR4f1qJiIA3edqzxUOI APpAc1SkrdtdB1sVpR+nfZN5esJJgThGv9EAPSKom0yU+I4kNIz9avLhSfpeIbrUgO8N jtms4zy/hQnftZTRS7OTXFDNvfm8EZQlT9LGQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Gl2ce7HaAsxftBSvHTYfVjHKxjss9sGSbVqe5rk7avY=; b=iaa2ynjhj/TDAItfxYQnIh4uki3G1M7hx0ehecXJTRCBz9KhUQTkh6VnaNISZ8CoJQ Oc2DGYJCpU2c1oJbKfW3Dp4tNrStAsPQuJwVE+G4RDmZ8Q53So48GQLDhUa3Dr1/+a3y efjQbNGUcLnHqoZt0Iwts4GnxCMa7hVqiB/dq5L2e31aWTfceLOsEOu3bCftNkT1bhDR 2sEFKD96IvLsRm9icnerEDWcIcw+RmpP62seVcw3xsXPIzq5y2TwDY1W+ChhuabFB12J vLoQ1uBI5ikIBJFN64z3gvE99zBc7rV6BcDZKn58q8G0TRBAq1hxCWMPIyT6G2wrAT3n Mb8Q== X-Gm-Message-State: AOAM531UoHWiNj8g6YOd1krg2kic67i8wZsERkanrfromekmdi+AAEkL vExEuIDOBA32lxGp6c0HORtSTV76a2E= X-Received: by 2002:a19:ecc:: with SMTP id 195mr50836877lfo.71.1594586713192; Sun, 12 Jul 2020 13:45:13 -0700 (PDT) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com. [209.85.208.181]) by smtp.gmail.com with ESMTPSA id b16sm3630892ljp.124.2020.07.12.13.45.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Jul 2020 13:45:12 -0700 (PDT) Received: by mail-lj1-f181.google.com with SMTP id q4so13249132lji.2 for ; Sun, 12 Jul 2020 13:45:12 -0700 (PDT) X-Received: by 2002:ac2:5a5e:: with SMTP id r30mr51001288lfn.30.1594586313808; Sun, 12 Jul 2020 13:38:33 -0700 (PDT) MIME-Version: 1.0 References: <20200712173052.GU12769@casper.infradead.org> In-Reply-To: <20200712173052.GU12769@casper.infradead.org> From: Linus Torvalds Date: Sun, 12 Jul 2020 13:38:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: WARNING: at mm/mremap.c:211 move_page_tables in i386 To: Matthew Wilcox Cc: Naresh Kamboju , Joel Fernandes , "Kirill A. Shutemov" , William Kucharski , linux- stable , open list , linux-mm , Arnd Bergmann , Andrew Morton , Roman Gushchin , Michal Hocko , lkft-triage@lists.linaro.org, Chris Down , Michel Lespinasse , Fan Yang , Brian Geffon , Anshuman Khandual , Will Deacon , Catalin Marinas , pugaowei@gmail.com, Jerome Glisse , Greg Kroah-Hartman , Mel Gorman , Hugh Dickins , Al Viro , Tejun Heo , Sasha Levin , Oleg Nesterov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 12, 2020 at 10:31 AM Matthew Wilcox wrote: > > But I don't see any other way to do it. It's not like I can put THPs > in the page cache before fixing the things that won't work. I agree that sometimes there are bootstrapping issues. Incremental and explanatory commits are still better than one big commit that introduces a whole new feature and enables it. But if at all possible, at least limit the scope of the new feature first, enabling the simplest possible cases as they become possible so that there's some incremental testing, and so that bisection can say "ok, that baseline worked, but then when XYZ happened, things went sideways". And even when it's a new feature - if it needs cleanup patches to other things first, please do that. In fact, please do that as a completely independent series that goes into a previous kernel release entirely, so that the cleanup and preparatory patches can be independently verified by a lot of people who run that _previous_ kernel, so that the baseline of that cleanup phase is something as stable as possible. Linus