Message ID | 20210616012336.mnhwEhLlA%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=usud=LK=kvack.org=owner-linux-mm@kernel.org> 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 30694C49361 for <linux-mm@archiver.kernel.org>; Wed, 16 Jun 2021 01:23:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DB9F061369 for <linux-mm@archiver.kernel.org>; Wed, 16 Jun 2021 01:23:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB9F061369 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 820B06B0078; Tue, 15 Jun 2021 21:23:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7CF556B007B; Tue, 15 Jun 2021 21:23:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 649346B007D; Tue, 15 Jun 2021 21:23:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0144.hostedemail.com [216.40.44.144]) by kanga.kvack.org (Postfix) with ESMTP id 32EDD6B0078 for <linux-mm@kvack.org>; Tue, 15 Jun 2021 21:23:39 -0400 (EDT) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 3B53EFB55 for <linux-mm@kvack.org>; Wed, 16 Jun 2021 01:23:38 +0000 (UTC) X-FDA: 78257839716.18.86482C0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf23.hostedemail.com (Postfix) with ESMTP id 66963A000151 for <linux-mm@kvack.org>; Wed, 16 Jun 2021 01:23:29 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 74EB9613B1; Wed, 16 Jun 2021 01:23:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1623806617; bh=cQ5Kb9gWEq0bMnW5jOLwX9BtI78Ce3eUp25+8n3Txbc=; h=Date:From:To:Subject:In-Reply-To:From; b=M41VIRYU93KnEIWUjsZt9Po98wdAS99c2lpDVz12YGw/b0KUofySkvm1i9DrENV4s imTkPVP+rEh4paBbeMJ6Od7//Z30FQcyt8h0fsQE9X6tBHfa7oLcwZ4I469SHukSx+ 7WFH9KQeLH6P1Fm8BW4kRrkMCbSNcC5WyIAGavn4= Date: Tue, 15 Jun 2021 18:23:36 -0700 From: Andrew Morton <akpm@linux-foundation.org> To: akpm@linux-foundation.org, anderson@redhat.com, benh@kernel.crashing.org, bhe@redhat.com, bhupesh.sharma@linaro.org, bp@alien8.de, catalin.marinas@arm.com, dyoung@redhat.com, james.morse@arm.com, k-hagio@ab.jp.nec.com, kernelfans@gmail.com, linux-mm@kvack.org, mark.rutland@arm.com, mingo@kernel.org, mm-commits@vger.kernel.org, mpe@ellerman.id.au, paulus@samba.org, stable@vger.kernel.org, tglx@linutronix.de, torvalds@linux-foundation.org, will@kernel.org Subject: [patch 08/18] crash_core, vmcoreinfo: append 'SECTION_SIZE_BITS' to vmcoreinfo Message-ID: <20210616012336.mnhwEhLlA%akpm@linux-foundation.org> In-Reply-To: <20210615182248.9a0ba90e8e66b9f4a53c0d23@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 66963A000151 Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=M41VIRYU; spf=pass (imf23.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Stat-Signature: 9jcaomctcas3wyyoq5fnu1wax1384kub X-HE-Tag: 1623806609-739568 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: <linux-mm.kvack.org> |
Series |
[01/18] mm,hwpoison: fix race with hugetlb page allocation
|
expand
|
--- a/kernel/crash_core.c~crash_core-vmcoreinfo-append-section_size_bits-to-vmcoreinfo +++ a/kernel/crash_core.c @@ -464,6 +464,7 @@ static int __init crash_save_vmcoreinfo_ VMCOREINFO_LENGTH(mem_section, NR_SECTION_ROOTS); VMCOREINFO_STRUCT_SIZE(mem_section); VMCOREINFO_OFFSET(mem_section, section_mem_map); + VMCOREINFO_NUMBER(SECTION_SIZE_BITS); VMCOREINFO_NUMBER(MAX_PHYSMEM_BITS); #endif VMCOREINFO_STRUCT_SIZE(page);