Received: by 10.192.165.148 with SMTP id m20csp3578595imm; Mon, 30 Apr 2018 02:45:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrMMnkow8pHSpv/9VZgoYIHccswwZZyWwGNCV9/JVEofK4cR/hzoXgKL+rn2Uhp2nnnnWMn X-Received: by 2002:a63:2647:: with SMTP id m68-v6mr9619665pgm.56.1525081500033; Mon, 30 Apr 2018 02:45:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525081500; cv=none; d=google.com; s=arc-20160816; b=utr8HuxM/rvyRXr+g+vHOSnRdh9t3TKljBSMuWrv9nFTEpyk9+SUdVTcxxSSksNnGG 6g5J3AM9ArI0DpIBw7+pixPiEdtpzfMrfIEpTsvwQptB5lsYsMx8e4G5nvNkb1bhcKsa sPODg28QewGm8nmdjj6nxSLcIC0PEBvADnQs1EPa4P3/a4o181TkNGn3WNRquL/X105c HHz7+JX12gKjqY60GqTt8SV29OXjItXvqgxXYr/HdQpYM3tP+NkrdsAprM5zYsMGdTKf WMZ3ieGVd/9t2KJ9yTQ0NJI/zFFkjoEcZ9hFqv7SYXYgrf+K6HJyqJIpaLKjHhyQJLm/ CKvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=bxv1jSGeJvb+cdJ/IqkHOCRAxdUTqBHQbd8BmIq4Y70=; b=jyL3/U3OVC2GXC1pRPZ7Q+fUTl6VLgluLXriAsjpNSRA5FPmidtSIYeEu/d33ZbDSH sLF14t6J4PEZXCJ5150XHHbHn9qA0YPdfIjkTNNenZslChtWc3PH11MMT/bNlbfLPZF7 8wgmJhoHmkUFL5FxIDmjuAQy7foNXTBwfdi4GArQqbZc1Yl8LJf5z4+yJbwimZ5s44Sd tdeA7OmUz7PODyVXSDntdAnZ1RC5nHLKZTIJsISUurG5aghGIyjHfP+DtNAgE8iPFr+6 UNk8Rssnaa5aPUPRXrPkgMpWYqT7ICY38+8me6mM3mPf+kG6g0Hpb2Cbojog6XFpjbCo tMxQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s65-v6si5993204pgc.269.2018.04.30.02.44.45; Mon, 30 Apr 2018 02:44:59 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753205AbeD3Jmz (ORCPT + 99 others); Mon, 30 Apr 2018 05:42:55 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:47194 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753075AbeD3Jmt (ORCPT ); Mon, 30 Apr 2018 05:42:49 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1D5F6857EA; Mon, 30 Apr 2018 09:42:49 +0000 (UTC) Received: from t460s.redhat.com (ovpn-117-122.ams2.redhat.com [10.36.117.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id AADE52023499; Mon, 30 Apr 2018 09:42:47 +0000 (UTC) From: David Hildenbrand To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, David Hildenbrand , Andrew Morton , Dave Young , Baoquan He , Hari Bathini , "Kirill A. Shutemov" Subject: [PATCH RCFv2 2/7] kdump: include PAGE_OFFLINE_MAPCOUNT_VALUE in ELF info Date: Mon, 30 Apr 2018 11:42:31 +0200 Message-Id: <20180430094236.29056-3-david@redhat.com> In-Reply-To: <20180430094236.29056-1-david@redhat.com> References: <20180430094236.29056-1-david@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Mon, 30 Apr 2018 09:42:49 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Mon, 30 Apr 2018 09:42:49 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'david@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This allows dump tools to skip pages that are offline. Cc: Andrew Morton Cc: Dave Young Cc: Baoquan He Cc: Hari Bathini Cc: "Kirill A. Shutemov" Signed-off-by: David Hildenbrand --- kernel/crash_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/crash_core.c b/kernel/crash_core.c index f7674d676889..c0a45e9ba84e 100644 --- a/kernel/crash_core.c +++ b/kernel/crash_core.c @@ -464,6 +464,7 @@ static int __init crash_save_vmcoreinfo_init(void) #ifdef CONFIG_HUGETLB_PAGE VMCOREINFO_NUMBER(HUGETLB_PAGE_DTOR); #endif + VMCOREINFO_NUMBER(PAGE_OFFLINE_MAPCOUNT_VALUE); arch_crash_save_vmcoreinfo(); update_vmcoreinfo_note(); -- 2.14.3