Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3003466rdg; Tue, 17 Oct 2023 01:12:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfltRvUCUopO85hVYYTrMZ4i3H3Nh+/Sp0maT8favXvZunj56+rx+xVRZZvTliXzmFh9Ic X-Received: by 2002:a17:902:d2c6:b0:1ca:86db:1d39 with SMTP id n6-20020a170902d2c600b001ca86db1d39mr1912051plc.30.1697530346573; Tue, 17 Oct 2023 01:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697530346; cv=none; d=google.com; s=arc-20160816; b=mBGi6jFV95nFIeGJL6iao0Jy4K10RQf2HbYtX3uERXrvGMwHDejJzYAEgrGLBOzRD1 kBYOxEGOHAw9wVeZyJK/yIdeoYi0DC5AEK9p4vHLkR5bRQFu2CMaFeYVN7yzj83t8xPM 7iXby3EVbmjVL+X6/aYQtw6qSa6VzrS2Uk6HKCcGhrweGxP9uchIqan3NZ79wXMDbtEF 9IK0kwzm47Z7Y9ctULgNNPqt8nC9QJrx3gKrgkaU/Fqy3XsdKLEsJ07Px4Os5LpdCnXU oDSzNGn5MXXYXJSU/Ma2MQJcEvOnOkqilrzn7aQbnO7uDyvPjIyhsiIHtVug0zq/lTbM UVjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=tJ77HGtm1b4uaWPKC3LIfKfaonrDeissPpBqeJTfv8I=; fh=s1z+JCVPpurcy1PmKBEoC1Doy2aDQsXzqlZqoBsGGZ4=; b=obiabE7RLPHvTbcpImi9d+syTVgHotln3T4xYxM0AxVSD0IDjBA4JJzmeG5Dz3Sbjl WmW5boHJyp+QBXGtv7Q7V3ghiqYq1JLbsC2BqHtOoX014Wb/49nlk4nAo0Sft+iZPKth t5g0ix/Qd9HfLM0++KV8D+IWMb3S7nSm67GyMQUxgRiiqSbOQtI/MrR1WfELvBMbu6Gl Y7U/esBH8vcKsG7xORhjED2Vzjsds9xNhbvdn7bL3jswc9mMJ0vvZ3gFO3w/mLx+Z49f 1is9ITEBTDv+tER2PHoxO5mmO8MiPpLfmvaZ8a285FGlveIxkZgoGF58G6JR6FMEjr1n STUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=qFXrs4Ll; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w15-20020a1709027b8f00b001c9e890f42bsi1224453pll.78.2023.10.17.01.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 01:12:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=qFXrs4Ll; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6BCEE8025838; Tue, 17 Oct 2023 01:12:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234617AbjJQIMY (ORCPT + 99 others); Tue, 17 Oct 2023 04:12:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232300AbjJQIMX (ORCPT ); Tue, 17 Oct 2023 04:12:23 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0059AB for ; Tue, 17 Oct 2023 01:12:21 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C86651FF06; Tue, 17 Oct 2023 08:12:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1697530339; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tJ77HGtm1b4uaWPKC3LIfKfaonrDeissPpBqeJTfv8I=; b=qFXrs4LlFba+2zSiFNBaM5OBTgyDKF4PZU3hDgp+UcGqoShxOdBLxURND6n1Apli4UMiMq hOK0VtfPYch6e4BZlTZVJgQxPcsFw9INduIxhhx9+lRNWYkh2eIzCYJ4EpRNWRbcqmtBDE m+G5DnF3GKcpuosraYabkA9dGTzC94c= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1697530339; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tJ77HGtm1b4uaWPKC3LIfKfaonrDeissPpBqeJTfv8I=; b=Uwm26zNsTnqhvQMghRnH9g9nZfwqPjx/qpOwnyHEMlVOe4XwVEgoFP1BpXlqnkGBQ2jax6 fxGRpjW3P4ihhtCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 9F09913597; Tue, 17 Oct 2023 08:12:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Nf/5JeNBLmVvRQAAMHmgww (envelope-from ); Tue, 17 Oct 2023 08:12:19 +0000 Message-ID: <4923f97e-8afd-37c7-42dc-0b2343e47396@suse.cz> Date: Tue, 17 Oct 2023 10:12:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 3/5] tools/mm: Filter out timestamps for correct collation Content-Language: en-US To: Audra Mitchell , linux-mm@kvack.org Cc: raquini@redhat.com, akpm@linux-foundation.org, djakov@kernel.org, linux-kernel@vger.kernel.org References: <20231013190350.579407-1-audra@redhat.com> <20231013190350.579407-4-audra@redhat.com> From: Vlastimil Babka In-Reply-To: <20231013190350.579407-4-audra@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: X-Spam-Score: -4.11 X-Spamd-Result: default: False [-4.11 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; BAYES_HAM(-0.01)[48.34%]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-3.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[6]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 17 Oct 2023 01:12:25 -0700 (PDT) On 10/13/23 21:03, Audra Mitchell wrote: > With the introduction of allocation timestamps being included in page_owner > output, each record becomes unique due to the timestamp nanosecond > granularity. Remove the check in add_list that tries to collate each record > during processing as the memcmp() is just additional overhead at this > point. > > Also keep the allocation timestamps, but allow collation to occur without > consideration of the allocation timestamp except in the case were > allocation timestamps are requested by the user (the -a option). > > Signed-off-by: Audra Mitchell Acked-by: Vlastimil Babka