Message ID | 20240930221221.6981-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 70967CEB2C2 for <linux-mm@archiver.kernel.org>; Mon, 30 Sep 2024 22:12:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2081C280030; Mon, 30 Sep 2024 18:12:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1C7EC28002D; Mon, 30 Sep 2024 18:12:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DED26280032; Mon, 30 Sep 2024 18:12:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id B4B49280030 for <linux-mm@kvack.org>; Mon, 30 Sep 2024 18:12:27 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 710FD1C6343 for <linux-mm@kvack.org>; Mon, 30 Sep 2024 22:12:27 +0000 (UTC) X-FDA: 82622804334.05.A8D0001 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by imf21.hostedemail.com (Postfix) with ESMTP id 5E72B1C000D for <linux-mm@kvack.org>; Mon, 30 Sep 2024 22:12:25 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Q5xC+J2E; spf=pass (imf21.hostedemail.com: domain of kanchana.p.sridhar@intel.com designates 198.175.65.9 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=1727734220; 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=4ZvFEYjb4+kpHXSvCKzvbLq9flmxAdokIeO8YIFZvY2v2C6+49t0010ye+G+ieUSiGr+RV IPx+EW2ugyfMeqkO8jE55wIRm/z1Z5kljDRWe6hkGxNcWhv4GZZzXBPEIn/LcvA/WiZ/q5 ltZl9SPI/qdjsOfNAW/ZUr14KAxMjDs= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727734220; a=rsa-sha256; cv=none; b=cduEIHvf8mhsaEu/JEQppN1zXNcCg61FtNrnDoIbcvl/SNVvHkfDYm9ZxV1iodVI01o/3H h6K5EJhFGauPAiZpMGvDX5InxfFqK7qkwbxRH5RsKQxPfFpb/uSej5bShz00Zp8vC+hLsM +S0/TyOG040S0YnvB/FWVaA35hTnFAQ= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Q5xC+J2E; spf=pass (imf21.hostedemail.com: domain of kanchana.p.sridhar@intel.com designates 198.175.65.9 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=1727734346; x=1759270346; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HXPnxaS0BG2kkNkoIrCoeh8TspMXuNCwKniqdIZtWWM=; b=Q5xC+J2E0rNC09FnSv85nvD7c4ZAha3EcvWBW31upbIt2+QspW39catZ ZPVtcqQErzyAUyrFdqYteN9Ru/+yBIJVc+sUbIxLaRHphUzcDdOBQdbyK WkU1sAlRRfUCUk7jlkj3imjR1jpkIe944/buSQdJvQC6GZieM4anxtg8E SmYqg+dhfa7G0metFBDhS8yXpesgABLeDz2GnOb7RN/vVN681yw2I4FLs ymO1d19jPab+xVsrRvGM7sprmGpZXsZDPIB0nkerdxBlnV07g3H1NGA0Q 75TRbX14XunejG+pGav12Zu9DCWgfR/rPdrpiVAReRnbibJBKcUxVIcgV A==; X-CSE-ConnectionGUID: 6D5QE2nvTLClYzi5ojpPeA== X-CSE-MsgGUID: Tb2gaWDgRAuFv1pQDerwnA== X-IronPort-AV: E=McAfee;i="6700,10204,11211"; a="49368400" X-IronPort-AV: E=Sophos;i="6.11,166,1725346800"; d="scan'208";a="49368400" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2024 15:12:23 -0700 X-CSE-ConnectionGUID: W5E0QIJeR6SpPmgGvxsiuw== X-CSE-MsgGUID: myhOnlK6SsqNUZ7J0In4fQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,166,1725346800"; d="scan'208";a="77985572" Received: from jf5300-b11a338t.jf.intel.com ([10.242.51.6]) by fmviesa004.fm.intel.com with ESMTP; 30 Sep 2024 15:12:22 -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 v9 1/7] mm: Define obj_cgroup_get() if CONFIG_MEMCG is not defined. Date: Mon, 30 Sep 2024 15:12:15 -0700 Message-Id: <20240930221221.6981-2-kanchana.p.sridhar@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240930221221.6981-1-kanchana.p.sridhar@intel.com> References: <20240930221221.6981-1-kanchana.p.sridhar@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5E72B1C000D X-Stat-Signature: qf5b7cjeygu6h1x6rgq7s1ngrcpcfn4g X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1727734345-972545 X-HE-Meta: U2FsdGVkX19scKtUhuozdwb7Z0OLyoU1w3BRlqFY/MA+J23pW9UBabrqwtJPOXNr57ZM5wENzRou/ppPwEubDt3SMsyebo0v0jMm8NrCXgASwszC2CkvcIrVUJpC14edDRy3B19Hcuf4e0V5QY8XJ6t/ximmVJbyK6qr7OoGSuXLgcq9OeoMcKACOYGw0U7Ea+NWJClP/ua1c18g2kfo36QrKedRn9iRhoGatXlP68MKcbiC1lmyGoPabJBtrhBGb7J9+jSASKu3vTgqaC185j0otY1Jqp+diaX3Zs8klHnnZNi8FbSiZyb8gVTuPCk3dzbi/DXggQ2q1KYefdXOMBK1Yyj6FYJzqpZtw/jltqtF8xtiD4dusuecI8REJ2c+1FUH9dRUEDiYXuPGWMTTz8pUjKd8R7s92kwyv+BQMUS9osifbkLEuch58lwpkLr8qrbVvlGbNSn30ZtE+6pSruoiLQoMiwJ9ZjaFmxWCr2gi9QTg5Btp2N3Co8kK8zgBO+JjUfm010wk6lCKljRpOFnnUXVhO2Xta3orhUXvSuQPs0mkhgIXoeqxjcUuneFzipw2/VbF0TGcJ0ewstuoazMFIAcnT5BJwHsbWvG2xZglHJIgyvss2B0KOdHpSkDMLnYd1Eq7xjN8ovZOyv2CLoNjfuQ5Az857ksqC9gjcnwiv2j7KDMQlKyUvlN+nw3adaVeDBPiMfUEXX2Oeb6aQ+VWCcnX1zfCNCbS/Ol5fYYjUHVeyjGIAtS//TwK/3oXXhU0NB30Vss2jOIEhM+0TO9TNmIjyvaAoul8LYU+mFq9J/vzCFGo7oXnKU+oohlEUeoukBjBDVyXRdJb9aCKmzLJxourhwcv4pFMDovyLXq3TIpVj/Yn7S0ULDBkxZEDA40P3QcWwabts/rzbiMf8P6Tc4pd93h7NjJlaoOSPmBh90ifLlCDEgVsBZupoNJSkkjZs8eCVvV+XtORylI QA/MzryI l1fihiKsA4k2G9dBOacj67D8Y6MdK9l2GdKwTHDIYrWSjNKBHxqxXE9RbLkhAkHKPT0Zip7U3JIpxOVwvTzW1h+8xKIm7twVo3T9lguyWJqQwacZYy8qxBFSaUCFCqtQyKlzX67pZ6jaDLJSvGD577terSYkdYFBm0/RUHymWZC7rwNBwPCakcix3fwsSUv+yelbFyZuZzfy2ijSJNQs0OehIAMtGrdQcliMs6eKmoq52v/7R4xjuKBj1JenAOnIO5/tsS4bfO54hMuMoVexJ4hxCA4nO8VVivnUdbkzLxvUPpEpApA7dGesS02c+1ndmYfx85H0KvWz081s= 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) { }