From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 578F91799F for ; Wed, 23 Apr 2025 17:03:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745427818; cv=none; b=CsHYy+1WNZpqsGT7CmLPFv5wpYM05b6purN7LjFnRteZOUGaCRLfNkAujB88wZ//8YjfN1V5xLJxvtgZyLdwEKRUJi31zhuOJpl7t1FXGYu2XWuW8Dc9CkUxTYynsCXSBJnbNlyGHb0MGb8KRbY8EgM1hZbbUq+HS4yufIZicyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745427818; c=relaxed/simple; bh=0XVlTRBgn1AxRwlX5L5gSRRecvWpaBNYjygKefRRLLU=; h=From:Message-ID:Date:MIME-Version:Subject:To:Cc:References: In-Reply-To:Content-Type; b=a8JhguUiq8fCC0+zSy1D7JGxqvu+CTo2JNWXfIHUM+FACLsTWiugGCPXTu4m/COYsr3PdVGXNucna5GEal50G271jOqZmnq0NsVVDVqqDtNXRmQFb8ECmQ7kwbL6GU4J69lgK2JtiUIO9QcTDlHvlXdUAIQqN1WQQVKF5QjmjCY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=cNIc9Q2I; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cNIc9Q2I" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1745427815; 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=+3+7SBYIT0EMoPG6wTKgHOcC2ipTqOMHgJd9hrWDUp8=; b=cNIc9Q2IKqCImx36/GS0GOQjwrOr5Wq4ELk+DNh4SqmDk5K5d0tMTZTHhqN5nB6kuYBUkf o3oIz8Obk8uUI6n7c2J5GLGnn7OciXhT+I5DLBEm/zaJaWmFQsRF4HsAdkCeQtWi7IcQVG OF+jLKkk7R88awGAtpUmJAUEZOTs71Q= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-617-n5hwRVmPNXqusKtKmgmGww-1; Wed, 23 Apr 2025 13:03:34 -0400 X-MC-Unique: n5hwRVmPNXqusKtKmgmGww-1 X-Mimecast-MFC-AGG-ID: n5hwRVmPNXqusKtKmgmGww_1745427813 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-6e91b1ddb51so1887136d6.0 for ; Wed, 23 Apr 2025 10:03:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745427813; x=1746032613; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+3+7SBYIT0EMoPG6wTKgHOcC2ipTqOMHgJd9hrWDUp8=; b=eTNKzoo0j06hWD+wtVNJy/++J0+bdvIN2mYcfm5tW2SF9AdRtNhiXi2jHh5c3YRSwS 0LBTMKXZf6AL1sXutBuD4kstcTrt9qsq0j12ddhqKTO5S5qfTamETyB++TudPaAi8eEJ 0o7ZsDS8BxMnWo+1ifoV2pDdQZOHuEZCQycC+MB1rTAsrJ8z6B6780eMukYA36RQ/hIa 5ipDplTpHXcoJrhC6XF4LXkSdHhHp0YQwBrXGRJY1jZ40BGEdqtuX68R+V+IGhxNnucq A/P+BK8Z169jqqpbDLRflMDHrbVICuoSSbUUQnVRLzVX5X0pHtLObGHNghVnQCvLW69b Gg6w== X-Forwarded-Encrypted: i=1; AJvYcCWgQkIXPIhyCChv7F5V9xuo8B3vnDH28UiOQz+hiX07PXtuS2YOBuWzRSRy/h7v9dA2YchaA0MLMI+KPpfKyBI=@vger.kernel.org X-Gm-Message-State: AOJu0Ywad9J+mq2V+LgPOVAmtnklMHwsMdN/WHsfoMnhVwht2t2Z4qwh /7sj09RpSEqn9amfi8DIQGSRWIF+XChtxxeP18kF7bjPrFlF9y8Ww/2qGY8bW3ZoS1xkdJ/KeBw Vv00RObZAbUvmCBjFrhuf9yHP6t1uAvuu9DF+K1hjXP6/8BYSIOnz4Z36tS+gshTqsg== X-Gm-Gg: ASbGncujzvq70NhcpqheRa488Tiyu+gm2LOUn32gvsSeqj4Pzf3ma7Kb/niBwomcpMs YpT/VWKptbl2OBhcJ0C0qzNdgI0YI0A21x5G0oaJLkV+WCSuhN0NjjqZp9tnJQOEnqsheokh2Xf y1R3NdlAk4gb+gNJMcAzeTcPjsVMGcgVQJD9YOz9+GMomhBV7w4uaounrwgPoDv8UJ5ME42zh6H MQFzB9BfM0LOwK+upbK9tcYh37qmQd93FG4boYv1JZqkSLSQ7iPSdMUsGemtQ7Ho9Dngs9SXlKR nmlkB4Xrnc3G8mXFRduQsCAUoRQmYNFVtFS7kt9/0niRQAwvmzaZbjcLFw== X-Received: by 2002:a05:6214:5292:b0:6e8:fbb7:6764 with SMTP id 6a1803df08f44-6f2c46992f3mr343421166d6.45.1745427813509; Wed, 23 Apr 2025 10:03:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0Jady51wQ0Po3UBtRHbwZVYJnEaUhKMy5jHguua0DBLjtBhN5wZ/fJFmpmlLKNdXjaqxXqQ== X-Received: by 2002:a05:6214:5292:b0:6e8:fbb7:6764 with SMTP id 6a1803df08f44-6f2c46992f3mr343420656d6.45.1745427813160; Wed, 23 Apr 2025 10:03:33 -0700 (PDT) Received: from ?IPV6:2601:408:c101:1d00:6621:a07c:fed4:cbba? ([2601:408:c101:1d00:6621:a07c:fed4:cbba]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6f2c2b33134sm72456966d6.54.2025.04.23.10.03.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Apr 2025 10:03:32 -0700 (PDT) From: Waiman Long X-Google-Original-From: Waiman Long Message-ID: <40e1ec0a-63a8-4c07-8b42-e31676453265@redhat.com> Date: Wed, 23 Apr 2025 13:03:31 -0400 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 1/2] selftests: memcg: Allow low event with no memory.low and memory_recursiveprot on To: =?UTF-8?Q?Michal_Koutn=C3=BD?= , Waiman Long Cc: Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Andrew Morton , Tejun Heo , Shuah Khan , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org References: <20250415210415.13414-1-longman@redhat.com> <20250415210415.13414-2-longman@redhat.com> <0033f39f-ff47-4645-9b1e-f19ff39233e7@redhat.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 4/23/25 12:49 PM, Michal Koutný wrote: > On Tue, Apr 22, 2025 at 07:58:56PM -0400, Waiman Long wrote: >> Am I correct to assume that the purpose of 1d09069f5313f ("selftests: >> memcg: expect no low events in unprotected sibling") is to force a >> failure in the test_memcg_low test to force a change in the current >> behavior? Or was it the case that it didn't fail when you submit your >> patch? > Yes, the failure had been intended to mark unexpected mode of reclaim > (there's still a reproducer somewhere in the references). However, I > learnt that: > a) it ain't easy to fix, > b) the only occurence of the troublesome behavior was in the test and > never reported by users in real life. > > I've started to prefer the variant where the particular check is > indefinite since that. OK, I will update the patch as you had suggested. I am fine doing that, just that I did not understand why you wanted the result to be undefined in the first place. Cheers, Longman