From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=-10.6 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 57B00C433E0 for ; Fri, 5 Feb 2021 12:02:12 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 84AA364E05 for ; Fri, 5 Feb 2021 12:02:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84AA364E05 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id DBB4C6B0005; Fri, 5 Feb 2021 07:02:10 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D6ADD6B006C; Fri, 5 Feb 2021 07:02:10 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C81AD6B006E; Fri, 5 Feb 2021 07:02:10 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0048.hostedemail.com [216.40.44.48]) by kanga.kvack.org (Postfix) with ESMTP id AF5F76B0005 for ; Fri, 5 Feb 2021 07:02:10 -0500 (EST) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 75420181AEF1F for ; Fri, 5 Feb 2021 12:02:10 +0000 (UTC) X-FDA: 77784076020.04.lock61_3c15b79275e4 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin04.hostedemail.com (Postfix) with ESMTP id 5396A800FFDF for ; Fri, 5 Feb 2021 12:02:10 +0000 (UTC) X-HE-Tag: lock61_3c15b79275e4 X-Filterd-Recvd-Size: 1743 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf01.hostedemail.com (Postfix) with ESMTP for ; Fri, 5 Feb 2021 12:02:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 8EF68ADE3; Fri, 5 Feb 2021 12:02:08 +0000 (UTC) Subject: Re: [PATCH v2] mm/page_owner: Record the timestamp of all pages during free To: Georgi Djakov , akpm@linux-foundation.org, linux-mm@kvack.org Cc: corbet@lwn.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210203175905.12267-1-georgi.djakov@linaro.org> From: Vlastimil Babka Message-ID: Date: Fri, 5 Feb 2021 13:02:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210203175905.12267-1-georgi.djakov@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: On 2/3/21 6:59 PM, Georgi Djakov wrote: > Collect the time when each allocation is freed, to help with memory > analysis with kdump/ramdump. Add the timestamp also in the page_owner > debugfs file and print it in dump_page(). > > Having another timestamp when we free the page helps for debugging > page migration issues. For example both alloc and free timestamps > being the same can gave hints that there is an issue with migrating > memory, as opposed to a page just being dropped during migration. > > Signed-off-by: Georgi Djakov Acked-by: Vlastimil Babka Thanks.