Received: by 10.223.185.116 with SMTP id b49csp5351396wrg; Wed, 7 Mar 2018 10:15:24 -0800 (PST) X-Google-Smtp-Source: AG47ELvp5bVYPh69PgyJ+mcJYdvJapINEeXYhEZbI8uNvtjxDYz1RG614z+Kci0EtdPj2VAL3JSN X-Received: by 10.99.110.137 with SMTP id j131mr18874437pgc.85.1520446524499; Wed, 07 Mar 2018 10:15:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520446524; cv=none; d=google.com; s=arc-20160816; b=jouglgi8Hey4IjBcnb0yGmWIfEYSMQVUHZ3ttzkz88DJxdtT+FkBCHZPW6cRUklEqt Nk2XZi+7iLZLTVd8Vk3hl4nLOmihaczamDJ/fXIH4itg1v9GkIGHaJXTERMLLfNfl+cw /9d2VWUzxdq7QllGkZ3gh3pwzGC63Mb69Th6ZiHcxxPiJlwB39NKu1aHN8yv0yMyAtoi PP9E22O9DGq1UHJSgCb1f3om+0PvDIorWrHPb/1N5ot2kFj9n4UjjmIMYKZ4G09m67S8 aKAb6j3SAhve6gjaMBbZm+z478dY/CiGNRLQ0s2/JQF1FvELl81JoJdha0CwHZSV2BqB DVCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=1VSYqmnAyAIYe3JJuNKJGVlHsiedcILqci7KF+YKUsw=; b=uevzd0qkG5fsH7Gnclqq4h2UfnnDPJX4nvsvODRiA9y84wiY/OEqWf9XX1NGxPXXfQ vOzktRPhfDMwYaKW+ZD1WUWWz+0ZBPeRldi3ZtV07J2dv0Ng9OSCYduXNcLKy474/1Fo RJLd5KyJxjihrqI9GwjoV9YrLHc0ZX64YCqjqZMo55axhuDgoXk+Yc05INY/y5UFEsX2 08DBoRaigI6rym/Er30t1S8A53So6sDX3ugCZ79eDHIeKBWyNhn5DlERkisHjRqharBL olkFmCRdWE6uwactCKiXa69DRNwayNrNvtkIlXRaoACtgaQtNJtx0eZF9lE8dnrbzZKr X7NA== 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 x24si11635580pgv.124.2018.03.07.10.15.09; Wed, 07 Mar 2018 10:15:24 -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 S1754665AbeCGSOE (ORCPT + 99 others); Wed, 7 Mar 2018 13:14:04 -0500 Received: from resqmta-ch2-10v.sys.comcast.net ([69.252.207.42]:33108 "EHLO resqmta-ch2-10v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754578AbeCGSN6 (ORCPT ); Wed, 7 Mar 2018 13:13:58 -0500 Received: from resomta-ch2-06v.sys.comcast.net ([69.252.207.102]) by resqmta-ch2-10v.sys.comcast.net with ESMTP id tdX8eCAP0I3D0tdZderR1o; Wed, 07 Mar 2018 18:13:57 +0000 Received: from gentwo.org ([98.222.162.64]) by resomta-ch2-06v.sys.comcast.net with SMTP id tdZcemW9YmrUftdZcenC5t; Wed, 07 Mar 2018 18:13:57 +0000 Received: by gentwo.org (Postfix, from userid 1001) id 5E65E11616E5; Wed, 7 Mar 2018 12:13:56 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 5AE271160017; Wed, 7 Mar 2018 12:13:56 -0600 (CST) Date: Wed, 7 Mar 2018 12:13:56 -0600 (CST) From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Chintan Pandya cc: penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] slub: Fix misleading 'age' in verbose slub prints In-Reply-To: <1520423266-28830-1-git-send-email-cpandya@codeaurora.org> Message-ID: References: <1520423266-28830-1-git-send-email-cpandya@codeaurora.org> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-CMAE-Envelope: MS4wfOlX3EjpGBacdbSRb8h1bJQEv1EgzVHKIxROUSWnsQ76VXsEpXCJmDAqdp2naKe8+ATurQi4wDodtqAa7Y4v+Lh1ZTwHWGY02AT6NysJDQfozwvKaEJ5 h6frLnlxxpJ4K/4DYwAc0y9QplYxj7xY4mbwJq4CKujsVnaefiloBFXyEXikUzxc0LE57p4S+GMHQ2NOEPsKhiCNFjLWmuB0Lm5RGEYUTe/UnS5JZOFPfCJp EAhmXw3QHcvENrYwGh9ItzAWB5Ov4m+dSviEGRdb8KfjgDj+qXhwTGhZt93RMPl7LfyPQaLlXXaJLHASejgl/slalinfxsuB4bn8UvG7y3RPsTsMrSU3QNRH q85fv+tg Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Mar 2018, Chintan Pandya wrote: > In this case, object got freed later but 'age' shows > otherwise. This could be because, while printing > this info, we print allocation traces first and > free traces thereafter. In between, if we get schedule > out, (jiffies - t->when) could become meaningless. Ok then get the jiffies earlier? > So, simply print when the object was allocated/freed. The tick value may not related to anything in the logs that is why the "age" is there. How do I know how long ago the allocation was if I look at the log and only see long and large number of ticks since bootup?