Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3424316rwe; Sun, 16 Apr 2023 20:04:36 -0700 (PDT) X-Google-Smtp-Source: AKy350bBfyvRiYZm2BZa5hbpHXKEnihXZUdu3DcaYmV7h++YkkyIjhnSRITgmR6WDCQ2vPjon6KN X-Received: by 2002:a05:6a20:3a88:b0:eb:e869:6919 with SMTP id d8-20020a056a203a8800b000ebe8696919mr12735032pzh.21.1681700676497; Sun, 16 Apr 2023 20:04:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681700676; cv=none; d=google.com; s=arc-20160816; b=cUE8bUGmi8QBXD03YpjVMtT5EIMjgrXT6lLzYWUbjUpdj6w2xsW8AhC9BbMW/+zk6k 3RshjQJn/f9O8ldXCdYnDWF74oRU9bsLvPdzC0XLUJgYtuIKCTOLZX0BpG/OIGUQ1K+F KJrIXnc9kgzmEKLZpt8j1Fv5kGLAgm04CBLU7VqE1o1mxnI1nkfCxMh/lEsqBzl0ivip ojISUIXXuUQ5zeExteZyplIAtHkZGg6UB7Ea4yyCmYZ9lHAz8mMXtAonKvZqWxfHED6y 7SNwTTIsmFa7xby4Tg1L1JhlWr3QjgRLD5zZaWRNu4qyInVEOlwIuW+1C/TTLeLN+6MD vVFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=x4c8L7VsZgoyPG8O8WEpaQWguavlynHaEcvAogGRYUI=; b=vHns2/Yu4b7tBa42o8UMGrwIG4O7FBmo8PWJXAciqfUKw4tkvucM1HmwMDnk0PrwMI /713YmBhzuV3BhjxCJZ/xIaS9nWMkho/uBNaW2oXV/MMNho7bL78bvJ5OuKeZpzw2cgt b8n7p0+cuabUOHX3Y+SDtN9ZWmbiPuTdKikbegatW+UCiHX9qL5xGn5eFV+NecVdg2yo fP2wdap+T5ojQ4rMQlFkQZhhmvfpOCqA3t/x2Xy78BDVQ/z4CDTEYYfwleNwXrPRFzp/ xRB+Tsm71+BSn9b925Ewy6f2KYBa63ov96+dmaVHKL4PyMdJYV9ILkiean/8E8Sv2eli eHng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=zxhkp9OE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v62-20020a638941000000b0051837a8ac76si11640009pgd.364.2023.04.16.20.04.22; Sun, 16 Apr 2023 20:04:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=zxhkp9OE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230017AbjDQC4J (ORCPT + 99 others); Sun, 16 Apr 2023 22:56:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjDQC4H (ORCPT ); Sun, 16 Apr 2023 22:56:07 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0557D30E7 for ; Sun, 16 Apr 2023 19:55:58 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f08b6a9f8aso189395e9.0 for ; Sun, 16 Apr 2023 19:55:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1681700156; x=1684292156; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=x4c8L7VsZgoyPG8O8WEpaQWguavlynHaEcvAogGRYUI=; b=zxhkp9OEKijNfW6g/6CYNlaJKDTH4UhRZ56vl423M3dC2Tx6CI+nm7quah+flVOazp y0eTRq96Jp32vYBFyrzIbKOcV8LQisPT6UxyxMod/S3XBvbLx545JW8Z8DCVH/JLHlnC LT+KTf+a0YfvydkMKMvBZcYe6XOaYAuf0KTwVJGcBy096f1/78jlpEyrhgVN1ociRskE i4AwZcF7s1+nos/N6lTzvNiDhvVC4pnFgYAXTUXVczODp2+DHnYarUc0RxDN4RhvCvki 4vq65dhmT61tXFTrGh3XkMkT64Voa/UHHtbE57ZuKLHN4rTooSyZliwe+FYowQxOMaYk tfKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681700156; x=1684292156; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x4c8L7VsZgoyPG8O8WEpaQWguavlynHaEcvAogGRYUI=; b=D9H9GMao/kOiWSiFD9RxYUqcK7awgYR73N/O8plVrKuOVdIQT+uymy49mcdqCIeUaU Iy03WWnC4qYmXXAJHL04tFij+EMJCTpN6+LtNwNM6yBOz8c+GomtrKUIJQspLPjAsvIs Hobb3KNVwEbyTrEaU/OzBEDaLg3bGIJbbX/sOTMjDx1am6/Pr4VWuhzppTvYFf+oNil5 s/BXqvEhoKIae7dvftZUM2aBMTAcP4oaweP7zp02LNtnU0D8VXYtx5PIVQoUVLOuWaV9 HtZBQ9e7gBaNb8KSR+kki6vctvc3G4dqfwwPAxPM7QAxY1A08Nu92ErYwIQ0i/8/LadG Pc3Q== X-Gm-Message-State: AAQBX9e/+gC5vmpJ7n0OG4huIqEGEpzQcaxpwnGf1TQmTHy+fXuqZTCJ 7TryClp/AsQdvxHpB4FzuSSkTY+BOAo8d2YoQZTKNFZVFbtHNP4TrpqvNQ== X-Received: by 2002:a05:600c:3512:b0:3f0:aeef:e2da with SMTP id h18-20020a05600c351200b003f0aeefe2damr397745wmq.3.1681700156385; Sun, 16 Apr 2023 19:55:56 -0700 (PDT) MIME-Version: 1.0 References: <20230304034835.2082479-1-senozhatsky@chromium.org> <20230416151853.GK25053@google.com> <20230417024446.GL25053@google.com> In-Reply-To: <20230417024446.GL25053@google.com> From: Yu Zhao Date: Sun, 16 Apr 2023 20:55:19 -0600 Message-ID: Subject: Re: [PATCHv4 0/4] zsmalloc: fine-grained fullness and new compaction algorithm To: Sergey Senozhatsky Cc: Minchan Kim , Andrew Morton , Yosry Ahmed , linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Sun, Apr 16, 2023 at 8:44=E2=80=AFPM Sergey Senozhatsky wrote: > > On (23/04/16 13:27), Yu Zhao wrote: > > > Hi, > > > > > > Did you bisect it down to this series? > > > > Not exactly -- since this series was the only suspect I had, I cherry > > picked it to v6.3-rc6 and verified it is the culprit. > > Can't reproduce it yet. One of the theories is that get_fullness_group() > maybe returns an invalid index, but I don't immediately see how would it > do so. > > Is the problem reproducible? Whenever swapping *multithreaded* heavily. > Do you run some specific test? E.g., tools/testing/selftests/kvm/max_guest_memory_test -c 112 -m 800 -s 800 with 112 CPUs and ~770GB DRAM + 32GB zram.