Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8073372imu; Thu, 15 Nov 2018 06:14:53 -0800 (PST) X-Google-Smtp-Source: AJdET5dqZN5lmW0X712Lmuyp/JDkewh0TEsHVRuLFMGZBpq2VZbsBvzTFDc/MG28sKTv8owhHsd0 X-Received: by 2002:a63:2315:: with SMTP id j21mr5974324pgj.297.1542291293537; Thu, 15 Nov 2018 06:14:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542291293; cv=none; d=google.com; s=arc-20160816; b=iDJ9VAp3BmrGoszO8DwHhjWur9kQuuac39df3EuYeb0ByZXx0n0CUrFlo7xbZICIAr PwGwYjbj9Kno6qzaPGKxNKL5HZa8o37RQyTn+dWUFI0bxqFrTUDchudcDsK/nY4GU4YT uiIcbSw5sT3s0wFqc/Tz1I03XbMZFA5am7MYA0ZD9yBveBuGC5V3JJQft2k25nq0AE5r E1hvEJ9atoaKX2Vh1V3Tn2dQ3MoWCDVhjGAvVhlRCeikfrb7YkBB/WvKeoGyudCYnOSg msevfTkb1fsCPqwhsSNE22iQjhA7llQwq2ZQamN7MZSgvShfpVe5zluZZeeCjrx3VxuM 9qhw== 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=ypWs8u7aAHtBp2xhj2G5QDz01LrwtegMuGfS7tIxUvI=; b=WhQuPv6Dd2Rlixnmn6dVMxCkluZnXVy1WbCy0zQyaUaEKmIVQ4N5XFpAaAKI7kCJ6G pqFDtU5Ab7z7ghMTSPvaOnqbKadHP5oq3kc8nVf7xEO9bhoVal9HTas8TnggupU8PiG0 Apv6ELYdyLaJwraUTZQmax8AII3lAvjVRpFa0mhNTqFNAObxD/V4my+uQRZ/F6/LxeqD mttW03Yh1yAUCjnUufmBvheHmEp8rKDa6KBvagB41pclis9QbQKL6qrhnOWFz6gNip6I Z6hq1DFH+kwFmSzEBplDpnSMcXESWKoD5/dHavD8ROjkze4p57gt3QF4gHt+3Fhka6XH VZsQ== 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 a5si26332907pgg.120.2018.11.15.06.14.38; Thu, 15 Nov 2018 06:14:53 -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 S2388472AbeKPAVJ (ORCPT + 99 others); Thu, 15 Nov 2018 19:21:09 -0500 Received: from mail.skyhub.de ([5.9.137.197]:56794 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729010AbeKPAVI (ORCPT ); Thu, 15 Nov 2018 19:21:08 -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 QPo6znDV46Cx; Thu, 15 Nov 2018 15:13:06 +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 900891EC00CD; Thu, 15 Nov 2018 15:13:06 +0100 (CET) Date: Thu, 15 Nov 2018 15:13:07 +0100 From: Borislav Petkov To: Michal Hocko Cc: David Hildenbrand , 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 , Lianbo Jiang , "Michael S. Tsirkin" Subject: Re: [PATCH RFC 3/6] kexec: export PG_offline to VMCOREINFO Message-ID: <20181115141307.GH26448@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> <20181115115213.GE26448@zn.tnic> <20181115121102.GP23831@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181115121102.GP23831@dhcp22.suse.cz> 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 01:11:02PM +0100, Michal Hocko wrote: > I am not familiar with kexec to judge this particular patch but we > cannot simply define any range for these pages (same as for hwpoison > ones) because they can be almost anywhere in the available memory range. > Then there can be countless of them. There is no other way to rule them > out but to check the page state. I guess, especially if it is a monster box with a lot of memory in it. > I am not really sure what is the concern here exactly. Kdump is so > closly tight to the specific kernel version that the api exported > specifically for its purpose cannot be seriously considered an ABI. > Kdump has to adopt all the time. Right... Except, when people start ogling vmcoreinfo for other things and start exporting all kinds of kernel internals in there, my alarm bells start ringing. But ok, kdump *is* special and I guess that's fine. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.