Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753953AbcDDBGi (ORCPT ); Sun, 3 Apr 2016 21:06:38 -0400 Received: from TYO201.gate.nec.co.jp ([210.143.35.51]:39214 "EHLO tyo201.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753019AbcDDBGh convert rfc822-to-8bit (ORCPT ); Sun, 3 Apr 2016 21:06:37 -0400 From: Atsushi Kumagai To: Andrew Morton CC: "linux-kernel@vger.kernel.org" , "kexec@lists.infradead.org" Subject: RE: [PATCH 1/2] kexec: update VMCOREINFO for compound_order/dtor Thread-Topic: [PATCH 1/2] kexec: update VMCOREINFO for compound_order/dtor Thread-Index: AQHRjFR7LHWP8lwmK06/gX5nAUBqzZ946dow Date: Mon, 4 Apr 2016 01:04:38 +0000 Message-ID: <0910DD04CBD6DE4193FCF86B9C00BE9701E373ED@BPXM01GP.gisp.nec.co.jp> References: <0910DD04CBD6DE4193FCF86B9C00BE9701E25FCE@BPXM01GP.gisp.nec.co.jp> <20160401132421.7cadaeb967dc342f643d8c38@linux-foundation.org> In-Reply-To: <20160401132421.7cadaeb967dc342f643d8c38@linux-foundation.org> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.21.220.163] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1748 Lines: 48 >On Tue, 1 Mar 2016 06:14:32 +0000 Atsushi Kumagai wrote: > >> makedumpfile refers page.lru.next to get the order of compound pages >> for page filtering. However, now the order is stored in page.compound_order, >> hence VMCOREINFO should be updated to export the offset of >> page.compound_order. >> >> The fact is, page.compound_order was introduced already in kernel 4.0, >> but the offset of it was the same as page.lru.next until kernel 4.3, >> so this was not actual problem. >> >> The above can be said also for page.lru.prev and page.compound_dtor, >> it's necessary to detect hugetlbfs pages. Further, the content was >> changed from direct address to the ID which means dtor. > >It's unclear which kernels need the patch and why. I *think* that the >patch is needed in 4.3.x, 4.4.x, 4.5.x and 4.6 in order to make >makedumpfile work correctly. Is that right? The patch is necessary for 4.4.x, 4.5.x and 4.6. 4.3.x don't have the problem. >And it appears that [patch 2/2] is needed in 4.0+? [patch 2/2] is for 4.5.x and latter: $ git name-rev 1c290f642101e6 1c290f642101e6 tags/v4.5-rc1~77^2~129 $ >However in both cases I am uncertain - what are the end-user visible >effects of these regressions? Why can bugs remain in place for so long >without having been observed? The problem is that unnecessary hugepages wouldn't be removed from a dump file in the older kernels. This means that extra disk space would be consumed. It's a problem, but not critical. >Please make all these things clear when perparing changelogs for >bugfixes: which kernel versions need fixing and why (ie: what are the >end-user visible effects of the bug). Sure, I will be careful about it. Thanks, Atsushi Kumagai