From patchwork Sat Apr 6 21:40:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suren Baghdasaryan X-Patchwork-Id: 13619930 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1012AC67861 for ; Sat, 6 Apr 2024 21:40:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1CF666B007B; Sat, 6 Apr 2024 17:40:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 17FB26B0083; Sat, 6 Apr 2024 17:40:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 046996B0085; Sat, 6 Apr 2024 17:40:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id DB93D6B007B for ; Sat, 6 Apr 2024 17:40:50 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 71E1E16067E for ; Sat, 6 Apr 2024 21:40:50 +0000 (UTC) X-FDA: 81980427060.06.6501721 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.201]) by imf06.hostedemail.com (Postfix) with ESMTP id BC8D1180013 for ; Sat, 6 Apr 2024 21:40:48 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=CsEInWg3; spf=pass (imf06.hostedemail.com: domain of 3X8ERZgYKCGAQSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com designates 209.85.214.201 as permitted sender) smtp.mailfrom=3X8ERZgYKCGAQSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1712439648; 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:in-reply-to: references:dkim-signature; bh=gzw1CQLzEz+aDfQzLSCkUXr+Fy/FJWggtvJK4Br2lok=; b=0tI38mDi/nXUyMnrFUb8ssB0nDE1RmyUjs2RjZTVAd1rXjbsr4zHnegX5HgNgsCuqa4gcO zFghBNBLV7o00l5JRaf5AkaG5pPZXmTbAClA2WJMIroN0bhEAknU/5b9OrRd2JQVzVLVBO f4c3mH5fqBeH6r7ROGVf8PKzyKp+KBE= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1712439648; a=rsa-sha256; cv=none; b=sSt+39lWeZtMR6UAXZr4KIbjYqwmT3S5CDmpvkJVjROdPIZHF52PJcV07WRVbm11OsNH7X oTXExNs2+4DMiOvycE1q486AoBsDIQp5O5yAQOKNASLozHyE7oOyo9Ya0xRsOhtcMW9XR+ Xq6ALbaqjdDWILlEWLFZiKxo04XBdEg= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=CsEInWg3; spf=pass (imf06.hostedemail.com: domain of 3X8ERZgYKCGAQSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com designates 209.85.214.201 as permitted sender) smtp.mailfrom=3X8ERZgYKCGAQSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-1e0c070b660so27897665ad.2 for ; Sat, 06 Apr 2024 14:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712439647; x=1713044447; darn=kvack.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=gzw1CQLzEz+aDfQzLSCkUXr+Fy/FJWggtvJK4Br2lok=; b=CsEInWg3g4t5iLg4/LWbJV3S+guL0B4sYCdBUS2RczWwm+cUTIQE6EXXHHd16JqQ9d clmKDGBCZuGyo//ynHUb45IHpWHEPvBW1puMqOmOMoVzG4K4bmYHdxXMyuarq7XckATb boRxc1lhu0YN5RJfTjrRCNRtc0fjOINlXfFgN7Y2Xw5D3A6uSoqokBVg/NkazPJwnhMR 8i34iyAYv6x/zE9Fx3Ve1hTYTjzTwW9acdd0CJ9EQAWOp5xjF6Feg0zOZBGG3mHj+0mD ozO9O4N//QDpUnq6Hv2WDyymAI03H6hjDQ+uAubkmmKKlMwg+Dxls78LzXXREX7gTnFz 7TcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712439647; x=1713044447; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gzw1CQLzEz+aDfQzLSCkUXr+Fy/FJWggtvJK4Br2lok=; b=rbEw5g0rCNkdpVdvolK/MfKHwhcRSi4yo5rYkh4ugR7Sdy1wKaoGyxLtF0F7ZewAYE QELL6mcgKbsl8V4AFZksim2tffP/Mu8q9QOnbUJwVZkqlNxcxn/b8t98BuTxU84QSmnk J+OqSNedelM0lC7RHS3Vt+oueeS24OimdPOmjtgsNzQlYb+Un9e6L0uR9N9EykGHqJHD /W7gj8z2UyfRhkJm7WUj1ZOKznY5HAgmCaVqgFE85RvjcuwVhOr1l+hrEGzJhDKEoSEh tzjRV21rLvZkc3ALrAgpXdR2UNz+vxLolP6Qp+0Rmmeyr2cPbheAlH7TV9ahpVE8Z7Sf IdEA== X-Forwarded-Encrypted: i=1; AJvYcCVSQsQ0PySjywGSrQK7XCCHnPc+9Uh5pViNFz8bt9QjMqCarBrb36LltWQ0o2GCauMC0xB9HTd5GK3hoZ0nj/rJ3X4= X-Gm-Message-State: AOJu0YzEC9cKV00ZAuT0HlCq/HSq6prD4Yqxe18ap+8tCCmxzPnjW1NA 55Es61iF4b2dFYjFZaJHxLvJqcxB2L9j4BTIuGfvAPj068sqDcjapEycwoRzmy63ESPawCBwrcE RWA== X-Google-Smtp-Source: AGHT+IF4axCv/Y8VyLgScmc0G3dc3q7zEXs5J1sN3w3JrohbNqJUZEyft8VJodIQF5zQSpMQGH94DPYTSdA= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:18ca:cd75:e3f2:694]) (user=surenb job=sendgmr) by 2002:a17:903:228b:b0:1e3:cf83:af70 with SMTP id b11-20020a170903228b00b001e3cf83af70mr136646plh.13.1712439647507; Sat, 06 Apr 2024 14:40:47 -0700 (PDT) Date: Sat, 6 Apr 2024 14:40:43 -0700 Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog Message-ID: <20240406214044.1114406-1-surenb@google.com> Subject: [PATCH 1/1] fixup! increase PERCPU_MODULE_RESERVE to accommodate allocation tags From: Suren Baghdasaryan To: akpm@linux-foundation.org Cc: kent.overstreet@linux.dev, klarasmodin@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Suren Baghdasaryan X-Rspamd-Queue-Id: BC8D1180013 X-Rspam-User: X-Stat-Signature: zshqquok15qzefgb8sb6xpf4dc6hxqi8 X-Rspamd-Server: rspam03 X-HE-Tag: 1712439648-980513 X-HE-Meta: U2FsdGVkX1+WrBR+PCYdWRlLeUU07xufXHMDqUqpS84OEVRlh6ygl7dPJogGidi4CQlrE2skgyH/jvh3MjzeNp7XN0Ly3w/ZgCxtfbdZ6y7124Jt4rHwJXeBBEC+ZTUwNDPDAaQ6O3cBA/0lLRk+K0KXBoTUXiC8Z2d9ftsXA6dIbfDaOQUBQaV8n7caHTIRoBgKtRm5h5pLwsjwYD5TP3R/i+j5GHep88PaCWTCh6jzu8lXtfr4WMTe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xdfw+qHG4JA3iJaSSwjeudBI1j4NfMT0CuHltv7YPqMgfoKvjkMp+nV+VWTPhfk1Zlzs9YNtyHoHoNB4drFBdrwA8gzMA7+SDQWhmqGL/eHZVDXSfiJkNbTbL4CfIRtYi7LCvPoWOFF35sEHWr4vTa+zXrLOA/ldhmpTwO6xyV53WnwJbrJwaSLQRMJ73m5YjCs2FFqRb0m/gmKfzZFXVndH1Fc9bssDPWS+Rpaa+LT+VR0wWuFz9TxH5OX16lZncLXRfxRdHgfLfszpIf6WJLGmIlFcB29nr5BW1v/xrxA0dLhOGBIJOq/BimaKaW9M4NzWdKAMFxNj9JfhKuMjgH64oYshuiLFYPx+q5CC7F0KK2Wuc1KnhiX+3LpRgjwyOCaVwGuCnd2Q== X-Bogosity: Ham, tests=bogofilter, spamicity=0.002881, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: The increase of per-cpu reserved area for modules was not enough to accommodate all allocation tags in certain use cases. Increase some more to fix the issue. Fixes: a11cb5c8e248 ("mm: percpu: increase PERCPU_MODULE_RESERVE to accommodate allocation tags") Reported-by: Klara Modin Tested-by: Klara Modin Signed-off-by: Suren Baghdasaryan --- include/linux/percpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: f43b3aae94511d62174c3b29239da0dd22d0eeb3 diff --git a/include/linux/percpu.h b/include/linux/percpu.h index e54921c79c9a..13a82f11e4fd 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h @@ -17,7 +17,7 @@ /* enough to cover all DEFINE_PER_CPUs in modules */ #ifdef CONFIG_MODULES #ifdef CONFIG_MEM_ALLOC_PROFILING -#define PERCPU_MODULE_RESERVE (8 << 12) +#define PERCPU_MODULE_RESERVE (8 << 13) #else #define PERCPU_MODULE_RESERVE (8 << 10) #endif