Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3205089rwo; Fri, 4 Aug 2023 00:39:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGvP2OGfzQsl1xderOnRBUaxQrH3lsb+2E4Mr7CuPX6K6ZkIJPtGw79N8R0JvqnCwkDZZEh X-Received: by 2002:a05:6a00:b50:b0:687:1a86:7a83 with SMTP id p16-20020a056a000b5000b006871a867a83mr1030748pfo.1.1691134782105; Fri, 04 Aug 2023 00:39:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691134782; cv=none; d=google.com; s=arc-20160816; b=uq68E9nK6H1oS3L94dDG9yZpaOHLP3vsE003Ku/rdV85jFnAKAz5gqzeQsajxq06wr 6nZ7DtYLMdEG1MaZzVYZCXJyr2UPGy1TBx/kH51kYnACI913My5dqZsL8nIOeCRILzUJ 6NiKWFeJV2Wh5sAbiqAqySkQQof9BkoFa8fnpzifd5H7ZU05bN6t9m8fVW1hjn36CHJ3 1+2UR0X3HbZpW0jGSEuMpKwmKiQNjX23c+hdZhKwQXi7jhz5QHH3v/oZfye0+i0K+Hu0 JWCuRa1otZXSUL/PrvVcK20zPXeB5Z6z2fYCXDq4HitajSlfClpKmU1Pc2xxjY5TkVGN Skmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=MNm9pORzTgeogyqyW+mD8AlYYC8dXpJMUZdeirF8KCc=; fh=zk1AshaaKKiHS9NVnw93XNRRboaTeiuDpEeSmY8dZgE=; b=loI3dLc+CvACvFz0PZu0VUZfkLs5mArmCScX0+r3310IBsv6g3L1mbT66rZzynGjmB L+wQtfBg8ASw9T4HXWndxmGPJF6wZJqy/grzVR1VKCnSxdkibrWClhVAtmr1Tdpwrkz9 gJaUHYjmHm3nc56GAXY4xx97RDtxMO1kfSiFDkZm6OHvihsEh4YTTAFaWcAhG1O5s4Mp GQSf8YROZDWA4DrhM270ODE5dyiniPdHNFwJqmLyR9JGJAlg+2Ss+rng9THs1qrZs/X/ o881qAC+F5/klndsXNrqp+APXv3laVnOVcCVtY5a8VOGeN27mDQEQFJIeIufEjDbFQie Rkww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=lGU4btES; 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=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cq5-20020a056a00330500b006872a89502csi1307040pfb.186.2023.08.04.00.39.29; Fri, 04 Aug 2023 00:39:41 -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=@linux.dev header.s=key1 header.b=lGU4btES; 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=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233397AbjHDGho (ORCPT + 99 others); Fri, 4 Aug 2023 02:37:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231593AbjHDGhY (ORCPT ); Fri, 4 Aug 2023 02:37:24 -0400 Received: from out-122.mta1.migadu.com (out-122.mta1.migadu.com [95.215.58.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 570C646AC for ; Thu, 3 Aug 2023 23:37:23 -0700 (PDT) Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1691131041; 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; bh=MNm9pORzTgeogyqyW+mD8AlYYC8dXpJMUZdeirF8KCc=; b=lGU4btESR6WhEkMDXa2K6SgziaZU8b0hBHTqqAyF7szoZin5ZQ2hAjVHd1brkR/ab5Pt1E EBkiru/eTktl0j/74+CcJPbEcas/cdaQVsMEanF1vKFOevsW382PoWFv7lWAEZUBjxY5nV ozwpR2K+WN/7PlcwbrKAt776kTFudsg= MIME-Version: 1.0 Subject: Re: [PATCH v3] selftests: cgroup: fix test_kmem_basic slab1 check X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: Date: Fri, 4 Aug 2023 14:36:36 +0800 Cc: Andrew Morton , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Tejun Heo , Zefan Li , Shuah Khan , cgroups@vger.kernel.org, Linux-MM , linux-kselftest@vger.kernel.org, LKML Content-Transfer-Encoding: 7bit Message-Id: <22339C68-8BCA-4CB4-895B-9FE679D4D34B@linux.dev> References: To: Lucas Karpinski X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Aug 4, 2023, at 02:25, Lucas Karpinski wrote: > > test_kmem_basic creates 100,000 negative dentries, with each one mapping > to a slab object. After memory.high is set, these are reclaimed through > the shrink_slab function call which reclaims all 100,000 entries. The > test passes the majority of the time because when slab1 is calculated, > it is often above 0, however, 0 is also an acceptable value. > > Signed-off-by: Lucas Karpinski Reviewed-by: Muchun Song Thanks