Message ID | 20241206013512.2883617-1-chenridong@huaweicloud.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0ACE0E7716E for <linux-mm@archiver.kernel.org>; Fri, 6 Dec 2024 01:45:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 46DE56B0155; Thu, 5 Dec 2024 20:45:12 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3CA7F6B0152; Thu, 5 Dec 2024 20:45:12 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 277506B0153; Thu, 5 Dec 2024 20:45:12 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 0A8DB6B014D for <linux-mm@kvack.org>; Thu, 5 Dec 2024 20:45:12 -0500 (EST) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id A3A901616ED for <linux-mm@kvack.org>; Fri, 6 Dec 2024 01:45:11 +0000 (UTC) X-FDA: 82862840466.19.EF3D88D Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by imf07.hostedemail.com (Postfix) with ESMTP id 9947B4001E for <linux-mm@kvack.org>; Fri, 6 Dec 2024 01:44:52 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=none; spf=pass (imf07.hostedemail.com: domain of chenridong@huaweicloud.com designates 45.249.212.51 as permitted sender) smtp.mailfrom=chenridong@huaweicloud.com; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1733449502; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=jEFHapzBVcpqcc2a7B4BI5Rkznm5F4v3q4jKP9zk1Kw=; b=xJpIQYAHWvc9nKpFZ6UIxXhcmTONLWyAIN1Z6B8xkvZNNeXHaoUmXkuJkFN3lKuXbBAxE3 h235mJRqOqSx3cuTt1+xPh3232vPdQscenoR+bWlUx8bKNPtltaJnXe0G0uI8w54lW0wty l2tRyfoX+bv3aj5EuNgFKde6p4EZLH0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1733449502; a=rsa-sha256; cv=none; b=lmVkuFdIeGPrHOWXDQPQVWTzOp7rvEGxJtHksw/Nqe/ZqqXdMR9U79Os8rxPHHzoRxi7OX kPQVCeHTWNX3SLbTUTuLnEEVHDONdpzZ6+xi+yXhXEBAhCKEtxri+K+uZyJrNbeXGhquMx rz0u3kQuiVgo1z7GzILCJUFLhi1lFII= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=none; spf=pass (imf07.hostedemail.com: domain of chenridong@huaweicloud.com designates 45.249.212.51 as permitted sender) smtp.mailfrom=chenridong@huaweicloud.com; dmarc=none Received: from mail.maildlp.com (unknown [172.19.93.142]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4Y4Db42Wsmz4f3jkc for <linux-mm@kvack.org>; Fri, 6 Dec 2024 09:44:48 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.128]) by mail.maildlp.com (Postfix) with ESMTP id 66D9E1A018D for <linux-mm@kvack.org>; Fri, 6 Dec 2024 09:45:02 +0800 (CST) Received: from hulk-vt.huawei.com (unknown [10.67.174.121]) by APP4 (Coremail) with SMTP id gCh0CgD30oYKV1JnkkskDw--.31315S2; Fri, 06 Dec 2024 09:45:02 +0800 (CST) From: Chen Ridong <chenridong@huaweicloud.com> To: akpm@linux-foundation.org, mhocko@kernel.org, hannes@cmpxchg.org, yosryahmed@google.com, roman.gushchin@linux.dev, shakeel.butt@linux.dev, muchun.song@linux.dev, davidf@vimeo.com, vbabka@suse.cz Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, chenridong@huawei.com, wangweiyang2@huawei.com Subject: [next -v1 0/5] Some cleanup for memcg Date: Fri, 6 Dec 2024 01:35:07 +0000 Message-Id: <20241206013512.2883617-1-chenridong@huaweicloud.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgD30oYKV1JnkkskDw--.31315S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY-7kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4 x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG 64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE14v26r 1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwACI402YVCY1x02628v n2kIc2xKxwCF04k20xvY0x0EwIxGrwCF54CYxVCY1x0262kKe7AKxVWUtVW8ZwCFx2IqxV CFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r10 6r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxV WUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG 6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr 1UYxBIdaVFxhVjvjDU0xZFpf9x07UQzVbUUUUU= X-CM-SenderInfo: hfkh02xlgr0w46kxt4xhlfz01xgou0bp/ X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 9947B4001E X-Stat-Signature: j8mf7jch4ieu4ssqny5hxaf7xoq4yuh6 X-Rspam-User: X-HE-Tag: 1733449492-151047 X-HE-Meta: U2FsdGVkX1+at7GDOhqm9zaQDCKCSb73a6g35agdSHFALDodNMnZ23dyF1Ney92TJayWYSsEsbuS7W9dC45vhSF8NFtaiux1TGV7Gui1eh8Rydp3GKDkUBFZZ30Lw/rLXfqV+gJnxXCMxtDC9Ltpj1r+kvphN4QTEytjoav6GQmfduuv9ggktDvSmqEt4hBxGdbFFcPz25cog0DmL94RwcZENBhxdPfii1YfWKtgOja8FSWg9AtJVVRSxvXL7uk87kIGxGWSdv2N+qYP2hAX7cMFwiNmcLFeQwQeS7wm4qjvA35HkUNFEmmpM1Ub14Haewlnlq+RGXBvUhgGorv1pWstluRMzNGCT0NVN3uLch7xDIj62FOPz/It9trBGb/SKUXaFOdh6O9V1lxXw1BRkorh3XoRKlsVD96vanTHDk5g98U63lvN8i753LBTU9nYdhk3WzvZ8hq/5biIGIJt+C8X6MWv+Y5R4ez1ACS0lkKUJ1RD2woFrrIsJ3p+M6hZZv/WDr6QFen22c4SS6D91AAZ3TWySA/B0fYImzGVj7nT6CKsPwSo44lqGkhvneDwoPzptaisCe9tHXNcgl/UR3JzRzEw1ZlSM7e0gDGMULA23noqc8u4TYFYKnQeoR3X8sBmDtHS4DK2AfNv8CRPTd/ErdC3K7dT5gWpFTa2HwcHay4xgfG9U2mtWiAqlfQfQws3c28ULFGUio/UBCcIV4HfiDkzb34TKeFsjIzueH98HTXuW8XPtez47hoBLjJQMKUh+R1Sr00rPL02zrWqaNg432HTBlIcWtbU5IHSVQ2C+AFZvZb1qVIZ3xsjEad0OxkHMEuiLw6TdOoNTOz2Wkd2Qet+qr92ruGTcu5fikUC+CKTN1hVtphpS3MFs41pc7wRzL8Ph5ws11DhbyoyokUdmEE47RW4j856R0q2ulfOdr1WkP5iTlKHFD7Bbr2mPiJxCQauhCszk3Wi0DC B/J5H/n+ 4Ku4ckg/dvsT1osVB20MZI/FOPddxX5vpMncl5vgnJHWftH/umYB5ecRso3azkzQvCXU6e/4pXLtOfVMrQ6Eja4e+tQerdFI+zgnTCJLOvTJ/kX7B+pNlwJra/jYd8Z7PYMcz 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Some cleanup for memcg
|
expand
|
On 2024/12/6 9:35, Chen Ridong wrote: > From: Chen Ridong <chenridong@huawei.com> > > > Chen Ridong (5): > memcg: use OFP_PEAK_UNSET instead of -1 > memcg: call the free function when allocation of pn fails > memcg: simplify the mem_cgroup_update_lru_size function > memcg: factor out the __refill_obj_stock function > memcg: factor out stat(event)/stat_local(event_local) reading > functions > > mm/memcontrol.c | 140 ++++++++++++++++++++++-------------------------- > 1 file changed, 63 insertions(+), 77 deletions(-) > Friendly ping. I am looking forward to having someone review these patches, with the exception of patch 3. I will drop patch 3(NAK by YU) in the next version. Best regards, Ridong
From: Chen Ridong <chenridong@huawei.com> Chen Ridong (5): memcg: use OFP_PEAK_UNSET instead of -1 memcg: call the free function when allocation of pn fails memcg: simplify the mem_cgroup_update_lru_size function memcg: factor out the __refill_obj_stock function memcg: factor out stat(event)/stat_local(event_local) reading functions mm/memcontrol.c | 140 ++++++++++++++++++++++-------------------------- 1 file changed, 63 insertions(+), 77 deletions(-)