From patchwork Sat Dec 16 03:26:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kent Overstreet X-Patchwork-Id: 179754 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp15272dyi; Fri, 15 Dec 2023 19:27:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyen+Rmi5/Zh32rLlHHSjMmE78JkvplRD4LrVgYeMzQJy4N/FIv386zCv7vMobe3hz3Wuv X-Received: by 2002:a05:600c:4591:b0:40c:6c80:c229 with SMTP id r17-20020a05600c459100b0040c6c80c229mr880801wmo.19.1702697279277; Fri, 15 Dec 2023 19:27:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702697279; cv=none; d=google.com; s=arc-20160816; b=IjmgffIEOxQkQvNH61UnenxTY5/OdSxc/O3T20bz+bKucEN1gSOtf3d6I2qTYrbQd5 glr+4gKEavBuM2IjdiB3ehXX7uvlJDcbVx04CICgbqnI89MEayeEvrxNS2PGuQFqGqsv 3eV2MfVyhPqop0Ofo4/mRPqn2hEUkIK+F9hQARznSDeoqJH2SS9w33IwqutjD7IV/We0 ayAl5kzyqDKeJhdrVx9un9mJ35d3QMzwdTHAIPPf/xu+xLRGT9FQODOIgV9c0yqS1+mh Ctxafr9mF87wCsotb3HJbMGLQQs6dZ2mcxXNsDqieEr59qfC7AltuDsRtGcrTdoucqPt 4Y7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+Zwt6cEz94Tvha2iFlfdO0VycCniggIMuLqZgtvPOAE=; fh=vHhjxHftTECn/hRvIWNlq1eDzDsn74Roqz0kmRcPgcE=; b=KJkYZrXrPyOkPooUVOQAl8ED/92YIkXgruRQpl+uC0S7YNUc1vd0xonbvVGcOn8J41 TAQdH4XZzI/8E5QBDuMYHzJxWksn83apeuZr2SMOyVRV/hXB5LlCTnadrvbmWnykkU0+ 3RUGlCyCWSdm3C827iKZwZ8wYs+mpHGZkILqw0khsvij5YsZTbHrnmqvxA24QHJi51qA Xn5k6JkoHv/6cVUzZr5kQqEvbRID+/p5zY3lxLKyFjP1nNW8JgHs+tjGoZ3n+VHJxmhG h1m2HRJbcCDQQMYRjS8xJ91829X8QuvGsfhax51yezlF+yYTYUnO9ibKGleRcB9zgHxO AdFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=up1ib+SV; spf=pass (google.com: domain of linux-kernel+bounces-1988-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1988-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ec12-20020a170906b6cc00b00a1fad9ea39asi4980982ejb.530.2023.12.15.19.27.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 19:27:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1988-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=up1ib+SV; spf=pass (google.com: domain of linux-kernel+bounces-1988-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1988-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DE5651F25845 for ; Sat, 16 Dec 2023 03:27:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85AF212E5C; Sat, 16 Dec 2023 03:27:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="up1ib+SV" X-Original-To: linux-kernel@vger.kernel.org Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 494BFD532 for ; Sat, 16 Dec 2023 03:27:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1702697225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+Zwt6cEz94Tvha2iFlfdO0VycCniggIMuLqZgtvPOAE=; b=up1ib+SVIj6lwWvIF/lfxUeLm5s0Rjmj6+0NWpwR3ynTX164ZbEM30SjhTePskf+DoGhxC 2TfdnK+dBZiduWXPVEqOaaSQmY36LM3kkY1q7rVSGHjMdW9UawKyPYuM/QZ/eyRlfjzvoE mFjqIWawpfnhrayBjF6BKnHh7qM0BkM= From: Kent Overstreet To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Cc: Kent Overstreet , tglx@linutronix.de, x86@kernel.org, tj@kernel.org, peterz@infradead.org, mathieu.desnoyers@efficios.com, paulmck@kernel.org, keescook@chromium.org, dave.hansen@linux.intel.com, mingo@redhat.com, will@kernel.org, longman@redhat.com, boqun.feng@gmail.com, brauner@kernel.org Subject: [PATCH 13/50] timekeeping: Kill percpu.h dependency Date: Fri, 15 Dec 2023 22:26:12 -0500 Message-ID: <20231216032651.3553101-3-kent.overstreet@linux.dev> In-Reply-To: <20231216032651.3553101-1-kent.overstreet@linux.dev> References: <20231216024834.3510073-1-kent.overstreet@linux.dev> <20231216032651.3553101-1-kent.overstreet@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785407502232700497 X-GMAIL-MSGID: 1785407502232700497 Slimming down recursive header includes. Signed-off-by: Kent Overstreet Cc: Thomas Gleixner --- include/linux/hrtimer.h | 2 +- include/linux/time_namespace.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index f2044d5a652b..02d264ca9dce 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/linux/time_namespace.h b/include/linux/time_namespace.h index 5258d81cef17..876e31b4461d 100644 --- a/include/linux/time_namespace.h +++ b/include/linux/time_namespace.h @@ -12,6 +12,8 @@ struct user_namespace; extern struct user_namespace init_user_ns; +struct vm_area_struct; + struct timens_offsets { struct timespec64 monotonic; struct timespec64 boottime;