Message ID | 20240229142645.1327831-1-xiongwei.song@windriver.com (mailing list archive) |
---|---|
State | New |
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 E8C2AC48BF6 for <linux-mm@archiver.kernel.org>; Thu, 29 Feb 2024 14:27:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 47F4C6B0081; Thu, 29 Feb 2024 09:27:50 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 408446B0085; Thu, 29 Feb 2024 09:27:50 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 280DA6B008A; Thu, 29 Feb 2024 09:27:50 -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 11B886B0081 for <linux-mm@kvack.org>; Thu, 29 Feb 2024 09:27:50 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id D107C1211A4 for <linux-mm@kvack.org>; Thu, 29 Feb 2024 14:27:49 +0000 (UTC) X-FDA: 81845070258.03.D056072 Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by imf12.hostedemail.com (Postfix) with ESMTP id D8B1D4000D for <linux-mm@kvack.org>; Thu, 29 Feb 2024 14:27:42 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=windriver.com header.s=PPS06212021 header.b=N9HAaphI; dmarc=pass (policy=reject) header.from=windriver.com; spf=temperror (imf12.hostedemail.com: error in processing during lookup of "prvs=3789080fb5=xiongwei.song@windriver.com": DNS error) smtp.mailfrom="prvs=3789080fb5=xiongwei.song@windriver.com" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1709216868; 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-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=iMT0T/W+zs5+Tu56Ymjfxu47bpyn0rsYQx9F9q5csnI=; b=SIIXXhl9IQ0vJBK9W0oHYeGlaVF0jujcK3Y8sN55Av4ZMfVvM55uJrizJbuZeuqGoiawtb aQLysb2g8kCTrOJjp4HmeMSsuKp7tGPapetut/peBzWc7yTvX1U1CC0hD7Ms5khlhw0Blt CYJ66YwiAYqQlQttcKjcVyGQ3SScn/I= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=windriver.com header.s=PPS06212021 header.b=N9HAaphI; dmarc=pass (policy=reject) header.from=windriver.com; spf=temperror (imf12.hostedemail.com: error in processing during lookup of "prvs=3789080fb5=xiongwei.song@windriver.com": DNS error) smtp.mailfrom="prvs=3789080fb5=xiongwei.song@windriver.com" ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1709216868; a=rsa-sha256; cv=none; b=8QfNlBaTjBQXjVSK3Fb3waoFBFJYu770dDAbbU55qf5Jrp76W7g1snqi6O9ZG6A7bKZqb7 yyvuD3F6haDZvMpa3Rx05KGYWQKYw6b/Zjg1wHSgj6GC9fskg7URIYwo4hS4e96L1b1Bbr qK754pQSTmjRXwf65lPOyQmL9T/zSLE= Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41T7d3Kq031219; Thu, 29 Feb 2024 14:26:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=PPS06212021; bh=iMT0T /W+zs5+Tu56Ymjfxu47bpyn0rsYQx9F9q5csnI=; b=N9HAaphIp7F7LWnC0Ke9X pkdIERiLbfl3O89+8amdpk0bEQ1Gn57ObzEQ56jIcfsfWaXU6bXj5iDUv4G5idKZ BGWY1VQvppNQXt8qGD9qLSfcxIozuM1uB9kVTJ0hAwzxixG9JQUX7mZA4J9662mh O5CLDKtZNj4san65b2/s2ZINkAaTEJFXH2aUzgzxKSSE82wxhahC6nGy5IRZfo1V 50NZGMmIWK89ZFEbbZrEe6fbUdWdr9/qdDsVIMtdGwY/V09coXTQTyqeB0zrExMK /REeVyD4EskUW8IVWDbIBSJuS864DgY9pcyZszbhXg/6NCrvhFaB9TEO0ak4HgyD A== Received: from ala-exchng01.corp.ad.wrs.com (ala-exchng01.wrs.com [147.11.82.252]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 3wf5nx5jtq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 29 Feb 2024 14:26:57 +0000 (GMT) Received: from ala-exchng01.corp.ad.wrs.com (147.11.82.252) by ala-exchng01.corp.ad.wrs.com (147.11.82.252) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 29 Feb 2024 06:26:56 -0800 Received: from pek-lpd-ccm6.wrs.com (147.11.1.11) by ala-exchng01.corp.ad.wrs.com (147.11.82.252) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Thu, 29 Feb 2024 06:26:52 -0800 From: Xiongwei Song <xiongwei.song@windriver.com> To: <longman@redhat.com>, <lizefan.x@bytedance.com>, <tj@kernel.org>, <hannes@cmpxchg.org>, <corbet@lwn.net> CC: <vbabka@suse.cz>, <yosryahmed@google.com>, <rostedt@goodmis.org>, <cl@linux.com>, <chengming.zhou@linux.dev>, <zhengyejian1@huawei.com>, <cgroups@vger.kernel.org>, <linux-mm@kvack.org>, <linux-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH RESEND 1/2] cgroup/cpuset: Remove cpuset_do_slab_mem_spread() Date: Thu, 29 Feb 2024 22:26:44 +0800 Message-ID: <20240229142645.1327831-1-xiongwei.song@windriver.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: RTU9lNN_H_WsqePD3YmqpxzzdWiWbidU X-Proofpoint-ORIG-GUID: RTU9lNN_H_WsqePD3YmqpxzzdWiWbidU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-29_02,2024-02-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxlogscore=999 malwarescore=0 priorityscore=1501 impostorscore=0 bulkscore=0 suspectscore=0 spamscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402290111 X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: D8B1D4000D X-Stat-Signature: uc3kfzc8xpfn799bfdz417dem9ua95fh X-Rspam-User: X-HE-Tag: 1709216862-673813 X-HE-Meta: U2FsdGVkX1+jym6+FvtlmvP28Po2Is9MCZW9KkWdLT1kkTz+UFgeYoX9aRHdd5HVofOr3TEI1t5YI+G11j9J47VW/4GuSg2k+zjiyFm83SbSEYxpTo7mZRBfN8LrbUs0VpVQ+ynaP3TAk4kV5tTdZLs/CznxvlGwt45TuX/HM1mPgRNxJoB/I4fILbjSY42cUleGWYaSs+RaM15ZhJkbyMame+a/rkT8h86K+gsEp2oQMsECfr7cz2DRC6ZFB/EO1rq2T+nlrqXuQaUWjmH0iTXXoPMcFcBpy3YEH102qlA6tSYhhxdK+Hq3cj/DssaTSEsyvBRAiY+/f5c2qIYapOYfiEwBmbAeNkfgKWvxtJ//0pk1My4DHH9ug5b33JpSvH1QlRhs1/O+AnRmFef26GQNPZn0KqfhLzo4M0DQk0tG3Dzm8N0qa+7H02ZeR5JkbWk/huUUNxQD6ffCK/Sve7qMREMUvMLDlWUJFsOOGnXgeVVzjP1t076WVx4MHpsdp5XfGq8IK+9WfZUVXd2EXN1WpqQAqHM7RtEMN5/QF2iNQBdArYa+JOA5rEg9+ckG5gwSMtsArRPcjYEptREcIQaQbPpoI/RWP6XSk2nSjFFwVWrmViJhkVkIKVyGc/hHd4nZyNjyL/gJXy0X7c8joTnm/hKHTZLZQf4Eq2syRe3dM00iAQ+Oi0V3jcqNnZvsk2P7fEZ6wkYsPRGPvive9rsGWEYOPncsipWsrSdwALNT3P5sO9bM0VdfwUAORLenoelVBPMs31MX/mz/vlVbL0DACiFrsg4PfLnLEAuvjkIZ0LS7pPOnocrmowpZN3yduVhZ0lSxyYy3oKoS8T8THcKrULUwzQz/RL2rACiy1gFvFhvsJucD1IYjt5mkUdo3Z4mxLbCtThnr8E47GDViO7fhFj1HDUZGv5suBhEzgnsu3DBIKIVkviBHa14C0Di8i082OciIwUjUuzTPP5W HGA3Jx6V GE6FHnOsV6Ha/l6YCRYc8u9yEA55kv4ASo6Iw6xIIJQKrGVNVAVEgvmgqRiSbUqEkygAaUkGMszrJwVsYtFVnH0nUAZ8v65F34HEV 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 |
[RESEND,1/2] cgroup/cpuset: Remove cpuset_do_slab_mem_spread()
|
expand
|
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index 875d12598bd2..0ce6ff0d9c9a 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h @@ -121,11 +121,6 @@ static inline int cpuset_do_page_mem_spread(void) return task_spread_page(current); } -static inline int cpuset_do_slab_mem_spread(void) -{ - return task_spread_slab(current); -} - extern bool current_cpuset_is_being_rebound(void); extern void rebuild_sched_domains(void); @@ -264,11 +259,6 @@ static inline int cpuset_do_page_mem_spread(void) return 0; } -static inline int cpuset_do_slab_mem_spread(void) -{ - return 0; -} - static inline bool current_cpuset_is_being_rebound(void) { return false;
The SLAB allocator has been removed sine 6.8-rc1 [1], so there is no user with SLAB_MEM_SPREAD and cpuset_do_slab_mem_spread(). Then SLAB_MEM_SPREAD is marked as unused by [2]. Here we can remove cpuset_do_slab_mem_spread(). For more details, please check [3]. [1] https://lore.kernel.org/linux-mm/20231120-slab-remove-slab-v2-0-9c9c70177183@suse.cz/ [2] https://lore.kernel.org/linux-kernel/20240223-slab-cleanup-flags-v2-0-02f1753e8303@suse.cz/T/ [3] https://lore.kernel.org/lkml/32bc1403-49da-445a-8c00-9686a3b0d6a3@redhat.com/T/#mf14b838c5e0e77f4756d436bac3d8c0447ea4350 Signed-off-by: Xiongwei Song <xiongwei.song@windriver.com> --- Sorry, I made a mistake with linux-mm list. Correct linux-mmc to linux-mm. --- --- include/linux/cpuset.h | 10 ---------- 1 file changed, 10 deletions(-)