From patchwork Fri Oct 1 19:09:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Waiman Long X-Patchwork-Id: 12531625 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F02BEC433EF for ; Fri, 1 Oct 2021 19:10:17 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7151D6137A for ; Fri, 1 Oct 2021 19:10:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7151D6137A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 10A8094013D; Fri, 1 Oct 2021 15:10:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0BA17940121; Fri, 1 Oct 2021 15:10:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EED4694013D; Fri, 1 Oct 2021 15:10:16 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0123.hostedemail.com [216.40.44.123]) by kanga.kvack.org (Postfix) with ESMTP id E0750940121 for ; Fri, 1 Oct 2021 15:10:16 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id A083A1836C62E for ; Fri, 1 Oct 2021 19:10:16 +0000 (UTC) X-FDA: 78648809232.27.3045632 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf08.hostedemail.com (Postfix) with ESMTP id 22E863002503 for ; Fri, 1 Oct 2021 19:10:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633115415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=pz0wmXCAvE18wwAJ1895fO0ypCJsx+A6451tOW6KYDw=; b=hgINSBWioI3LDaYBVcahteKMR2/HxSLwY210rtkWc0H4ErvWGCXKf4pNWnW7/1AEanc9LB YgH5XOjYbMdfDyGFn0xsi+lKTezd3wtoPtJEkLwafksG+yFpsjpZ6M/SsH88Y+K+QHPD60 80xEQQqXMa2V6o5kiBEH9EzqdffBRh0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-496-QGudS05OPlKGxLcJjEBuEw-1; Fri, 01 Oct 2021 15:10:14 -0400 X-MC-Unique: QGudS05OPlKGxLcJjEBuEw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2EB6F107B0F3; Fri, 1 Oct 2021 19:10:12 +0000 (UTC) Received: from llong.com (unknown [10.22.33.73]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5B8DE652A4; Fri, 1 Oct 2021 19:10:04 +0000 (UTC) From: Waiman Long To: Johannes Weiner , Michal Hocko , Vladimir Davydov , Andrew Morton , Vlastimil Babka , Roman Gushchin Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-mm@kvack.org, Shakeel Butt , Muchun Song , Waiman Long Subject: [PATCH 0/3] mm, memcg: Miscellaneous cleanups Date: Fri, 1 Oct 2021 15:09:35 -0400 Message-Id: <20211001190938.14050-1-longman@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=hgINSBWi; spf=none (imf08.hostedemail.com: domain of longman@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=longman@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 22E863002503 X-Stat-Signature: 7zkxbjzgscwg3dj1kp8had7hamn84gp1 X-HE-Tag: 1633115415-699232 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: This patch series contains a number of miscellaneous cleanup for memcg. It is based on the next-20211001 branch. Waiman Long (3): mm, memcg: Don't put offlined memcg into local stock mm, memcg: Remove obsolete memcg_free_kmem() mm, memcg: Ensure valid memcg from objcg within a RCU critical section mm/memcontrol.c | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-)