Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3272836rdb; Thu, 16 Nov 2023 05:25:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwXRuYyzn6eeueHNBLSxpJclrHerXxeyam8CHHy7KQ4DQ0r+ziIV/7ubsXh4g2pQs8UtGd X-Received: by 2002:a05:6a20:3d09:b0:187:9521:92b9 with SMTP id y9-20020a056a203d0900b00187952192b9mr3598006pzi.53.1700141106251; Thu, 16 Nov 2023 05:25:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700141106; cv=none; d=google.com; s=arc-20160816; b=qk84PpW0oZ01m0xjczH+Xh9JgA8xGl+qjXvF5maOO67/XpDe9YVpY11xUhme/+acx8 xenim3YL3L6aFbp3w8hRrnKn3Ldv18MGVB6ttNf62sLeRfkEwcGr+ddYzCIuxEYhFsTx Fb6+CFWq+zbam6dcGeelpFOtdsQpXkQMca+B9S6hcbb0hfGsOdJPed8UbjjnAyKNOzf9 VJBJurbQ2gSrUXFgHIk1n3PVy9kEfhUzIj6p+sJVjH90N0EXp4qCcyw54XZnsxnbVnyH +FTYP7iYdv8h4M8kGWDI9SlhXp7kXTg7Q9i0IFueHKbXTANRzA2W6xkHz/WqAmrcZVIn qTmg== 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 :organization:autocrypt:from:references:cc:to:content-language :subject:user-agent:mime-version:date:message-id:dkim-signature; bh=0ETiNWXJBxpvD29RfGNQ4XmSbcHJy2tuafezJwCrPT0=; fh=PvIK1/VgD/MX+tAUNb4HEaL9LYOvtLS33UF2NBGg04Q=; b=EqL3PX/vW2JXyJbhwtGb65bH36gAsO8JjEnyJkY7yuB6EV+2KSv5OMYtXLP5cP04pz Br3AeAcNRuLILgj5VC+gxJGd6W0Wmy2ZIrPClnKHMfYEvxlyPQ0ETj6dr8AIrowLVpqY CbZP3AoVSGaCQRdDlwGK1WCCuMLcFjyqOBZxyxgp1UvocOOxCoGKBRAT2QEdCZAtvJnU 8mtsiZVj1EMA0+CqgMRRPbALgwJSI/plWbGqFHBzAjXNcyfQR4wr5hWhMj+g93oJP28u 9iwTdh+WWIsxf7PvKqD6Qd7aaL843JFpNajCDishtiQ37v/89lGShVnI9r/vsw0eGGMe CeFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Nmsibv3w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id z2-20020a056a00240200b006be2d9914eesi12318764pfh.118.2023.11.16.05.25.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 05:25:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Nmsibv3w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3B74580DB70F; Thu, 16 Nov 2023 05:25:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345150AbjKPNYd (ORCPT + 99 others); Thu, 16 Nov 2023 08:24:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230348AbjKPNYc (ORCPT ); Thu, 16 Nov 2023 08:24:32 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D61284 for ; Thu, 16 Nov 2023 05:24:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700141066; h=from:from:reply-to:subject:subject: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:autocrypt:autocrypt; bh=0ETiNWXJBxpvD29RfGNQ4XmSbcHJy2tuafezJwCrPT0=; b=Nmsibv3wOSlmynHhEOgMXsY8lfjdHWXpQfcU/cnt/LOqOjHc+NKlfuZ5Mu83DpH/qrvKSh cfbvSCQRip+7cBAnk8vQKEPAYcbNPVwQE/RI3xBDCpinKMHpJcecRjiwBIOh6f1JMvwsmU Ni+4gBNDsm4Ksi1G/heQRjH+qEPkm2g= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-385-mwI87xqIPmWgynStptOBKQ-1; Thu, 16 Nov 2023 08:24:25 -0500 X-MC-Unique: mwI87xqIPmWgynStptOBKQ-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4084001846eso4746205e9.1 for ; Thu, 16 Nov 2023 05:24:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700141064; x=1700745864; h=content-transfer-encoding:in-reply-to:organization:autocrypt:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0ETiNWXJBxpvD29RfGNQ4XmSbcHJy2tuafezJwCrPT0=; b=ABtufHHYF/7cC6OsYWqdodUHyawkbfjcH6TEFO+XvDefmQGQTaGe8FxYwQXTVteI+e +0lBeVB7KtSYergDeSeCRM+cO5cPVbtGvoC1unxMAQ7LLlCappprPP8pnjfaxrbO9Z3U dEbIFUYVLgyJTVG5XBq45ow1HAUEZyHzwboo8w1Yvk31NvXcd71SAf2uTeWQT4+9pNuF EIaokU71/6rjWKnkT+j8g7ZfFYGdSgI5vkMp3PcMYhXqWKF03KtltiiQGna4qs4FUueJ BtypnbseIfdyK9lzb/ekS3qYrlBvAozwuRQNnk8Dg3Ps6eTVMuoPuVFPPOVUWVFPZZWX zJeA== X-Gm-Message-State: AOJu0Yz/ukZJrBbTEFgPfvwN8T6VnTaiQG6pS6wC2YLe4FBhfOX9nOZ/ uNh7r4O/6NkiKfapgwpE3H6Z5xnqq9Y5M3XfCznfP2/cuDre2qrGzQ6JxCG8n/+GiI8+WR9wBRQ FwepKjqAmeW6g0NAPQ+vl/Ghe X-Received: by 2002:a05:600c:3b9b:b0:405:367d:4656 with SMTP id n27-20020a05600c3b9b00b00405367d4656mr13781668wms.29.1700141064217; Thu, 16 Nov 2023 05:24:24 -0800 (PST) X-Received: by 2002:a05:600c:3b9b:b0:405:367d:4656 with SMTP id n27-20020a05600c3b9b00b00405367d4656mr13781645wms.29.1700141063737; Thu, 16 Nov 2023 05:24:23 -0800 (PST) Received: from ?IPV6:2a09:80c0:192:0:5dac:bf3d:c41:c3e7? ([2a09:80c0:192:0:5dac:bf3d:c41:c3e7]) by smtp.gmail.com with ESMTPSA id z17-20020a1c4c11000000b0040a44179a88sm3518712wmf.42.2023.11.16.05.24.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Nov 2023 05:24:23 -0800 (PST) Message-ID: <3540fd3e-88dd-462b-88ce-df28b7b5b148@redhat.com> Date: Thu, 16 Nov 2023 14:24:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [linus:master] [mm/ksm] 5e924ff54d: ltp.ksm01.fail Content-Language: en-US To: kernel test robot , Stefan Roesch Cc: oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, Andrew Morton , Johannes Weiner , Rik van Riel , linux-mm@kvack.org, ltp@lists.linux.it References: <202311161132.13d8ce5a-oliver.sang@intel.com> From: David Hildenbrand Autocrypt: addr=david@redhat.com; keydata= xsFNBFXLn5EBEAC+zYvAFJxCBY9Tr1xZgcESmxVNI/0ffzE/ZQOiHJl6mGkmA1R7/uUpiCjJ dBrn+lhhOYjjNefFQou6478faXE6o2AhmebqT4KiQoUQFV4R7y1KMEKoSyy8hQaK1umALTdL QZLQMzNE74ap+GDK0wnacPQFpcG1AE9RMq3aeErY5tujekBS32jfC/7AnH7I0v1v1TbbK3Gp XNeiN4QroO+5qaSr0ID2sz5jtBLRb15RMre27E1ImpaIv2Jw8NJgW0k/D1RyKCwaTsgRdwuK Kx/Y91XuSBdz0uOyU/S8kM1+ag0wvsGlpBVxRR/xw/E8M7TEwuCZQArqqTCmkG6HGcXFT0V9 PXFNNgV5jXMQRwU0O/ztJIQqsE5LsUomE//bLwzj9IVsaQpKDqW6TAPjcdBDPLHvriq7kGjt WhVhdl0qEYB8lkBEU7V2Yb+SYhmhpDrti9Fq1EsmhiHSkxJcGREoMK/63r9WLZYI3+4W2rAc UucZa4OT27U5ZISjNg3Ev0rxU5UH2/pT4wJCfxwocmqaRr6UYmrtZmND89X0KigoFD/XSeVv jwBRNjPAubK9/k5NoRrYqztM9W6sJqrH8+UWZ1Idd/DdmogJh0gNC0+N42Za9yBRURfIdKSb B3JfpUqcWwE7vUaYrHG1nw54pLUoPG6sAA7Mehl3nd4pZUALHwARAQABzSREYXZpZCBIaWxk ZW5icmFuZCA8ZGF2aWRAcmVkaGF0LmNvbT7CwZgEEwEIAEICGwMGCwkIBwMCBhUIAgkKCwQW AgMBAh4BAheAAhkBFiEEG9n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VIe90RMe2tRL06BGiRZr jPrnvUsUUsjRoRNJjKKA/REq+sAnhkNPPZ/NNMjaZ5b8Tovi8C0tmxiCHaQYqj7G2rgnT0kt WNyWQQ== Organization: Red Hat In-Reply-To: <202311161132.13d8ce5a-oliver.sang@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Thu, 16 Nov 2023 05:25:03 -0800 (PST) On 16.11.23 05:39, kernel test robot wrote: > > hi, Stefan Roesch, > > we reported > "[linux-next:master] [mm/ksm] 5e924ff54d: ltp.ksm01_1.fail" > in > https://lore.kernel.org/all/202311031548.66780ff5-oliver.sang@intel.com/ > when this commit is in linux-next/master. > > now we noticed this commit is merged in mainline, and we still observed > same issue. just FYI. > > > Hello, > > kernel test robot noticed "ltp.ksm01.fail" on: > > commit: 5e924ff54d088828794d9f1a4d5bf17808f7270e ("mm/ksm: add "smart" page scanning mode") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > [test failed on linus/master 3ca112b71f35dd5d99fc4571a56b5fc6f0c15814] > [test failed on linux-next/master 8728c14129df7a6e29188a2e737b4774fb200953] > > in testcase: ltp > version: ltp-x86_64-14c1f76-1_20230715 > with following parameters: > > disk: 1HDD > test: mm-00/ksm01 > > > > compiler: gcc-12 > test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (Kaby Lake) with 32G memory > > (please refer to attached dmesg/kmsg for entire log/backtrace) > > > > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-lkp/202311161132.13d8ce5a-oliver.sang@intel.com > > > > Running tests....... > <<>> > tag=ksm01 stime=1699563923 > cmdline="ksm01" > contacts="" > analysis=exit > <<>> > tst_kconfig.c:87: TINFO: Parsing kernel config '/proc/config.gz' > tst_test.c:1558: TINFO: Timeout per run is 0h 00m 30s > mem.c:422: TINFO: wait for all children to stop. > mem.c:388: TINFO: child 0 stops. > mem.c:388: TINFO: child 1 stops. > mem.c:388: TINFO: child 2 stops. > mem.c:495: TINFO: KSM merging... > mem.c:434: TINFO: resume all children. > mem.c:422: TINFO: wait for all children to stop. > mem.c:344: TINFO: child 1 continues... > mem.c:347: TINFO: child 1 allocates 128 MB filled with 'a' > mem.c:344: TINFO: child 2 continues... > mem.c:347: TINFO: child 2 allocates 128 MB filled with 'a' > mem.c:344: TINFO: child 0 continues... > mem.c:347: TINFO: child 0 allocates 128 MB filled with 'c' > mem.c:400: TINFO: child 1 stops. > mem.c:400: TINFO: child 0 stops. > mem.c:400: TINFO: child 2 stops. > ksm_helper.c:36: TINFO: ksm daemon takes 2s to run two full scans > mem.c:264: TINFO: check! > mem.c:255: TPASS: run is 1. > mem.c:255: TPASS: pages_shared is 2. > > .... > > mem.c:255: TPASS: pages_shared is 1. > mem.c:255: TPASS: pages_sharing is 98302. > mem.c:252: TFAIL: pages_volatile is not 0 but 1. <----- > mem.c:252: TFAIL: pages_unshared is not 1 but 0. <----- @Stefan, is this simply related to the new scanning optimization (skip and eventually not merge a pages within the "2 scans" windows, whereby previously, they would have gotten merged)? If so, we might just want to disable that optimization for that test case? Alternatively, maybe we have to wait for "more" scan cycles instead of only 2? -- Cheers, David / dhildenb