Message ID | 20241001053222.6944-2-kanchana.p.sridhar@intel.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 A902ECEB2FD for <linux-mm@archiver.kernel.org>; Tue, 1 Oct 2024 05:37:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 51F346B00BB; Tue, 1 Oct 2024 01:37:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4CEDD6B00C4; Tue, 1 Oct 2024 01:37:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 396186B00C5; Tue, 1 Oct 2024 01:37:12 -0400 (EDT) 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 1C59C6B00BB for <linux-mm@kvack.org>; Tue, 1 Oct 2024 01:37:12 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id BB234AC2EC for <linux-mm@kvack.org>; Tue, 1 Oct 2024 05:37:11 +0000 (UTC) X-FDA: 82623925062.15.027A75A Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by imf20.hostedemail.com (Postfix) with ESMTP id AB1481C0008 for <linux-mm@kvack.org>; Tue, 1 Oct 2024 05:37:09 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=PdAW3Ghn; spf=pass (imf20.hostedemail.com: domain of kanchana.p.sridhar@intel.com designates 192.198.163.11 as permitted sender) smtp.mailfrom=kanchana.p.sridhar@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1727760902; 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:in-reply-to:references:references:dkim-signature; bh=gZv4LykG9QLKvMczgn2ESTNiDzzsQysM39q/qNvh7tc=; b=L9KRv5cYIpcHGga9B5CG3FI9yK0N0fFQS7z31pN87vaMZrQOW7JyJfFjpnaWSo+A63NAbi 4LjdHKe9SQxyEp/RAuDarXj4Tct3FUjGh+7tSzBGKotZN8E1J8GaleD8sINYXw5FY7Vjz5 nNKx7xemx3c85i/4a2q6M05+C0mYJEY= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727760902; a=rsa-sha256; cv=none; b=e1CeHpkpSUkfV0X+nZAEUpIDOYtMdpbVp2QySCNYWSXhGy4gLEai3p5pkEWFUtMcyucYei OxKo2b7MyzGJEtOuY7Hg6Hu31uJzNA4CCNuABLQBFRbECl5B+nq+OvLgJIgR5HAjad8Dyw D7jXjKefK1fTypcdNmAcWTTCNCZCzik= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=PdAW3Ghn; spf=pass (imf20.hostedemail.com: domain of kanchana.p.sridhar@intel.com designates 192.198.163.11 as permitted sender) smtp.mailfrom=kanchana.p.sridhar@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727761030; x=1759297030; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HXPnxaS0BG2kkNkoIrCoeh8TspMXuNCwKniqdIZtWWM=; b=PdAW3GhnOLvk2XPIf6D6k5j/YPsAoY/BoZfnjgLktOZ/Y5veBu1w7xZo zn0ezpMWLj9ZRwMT2kYbIXScKjCXuL4/VhAl8SMz/f3nkGmjkOP5hhRHG Rvwg8l+DmwMmPOkeUl6iB4rjHt9GaHedxnKddF1xN/i+mBeGPFflfNl9S +IvubEDDbK+ENkYwdgaBOBvcX6nqffD9NT17iDdWzFO3mVJHSjJTYzoZz 5CPnArL299fZAQnqLRWU7U+EtyGBVl3aUQEo+ReUcmzn6148qahD9RBgt hi8mbU3bdjga1i8uIA6Oq3TbbvfPfb7E1WIFp/EGOpBtAW0s1JToQg76g w==; X-CSE-ConnectionGUID: KDPDi6kKSlKOQritbz2PCQ== X-CSE-MsgGUID: HX+Oz8ejRsmvp07QIEWGcg== X-IronPort-AV: E=McAfee;i="6700,10204,11211"; a="37465068" X-IronPort-AV: E=Sophos;i="6.11,167,1725346800"; d="scan'208";a="37465068" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2024 22:32:23 -0700 X-CSE-ConnectionGUID: 5FyCjXUQQY2zJJxclxHnuw== X-CSE-MsgGUID: 4DdRtYD0TvK3eIsp+yhRmA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,167,1725346800"; d="scan'208";a="73205793" Received: from jf5300-b11a338t.jf.intel.com ([10.242.51.6]) by fmviesa007.fm.intel.com with ESMTP; 30 Sep 2024 22:32:23 -0700 From: Kanchana P Sridhar <kanchana.p.sridhar@intel.com> To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, hannes@cmpxchg.org, yosryahmed@google.com, nphamcs@gmail.com, chengming.zhou@linux.dev, usamaarif642@gmail.com, shakeel.butt@linux.dev, ryan.roberts@arm.com, ying.huang@intel.com, 21cnbao@gmail.com, akpm@linux-foundation.org, willy@infradead.org Cc: nanhai.zou@intel.com, wajdi.k.feghali@intel.com, vinodh.gopal@intel.com, kanchana.p.sridhar@intel.com Subject: [PATCH v10 1/7] mm: Define obj_cgroup_get() if CONFIG_MEMCG is not defined. Date: Mon, 30 Sep 2024 22:32:16 -0700 Message-Id: <20241001053222.6944-2-kanchana.p.sridhar@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20241001053222.6944-1-kanchana.p.sridhar@intel.com> References: <20241001053222.6944-1-kanchana.p.sridhar@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Stat-Signature: a4x5tga7byntsc79n53rzhy61nis8t33 X-Rspamd-Queue-Id: AB1481C0008 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1727761029-149368 X-HE-Meta: U2FsdGVkX1/8qQuIwq8MDDvsuzAFevmdWEFUt6W05NfphI2VWZxEI1ugxY0lSLy8aq+py/EJS//s0ukFkLO/ooWOB/v0kt4RykSGi/Q9dKFq8jCRCsSKJHJhu3igQg9YYo5dDP8Oi3mLevCdX2NVXHJj456qWuj6atZ5sWQYz4klyCUl//wUqhfpvC4xgJB4FCxbzl/uCDTFd1wwwO40dYO6BCK9ka2pL9jbs5F9KrNVjcKJM1n/7YM1LXNOAU7YwtbNsf+jwpUJPIrMf1DTlc+5U+tKFHDUXI6A0zGl4OaVJUvEg/AgTCcqpSiphQcna746AUrlShJOWnwGTLMDRL/5rjHuyC5hLvR2i0vV0jNuzyfmDSsjWEzfd5hJ3lelCjaBa0PGa0OeYSix0+qYOB67iRO1FxUfZOVBvJM9eE978uAoBKWQK86vkcKComtuStwFK9gHEeApBOWrb3r6JdE788gTBIqrpU2Zl9Y4TSfn+8UUleqtl34c1owqVxw3oSm0KAicb9PqfIPnIhVya/QA4bYJjPtvwB3TPVljLPmeV2G2uA2FTNSZ/GZrSirMmFnp3Vgo8RkvK+73dVEAoPatq/qvZrIqMhgJOjweFaf1FietO56jxgceqZz5N83NU6r4c3dyR1ahZS5b1WVebGySmQCCvg9qTZ4rQOVxxXIzUJButkLpmy5ZG2r06B2bmqkPX9f5JJSxiFcSWbA/L5TemUHyKzcCF6WaMPplldUyMa8hWjPi1ZIlRnuxQu66qn68NC46xVEkzapGz2YYAt5vTFYcnPScS+5gwhIoktZ2Cw9FAu9pYR15CT2RdMaZ3zL0Lu4frfibK1eXdYNqpJIwheEX1QWU5Lkv2UNtBoJ9TRNuBXsmaAlT+i1QNMHvfuELu/h/ZdMi2C5XZxrVArh4JlV2W6jLn9FoQvXpizSofZzVAwBkMcfnxm0yBX0P+BHCCY5VGOhts0tGDPv 0wuPWEhZ WJpmNakZjWbD3wlCvBdn6tEPcbK772e+BmwnKGcWPfPoEXbYPmswuJDnDSDE3DZvmjIkUlarKYa14HyAlfCCQjY6TAmxaud39sgLtIf192vJEZi83eLiAbKT/MWlBGfGC6szUnw91C1RzwMUZp4Y1h5SpefRIX61CwFJfBvEI/zBYco3j0kASqk2KfCZmj7seGbpUdXNZ5KUYo0bis7OIxBUR3ydp58LaG2xIpVIsEAqa1iA234WURoHSpLdhaDXZfrUAdZmL0O68k2lETCL1CBU0TvBfA51hkydTGwmus9ec8yejNUcT7CcujlSjKDEsWwxbUUkDFABDmkOF+6GdKj7dpQ== 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 |
mm: zswap swap-out of large folios
|
expand
|
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 34d2da05f2f1..15c2716f9aa3 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h @@ -1282,6 +1282,10 @@ struct mem_cgroup *mem_cgroup_from_css(struct cgroup_subsys_state *css) return NULL; } +static inline void obj_cgroup_get(struct obj_cgroup *objcg) +{ +} + static inline void obj_cgroup_put(struct obj_cgroup *objcg) { }