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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 A760CC43331 for ; Sun, 29 Mar 2020 18:34:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2F0E7206DB for ; Sun, 29 Mar 2020 18:34:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="fvWgbTE+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F0E7206DB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A32276B0010; Sun, 29 Mar 2020 14:34:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9BB476B0032; Sun, 29 Mar 2020 14:34:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8832E6B0036; Sun, 29 Mar 2020 14:34:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0181.hostedemail.com [216.40.44.181]) by kanga.kvack.org (Postfix) with ESMTP id 6E4D26B0010 for ; Sun, 29 Mar 2020 14:34:39 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 463BF181AC9BF for ; Sun, 29 Mar 2020 18:34:39 +0000 (UTC) X-FDA: 76649250678.23.rose69_7fe72e41c7f44 X-HE-Tag: rose69_7fe72e41c7f44 X-Filterd-Recvd-Size: 5920 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by imf43.hostedemail.com (Postfix) with ESMTP for ; Sun, 29 Mar 2020 18:34:38 +0000 (UTC) Received: by mail-lj1-f180.google.com with SMTP id r7so7943283ljg.13 for ; Sun, 29 Mar 2020 11:34:38 -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=wGo+k0Ep3askjaXzN70y2u97DT8Cs5DglNrPIIVw/Yo=; b=fvWgbTE+VYDw0eFRzuwNME2UbJ3jnZ5L4a4OIEJHGBMq8zAhuU7s3WTvkKKkln4f7I ZsmZn/82GOycR8ulpTqR1JcE8kG0b0jWcxKkSUH31+P5xILRCWCH5mYD+zoiQpZEo9u4 tbXMA7P8xelN2b7b1m7ap7dRCxij1Q0VQLGYY= 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=wGo+k0Ep3askjaXzN70y2u97DT8Cs5DglNrPIIVw/Yo=; b=l0DGSTmVpHMH6uzqe88m36lMadDEziEUoCAucWA2SLJE1E56XopVrde58l636S3Dd0 xvk034wVaD3adoc9vSuMq6O7pz82JUNtVQW0b7zHSZwRgO4mbXvuhETMNJhtxE1L/R+2 FTin22Iv6DCvErwTIIZFDpzFej3dmrLcdiVxb1IdLEQUT2PNux8mSoSdq8sKcNe1iJeP qKW6gxYfHRN3WefYqkqlSveuCvdbPXZmSW0iULJEgJesRzxTFFd+79qESzQ/eUhtNbvo 0TrsAtBjjxsNYa5dOx0s35Di/pI0k+ST4E7Lvo+2yeX8xnOlLHbfnpt0+qF4diS3jndR vZ9Q== X-Gm-Message-State: AGi0PuZWbMDsIr0MPpTQ0FMdlR4dNp53uSFt8qTPY1tiTrpcLGTOXeHE Y7VteJD5nK1FFLqWYUdTJi4SimdeYG0= X-Google-Smtp-Source: APiQypIKij5IRpUXTFkgeHIpRdSARfgKz3GszR7fN6Aa79Qd/6yv7oTaU1dE/fqGVMjJy77SFt8NIQ== X-Received: by 2002:a2e:6e15:: with SMTP id j21mr5071466ljc.42.1585506876463; Sun, 29 Mar 2020 11:34:36 -0700 (PDT) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com. [209.85.208.178]) by smtp.gmail.com with ESMTPSA id n14sm5852062ljm.104.2020.03.29.11.34.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Mar 2020 11:34:36 -0700 (PDT) Received: by mail-lj1-f178.google.com with SMTP id f20so15638728ljm.0 for ; Sun, 29 Mar 2020 11:34:36 -0700 (PDT) X-Received: by 2002:a2e:a58e:: with SMTP id m14mr4970045ljp.204.1585506496516; Sun, 29 Mar 2020 11:28:16 -0700 (PDT) MIME-Version: 1.0 References: <20200328191456.4fc0b9ca86780f26c122399e@linux-foundation.org> <20200329021719.MBKzW0xSl%akpm@linux-foundation.org> In-Reply-To: From: Linus Torvalds Date: Sun, 29 Mar 2020 11:28:00 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [patch 2/5] drivers/base/memory.c: indicate all memory blocks as removable To: David Hildenbrand Cc: Andrew Morton , Dan Williams , Greg Kroah-Hartman , Heiko Carstens , Karel Zak , Linux-MM , Michal Hocko , Michal Hocko , mm-commits@vger.kernel.org, ndfont@gmail.com, pbadari@us.ibm.com, Rafael Wysocki , rcj@linux.vnet.ibm.com, stable , steve.scargall@intel.com Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sun, Mar 29, 2020 at 11:04 AM David Hildenbrand wrote: > > > What I received via the mailing list (e.g., linux-mm@kvack.org) > > Message-Id: <20200128093542.6908-1-david@redhat.com> > MIME-Version: 1.0 > X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 > X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 > Sender: owner-linux-mm@kvack.org > Precedence: bulk > X-Loop: owner-majordomo@kvack.org > List-ID: > [...] > X-Mimecast-Spam-Score: 1 > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: quoted-printable > X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 > [...] > > And a lot of this MIME crap. Well, that may still be a perfectly fine email. Yes, it has the MIME crap, but it also has that Content-Transfer-Encoding: quoted-printable which should tell all users how to _handle_ that MIME crap. It's sad that people in this day and age still don't just handle Content-Transfer-Encoding: 8bit and just send it on untouched, but SMTP certainly encourages that bad behavior of "convert to 7-bit MIME crap", because in theory there could be SMTP servers out there that can't handle anything 8-bit or with longer lines. Those SMTP servers should just be scrapped and people told not to use them, but sadly that's not the approach email people have taken. They've taken the approach that old garbage SMTP servers should be allowed to exist and destroy email for the rest of us. > I have no idea if such a conversion is expected to be done. It is (sadly) expected to be done by a lot of mail software. But the problem is that some part of your email handling code then doesn't _undo_ the MIME conversion, and leaves the MIME turds alone, while then that "Content-Transfer-Encoding: quoted-printable" got lost. Do you at any point end up using a raw mbox and cut-and-pasting stuff? Reading email in a broken mail-reader that doesn't undo MIME? Because that's the usual way that these kinds of turds get copied.. Using raw emails without honoring or taking that "Content-Transfer-Encoding" into account. Linus