Message ID | 20210913112609.2651084-2-elver@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=Ij3b=OD=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-26.2 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81891C433F5 for <linux-mm@archiver.kernel.org>; Mon, 13 Sep 2021 11:26:32 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2518961029 for <linux-mm@archiver.kernel.org>; Mon, 13 Sep 2021 11:26:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2518961029 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id B8B3D6B0072; Mon, 13 Sep 2021 07:26:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B3AA06B0073; Mon, 13 Sep 2021 07:26:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A2B91900002; Mon, 13 Sep 2021 07:26:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0004.hostedemail.com [216.40.44.4]) by kanga.kvack.org (Postfix) with ESMTP id 9632D6B0072 for <linux-mm@kvack.org>; Mon, 13 Sep 2021 07:26:31 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 4A6CF181AC9BF for <linux-mm@kvack.org>; Mon, 13 Sep 2021 11:26:31 +0000 (UTC) X-FDA: 78582322182.30.586369B Received: from mail-wr1-f74.google.com (mail-wr1-f74.google.com [209.85.221.74]) by imf30.hostedemail.com (Postfix) with ESMTP id 0231FE001981 for <linux-mm@kvack.org>; Mon, 13 Sep 2021 11:26:30 +0000 (UTC) Received: by mail-wr1-f74.google.com with SMTP id r5-20020adfb1c5000000b0015cddb7216fso2477611wra.3 for <linux-mm@kvack.org>; Mon, 13 Sep 2021 04:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=jCMn+6PWYm/AH96CM8EJiUE6dV7GrC639I1pxBug/fo=; b=eEroU4oVN2heQHlxNbvxaYfKjjK4j0WrUk+DRUAHoiLJ7PHD/WGsgXFEFk2f/wzLJg SqZ6jWZ4lFj2qIY+JsT3eI7pM9dA50VSRexQe6w5ozloiZMl7FxSpycCzFl8sVLTJGYg fTJTaY+wvvdvIxWWmm6pQDvpRsVYRE8hcujHELJkIoebWgQ8Nb1v4+c7QsgigSJJ3HpO TJqu31JeWWteM/HjzOBnSKRerXZvPCt9CGl0gogOcnVAGFFIrKMbs8h+ignHfeF3VTv6 JbJiosAcmcIfi6PnhXyiraPEuoc6RFK7e7fBDa/LWF/mM3/m9NhcHyI0g7IJHA1G9hN0 yxcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=jCMn+6PWYm/AH96CM8EJiUE6dV7GrC639I1pxBug/fo=; b=e8iJ4JJXc07VWoAbzqXtziXO+E5EJsnJpVdPPj+Kkg/clukdNQ6rVL19/GkXnJy7QS 0rltHppKch0I7x1tCoiulYYmR7VbdWPLep/ZV9cQqASpaoPxePphe7vAOAqKUYqVNXtT 1aoFMHyagddeXNfe9USQIq/iiKp4vKlHBPnl5xzpLY4GoE0bRANsw3TsrO8UAVCevsYu r/fscjm3xPbq8PqpVzgdyZCCUGcpAdkjs+erKMOqI+y3DL1rfxM/8LaZM4fuPFJAIjEQ EqHV+YUEhqJGJ31e8LDTbhZwKgoMtg8oawAkJ7ky+AKCQ4MR0vimxe2I+nsVx4ewX1y8 lMPg== X-Gm-Message-State: AOAM530I4dKyOgh5XY1aHIAtpkhlZVSvASg7qIHxjw4izw784l9D+7MG /ckEmOQfN7OR7bHu07nGqTk/nW3mKw== X-Google-Smtp-Source: ABdhPJwnccwL1pQ2aLBEviHvXVGI3QBXG8frezSWuniMCg1hwhbFkPmOVasOpj8typD1bkBIN3TYMGNvag== X-Received: from elver.muc.corp.google.com ([2a00:79e0:15:13:1f19:d46:38c8:7e48]) (user=elver job=sendgmr) by 2002:adf:e745:: with SMTP id c5mr11878126wrn.321.1631532389487; Mon, 13 Sep 2021 04:26:29 -0700 (PDT) Date: Mon, 13 Sep 2021 13:26:04 +0200 In-Reply-To: <20210913112609.2651084-1-elver@google.com> Message-Id: <20210913112609.2651084-2-elver@google.com> Mime-Version: 1.0 References: <20210913112609.2651084-1-elver@google.com> X-Mailer: git-send-email 2.33.0.309.g3052b89438-goog Subject: [PATCH v2 1/6] lib/stackdepot: include gfp.h From: Marco Elver <elver@google.com> To: elver@google.com, Andrew Morton <akpm@linux-foundation.org> Cc: Shuah Khan <skhan@linuxfoundation.org>, Tejun Heo <tj@kernel.org>, Lai Jiangshan <jiangshanlai@gmail.com>, Andrey Konovalov <andreyknvl@gmail.com>, Walter Wu <walter-zh.wu@mediatek.com>, Sebastian Andrzej Siewior <bigeasy@linutronix.de>, Thomas Gleixner <tglx@linutronix.de>, Andrey Ryabinin <ryabinin.a.a@gmail.com>, Alexander Potapenko <glider@google.com>, Dmitry Vyukov <dvyukov@google.com>, Vijayanand Jitta <vjitta@codeaurora.org>, Vinayak Menon <vinmenon@codeaurora.org>, "Gustavo A. R. Silva" <gustavoars@kernel.org>, kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Aleksandr Nogikh <nogikh@google.com>, Taras Madan <tarasmadan@google.com> Content-Type: text/plain; charset="UTF-8" X-Stat-Signature: 3c7g5tm6g58cyxfb3wwozkwyin5ufypm Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=eEroU4oV; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf30.hostedemail.com: domain of 3ZTU_YQUKCNwCJTCPEMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--elver.bounces.google.com designates 209.85.221.74 as permitted sender) smtp.mailfrom=3ZTU_YQUKCNwCJTCPEMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--elver.bounces.google.com X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 0231FE001981 X-HE-Tag: 1631532390-996342 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> |
Series |
stackdepot, kasan, workqueue: Avoid expanding stackdepot slabs when holding raw_spin_lock
|
expand
|
diff --git a/include/linux/stackdepot.h b/include/linux/stackdepot.h index 6bb4bc1a5f54..97b36dc53301 100644 --- a/include/linux/stackdepot.h +++ b/include/linux/stackdepot.h @@ -11,6 +11,8 @@ #ifndef _LINUX_STACKDEPOT_H #define _LINUX_STACKDEPOT_H +#include <linux/gfp.h> + typedef u32 depot_stack_handle_t; depot_stack_handle_t stack_depot_save(unsigned long *entries,