From patchwork Thu Mar 12 17:32:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Down X-Patchwork-Id: 11435127 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 701A76CA for ; Thu, 12 Mar 2020 17:32:49 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 343D020738 for ; Thu, 12 Mar 2020 17:32:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chrisdown.name header.i=@chrisdown.name header.b="k+rsyxml" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 343D020738 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chrisdown.name Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 779996B006C; Thu, 12 Mar 2020 13:32:48 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 72A096B006E; Thu, 12 Mar 2020 13:32:48 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 63EBB6B0070; Thu, 12 Mar 2020 13:32:48 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0138.hostedemail.com [216.40.44.138]) by kanga.kvack.org (Postfix) with ESMTP id 4A29D6B006C for ; Thu, 12 Mar 2020 13:32:48 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id F1D1782499A8 for ; Thu, 12 Mar 2020 17:32:47 +0000 (UTC) X-FDA: 76587405174.14.step16_357eb3274fd2d X-Spam-Summary: 2,0,0,3cfbc4d4cc653a54,d41d8cd98f00b204,chris@chrisdown.name,,RULES_HIT:41:69:355:379:988:989:1260:1277:1312:1313:1314:1345:1516:1518:1519:1534:1538:1566:1593:1594:1595:1596:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3876:3877:5007:6114:6261:6642:6653:10004:10400:11026:11658:11914:12043:12291:12297:12438:12517:12519:12683:12895:13069:13311:13357:13439:13895:14110:14181:14394:14721:21080:21444:21451:21627,0,RBL:209.85.221.41:@chrisdown.name:.lbl8.mailshell.net-66.100.201.201 62.2.0.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: step16_357eb3274fd2d X-Filterd-Recvd-Size: 3141 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by imf46.hostedemail.com (Postfix) with ESMTP for ; Thu, 12 Mar 2020 17:32:47 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id d5so8226286wrc.2 for ; Thu, 12 Mar 2020 10:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=EMQBFUEliM01ip8eYZWL54ZvB7/WFqSxm3Itb84CtRE=; b=k+rsyxmleUdEKNf2d3kL7o7aiIxuTWtLn6o1bdXxge9PXpxV5wPfTKxhslPzkpG0Ar G5gSlzvijsb4gXxQfcmGRT1CfQ9MAD/nDqTxMBpLtubU80R8hfLmLGOjuZEo1pkWHAVw etC0c1ppz8Vikx3F9E4p63Pul+eZweVNu48ZM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=EMQBFUEliM01ip8eYZWL54ZvB7/WFqSxm3Itb84CtRE=; b=J8SrhS1JC9AsQ8WyP4wvxWwin+StUnXgpsQxXB5yh3KfBvEJCv/pLKTAWCr42e9WbD tWR54/NICzGCtCbQNtvZmMzVvXA3+G4eWboKcmkSrPrEbT/PhbPf8iZMULcQ5K3ko9pH 6H0Ppf48jWxe1xz/JnOYaX1cI1NS33tR7ZtcEFQGeumYRZA1gmxTslZ6n1fYYAiSfl7K 3mQ/rsUjUkFiLhGpcYNxfJkGnmQfu0NrDU8m77wUU3ftGsIvyb7RlJ4LS/mG6qayzZ9L kgEaHZFXrhNNyqW0bDhwQSHNRqBcV1nrAxRC/0xSzbtPurrEivR8K6p4JYduCsf5vB2T m5xg== X-Gm-Message-State: ANhLgQ1YYWNNKDqo19qVDvQY4RAqSdF12L8mxAhjNf3A5lUVW+2U+PLC 0NKOP5k4A+btDnOwWRHWt1zM2cJaLJPRIA== X-Google-Smtp-Source: ADFU+vt8M+ruZvYsAkNQLctYbvXMo4M+2Rv3wILfwgIvL/SQim+R4gGlI7lWWyLUelfDqApMTDzS9w== X-Received: by 2002:adf:bb81:: with SMTP id q1mr11942344wrg.110.1584034366244; Thu, 12 Mar 2020 10:32:46 -0700 (PDT) Received: from localhost ([89.32.122.5]) by smtp.gmail.com with ESMTPSA id o9sm78936300wrw.20.2020.03.12.10.32.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2020 10:32:45 -0700 (PDT) Date: Thu, 12 Mar 2020 17:32:45 +0000 From: Chris Down To: Andrew Morton Cc: Johannes Weiner , Tejun Heo , Roman Gushchin , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: [PATCH 0/6] mm, memcg: cgroup v2 tunable load/store tearing fixes Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Bogosity: Ham, tests=bogofilter, spamicity=0.000119, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Chris Down (6): mm, memcg: Prevent memory.high load/store tearing mm, memcg: Prevent memory.max load tearing mm, memcg: Prevent memory.low load/store tearing mm, memcg: Prevent memory.min load/store tearing mm, memcg: Prevent memory.swap.max load tearing mm, memcg: Prevent mem_cgroup_protected store tearing mm/memcontrol.c | 42 ++++++++++++++++++++++-------------------- mm/page_counter.c | 17 +++++++++++------ 2 files changed, 33 insertions(+), 26 deletions(-)