Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6A88C64EC4 for ; Mon, 6 Mar 2023 17:52:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229976AbjCFRwr (ORCPT ); Mon, 6 Mar 2023 12:52:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbjCFRwo (ORCPT ); Mon, 6 Mar 2023 12:52:44 -0500 Received: from out-19.mta1.migadu.com (out-19.mta1.migadu.com [95.215.58.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE2C16B5DE for ; Mon, 6 Mar 2023 09:52:14 -0800 (PST) Date: Mon, 6 Mar 2023 09:51:32 -0800 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Yue Zhao Cc: akpm@linux-foundation.org, hannes@cmpxchg.org, mhocko@kernel.org, shakeelb@google.com, muchun.song@linux.dev, willy@infradead.org, linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, tangyeechou@gmail.com Subject: Re: [PATCH v2, 0/4] mm, memcg: cgroup v1 and v2 tunable load/store tearing fixes Message-ID: References: <20230306154138.3775-1-findns94@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230306154138.3775-1-findns94@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 06, 2023 at 11:41:34PM +0800, Yue Zhao wrote: > This patch series helps to prevent load/store tearing in > several cgroup knobs. > > As kindly pointed out by Michal Hocko and Roman Gushchin > , the changelog has been rephrased. > > Besides, more knobs were checked, according to kind suggestions > from Shakeel Butt and Muchun Song. > > v1: > - Add [WRITE|READ]_ONCE for memcg->oom_group > v2: > - Rephrase changelog > - Add [WRITE|READ]_ONCE for memcg->oom_kill_disable, > memcg->swappiness, vm_swappiness and memcg->soft_limit > > Yue Zhao (4): > mm, memcg: Prevent memory.oom.group load/store tearing > mm, memcg: Prevent memory.swappiness load/store tearing > mm, memcg: Prevent memory.oom_control load/store tearing > mm, memcg: Prevent memory.soft_limit_in_bytes load/store tearing Acked-by: Roman Gushchin for the series. Thank you!