Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1786810ybb; Sun, 29 Mar 2020 13:23:54 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu2S4JDrHMQI2gF4M/3yehyDwQJZFFgIffujKw2mC+ePUH5gikMJHOY13+0z5YgGE3UD6OZ X-Received: by 2002:a9d:798f:: with SMTP id h15mr6851560otm.284.1585513434791; Sun, 29 Mar 2020 13:23:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585513434; cv=none; d=google.com; s=arc-20160816; b=hLTMhIlh9JLAWC0i4RpjJfYLRfDiRiI5SNtRNIVgdI3R/PcZxhdeHxMSdOsoM0YQld BIVUOQ0PUd224d/reLTqme9Zzyqfcjw9OYY0qDy+H1pFiN6Wgk58g45V/r3T9AiJiN7G FjJKH4v1+XKIe1CYyAX8rGwqYL8tFUUWZbCH90XkGYt7hjAzQp++P4O8fZzPwV4JEMxm B1DhgOfK5j+aG/fXjFPPd3PT56IvQgZEIukmD+T76QHwt4DJCVU6cfabGTfs9tCfBZhh /ZaWsHAdz5A7XlDjyXUWGjuYPYwictBNz78cCHJUAgQ7e3I8bL9RvAEC+mqpvWPzXrjq 2bOw== 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=CDzpIw5Dwqx87pXbxst3BXzLJY05rEwRTdeUPJLp2p8=; b=hJkrQ8uXupGklSUSPIA8HLupJ8hqqQ2PxHsHpT3iHG115VihpVFbox/nveEl28z+1B DkIrtX/RPCnsxkRGs0n9ZzxHb593vEaMRxK6znhW1UTsWEFTpUEjOVUJLJ3j6ocexYQ3 Rcf5F3VClxjLMcP8K97X9y+kt74eBBpgMcKMsuVATRfVYRB6PGfag2vOvaH7CLCTGqFE scXQhnCY+8Wi+45fesY1jzt60RrPg/7pvXOY9quG+UH74XGf1j7J+Hc5nmK8IIiLkWkR aHskeStmaOFYdt5+lVsbeRoMPavBTS1R0OwB52SYzyUeipym6RNo2NXZyd5Cp8AiUJqN y/Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bUHjhkA1; 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 x8si5641831otb.140.2020.03.29.13.23.42; Sun, 29 Mar 2020 13:23:54 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bUHjhkA1; 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 S1728555AbgC2UJ5 (ORCPT + 99 others); Sun, 29 Mar 2020 16:09:57 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:36042 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727606AbgC2UJ4 (ORCPT ); Sun, 29 Mar 2020 16:09:56 -0400 Received: by mail-lj1-f193.google.com with SMTP id g12so15837383ljj.3 for ; Sun, 29 Mar 2020 13:09:55 -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=CDzpIw5Dwqx87pXbxst3BXzLJY05rEwRTdeUPJLp2p8=; b=bUHjhkA1Af+QiPaVmhyq86BzGJeSR2DakZAUmFAPw9Xt+RlcyzMxIIRxmot0HmwELi ADDlZPZ6dsx90Zz77SzT7Uxh7WfgSkq4bSapA/RwDPg0DHyDpgO62IH/keqF9PXXyowL bUibJtuc65zjqn/WGlrSempOI99VirDosSizc= 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=CDzpIw5Dwqx87pXbxst3BXzLJY05rEwRTdeUPJLp2p8=; b=A2qkq92wnttqsd5O66G/RjDxXk7UHp813xZ9inaJK89P3G6WufWweWOKb3PkU859QR bPi8BIWDccGIcn9ixI5yVoOWkoTfsj4ijmrxP2A8fiG6KRIOB/kB3KRixtSe0i6RlYGn Ayc6v/c1nLt4A23I1OQL+onX4J3SSslgwxidwFOvSsiGxTe9BVLUz5msP/opfj92ZCWv epQWCiYdxhZhJztQB95Ka8gC1kzl+e1KJjllMPRV68DLTusXqDo8XKhnC8VLYq8YQ2xl 4Wb53HjTIdShRQnwFJrBgsRTG+OaRO0Q7xSs3ouRG9T2lC7Vz5lSWsnDDJfiNEiylqtA 4B1g== X-Gm-Message-State: AGi0PubAbyokRFXH1K3KAFYL8JTlR4JcGoxX1rdjohyrBvKjH81NTd6I 3FYjkviGH7EyBlqhUFGxfxpX62I0K1w= X-Received: by 2002:a2e:83cf:: with SMTP id s15mr5019700ljh.36.1585512594086; Sun, 29 Mar 2020 13:09:54 -0700 (PDT) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com. [209.85.167.47]) by smtp.gmail.com with ESMTPSA id y64sm6707690lfa.88.2020.03.29.13.09.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Mar 2020 13:09:53 -0700 (PDT) Received: by mail-lf1-f47.google.com with SMTP id j11so12312547lfg.4 for ; Sun, 29 Mar 2020 13:09:52 -0700 (PDT) X-Received: by 2002:a19:7f96:: with SMTP id a144mr6062690lfd.31.1585512592314; Sun, 29 Mar 2020 13:09:52 -0700 (PDT) MIME-Version: 1.0 References: <20200228095819.10750-1-david@redhat.com> <20200228095819.10750-2-david@redhat.com> In-Reply-To: From: Linus Torvalds Date: Sun, 29 Mar 2020 13:09:36 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] mm/memory_hotplug: simplify calculation of number of pages in __remove_pages() To: David Hildenbrand Cc: Linux Kernel Mailing List , Linux-MM , Segher Boessenkool , Andrew Morton , Oscar Salvador , Michal Hocko , Baoquan He , Dan Williams , Wei Yang 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, Mar 29, 2020 at 12:19 PM David Hildenbrand wrote: > > This patch seems to have another of these weird MIME crap in it. (my > other patches in -next seem to be fine) > > See > > https://lore.kernel.org/linux-mm/20200228095819.10750-2-david@redhat.com/raw That email actually looks fine. Yes, it has that fro= m pattern, but it also has Content-Transfer-Encoding: quoted-printable so the recipient should be doing the right thing with that pattern. The patch itself also has MIME encoding in it: - cur_nr_pages =3D min(end_pfn - pfn, -(pfn | PAGE_SECTION_MASK)); + cur_nr_pages =3D min(end_pfn - pfn, so the patch wouldn't even apply unless the recipient did the proper MIME decode of the message. That's also why the non-raw message looks fine: https://lore.kernel.org/linux-mm/20200228095819.10750-2-david@redhat.com/ because the raw message data has the proper encoding information. In contrast, look at the email that Andrew sent me and that I complained about: https://lore.kernel.org/linux-mm/20200329021719.MBKzW0xSl%25akpm@linux-foundation.org/ and notice how that *non-raw* email has that Withou= t pattern in it. And when you look at the raw one: https://lore.kernel.org/linux-mm/20200329021719.MBKzW0xSl%25akpm@linux-foundation.org/raw it has no content transfer encoding line in the headers. Linus