Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7925177imu; Thu, 15 Nov 2018 03:53:13 -0800 (PST) X-Google-Smtp-Source: AJdET5fWeVJ++ftPstWoHXGXm4WqasJoSPNKXlmnt8iErOYt9wIfhwthlQ6Jsf/UR1ntRiBcJr+R X-Received: by 2002:a62:43c1:: with SMTP id l62mr6261053pfi.22.1542282793284; Thu, 15 Nov 2018 03:53:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542282793; cv=none; d=google.com; s=arc-20160816; b=P2JxxrQFNNfkdbR3nDNSNawXNZJCfvnH/Uuq+vHVJsf4KABGQp43d3GeYNQ/QcVzQV gZSIKWILTZZuySKwB94BwV0ilDxAfzwl1XZJtqjGjJmWtp5EvucQlq6tLWPGrAtDCRYi 7YDYdTNsrpKYY7rBpYGx9nKA6WDcKQV0sU+JjgEKYTI0bMr/SNMztmF3tSZF8/6nwAS3 EnIWr6f9B0G2NPXKDrQ7vmNg59fjRRLzct5eZ2EwKwOkrbkV/UyfXUeeDZvtV4fo110c hmPWjzhDimB8q7DNkD+n4PAgz44LvGoXw2CTgf0ko6D2KDfFL9D9/YV3VpgBSgdbSK22 X8VQ== 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=tJepOKDyIIEGbnt7qZHJ+douYHHSucosJRwj2N+gvMc=; b=LDEIT+2XTyFsNM8xCkbYcTZlFLnKMwKAHV6XubLj5lbGrr8JeIIT0hPhQu838f/fFU vE3ByBxphoqkw6SnJ/VpRFq5tv+Qt5sJB7o7TZHq967GYBB4G9VmFic9R8oRTYyHWcE3 tjNVmNeI6XazLnk/4J1SZrOQqqCcpsa1+ubPYBb074+KJFelaZg2W+eMQfgzWJuWGeA2 QT5BXDVH894nXudrpy5D3ISkklN/h/vJRlrTwMLjc29KIJpexWVjheVumqKL6ceO/J+z dNdc7OyZ+Ki21nmxqNHlkgIZVqLP4pdI8n+ocavEi3LroG+zFycLWkZfNR92hy60nWEc L9ow== 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 v30si19630202pga.45.2018.11.15.03.52.58; Thu, 15 Nov 2018 03:53:13 -0800 (PST) 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 S2387706AbeKOV7x (ORCPT + 99 others); Thu, 15 Nov 2018 16:59:53 -0500 Received: from mail.skyhub.de ([5.9.137.197]:51490 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728859AbeKOV7x (ORCPT ); Thu, 15 Nov 2018 16:59:53 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id V0iz64xxsmG7; Thu, 15 Nov 2018 12:52:19 +0100 (CET) Received: from zn.tnic (p200300EC2BD00900D5714500C00E26FD.dip0.t-ipconnect.de [IPv6:2003:ec:2bd0:900:d571:4500:c00e:26fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 98E6B1EC0377; Thu, 15 Nov 2018 12:52:19 +0100 (CET) Date: Thu, 15 Nov 2018 12:52:13 +0100 From: Borislav Petkov To: David Hildenbrand Cc: Dave Young , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devel@linuxdriverproject.org, linux-fsdevel@vger.kernel.org, linux-pm@vger.kernel.org, xen-devel@lists.xenproject.org, Andrew Morton , "Kirill A. Shutemov" , Baoquan He , Omar Sandoval , Arnd Bergmann , Matthew Wilcox , Michal Hocko , Lianbo Jiang , "Michael S. Tsirkin" Subject: Re: [PATCH RFC 3/6] kexec: export PG_offline to VMCOREINFO Message-ID: <20181115115213.GE26448@zn.tnic> References: <20181114211704.6381-1-david@redhat.com> <20181114211704.6381-4-david@redhat.com> <20181115061923.GA3971@dhcp-128-65.nay.redhat.com> <20181115111023.GC26448@zn.tnic> <4aa5d39d-a923-87de-d646-70b9cbfe62f0@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4aa5d39d-a923-87de-d646-70b9cbfe62f0@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 15, 2018 at 12:20:40PM +0100, David Hildenbrand wrote: > Sorry to say, but that is the current practice without which > makedumpfile would not be able to work at all. (exclude user pages, > exclude page cache, exclude buddy pages). Let's not reinvent the wheel > here. This is how dumping works forever. Sorry, but "we've always done this in the past" doesn't make it better. > I don't see how there should be "set of pages which do not have > PG_offline". It doesn't have to be a set of pages. Think a (mmconfig perhaps) region which the kdump kernel should completely skip because poking in it in the kdump kernel, causes all kinds of havoc like machine checks. etc. We've had and still have one issue like that. But let me clarify my note: I don't want to be discussing with you the design of makedumpfile and how it should or should not work - that ship has already sailed. Apparently there are valid reasons to do it this way. I was *simply* stating that it feels wrong to export mm flags like that. But as I said already, that is mm guys' call and looking at how we're already exporting a bunch of stuff in the vmcoreinfo - including other mm flags - I guess one more flag doesn't matter anymore. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.