From patchwork Tue Oct 24 13:46:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suren Baghdasaryan X-Patchwork-Id: 13434597 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 62FAFC00A8F for ; Tue, 24 Oct 2023 13:48:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B1F3E6B0289; Tue, 24 Oct 2023 09:47:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AAFB36B028A; Tue, 24 Oct 2023 09:47:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8D4A56B028B; Tue, 24 Oct 2023 09:47:47 -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 751346B0289 for ; Tue, 24 Oct 2023 09:47:47 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 52252A0789 for ; Tue, 24 Oct 2023 13:47:47 +0000 (UTC) X-FDA: 81380482974.18.5A2E4CC Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) by imf22.hostedemail.com (Postfix) with ESMTP id 343EDC0016 for ; Tue, 24 Oct 2023 13:47:45 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=e62UIc+A; spf=pass (imf22.hostedemail.com: domain of 3AMs3ZQYKCKUXZWJSGLTTLQJ.HTRQNSZc-RRPaFHP.TWL@flex--surenb.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=3AMs3ZQYKCKUXZWJSGLTTLQJ.HTRQNSZc-RRPaFHP.TWL@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=1698155265; 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:in-reply-to:references:references:dkim-signature; bh=7C50BM7p5C+vJ0clcF+/KvirWmdIP5XWEnNLFYgTdS0=; b=slkfA3RfmdXd7E+fkaJBDPmjkWsHhgVfo4o3EN3N7pFIdw7MCV9IrI0CfSssi5HGWd6FuG y72Del4rbLDZ8Gv4u0JZRZEdlD5y1C/2Fr/TzqY7KBOv2RStPZu4FrrcC7H12DWLAU9Psu BoviTLneiZcxP93JCt72RtP+iRR6zrs= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1698155265; a=rsa-sha256; cv=none; b=Jv4hoRN7sGlCoQNLdxejUMuwzsnfncuN7aWibAAMt5yLvcNfxw5Qu5KE+gKtlFhUT4cEMx lRGFt6CxmuypAWdWZoSSklFdAz3Wxrrfkydz4ZDN/4R1S2Pbe2Dm+0DYIbUKPcFdtcmW50 FqWsDr3tO9qgU8geYKh94dN5X1+QFAw= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=e62UIc+A; spf=pass (imf22.hostedemail.com: domain of 3AMs3ZQYKCKUXZWJSGLTTLQJ.HTRQNSZc-RRPaFHP.TWL@flex--surenb.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=3AMs3ZQYKCKUXZWJSGLTTLQJ.HTRQNSZc-RRPaFHP.TWL@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-d9cad450d5fso5175302276.1 for ; Tue, 24 Oct 2023 06:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698155264; x=1698760064; darn=kvack.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=7C50BM7p5C+vJ0clcF+/KvirWmdIP5XWEnNLFYgTdS0=; b=e62UIc+AMGoDOn9izjLXeELTItCnzuTUXOH6xkhNFUT8cqcn+3z2OKXv1sx4eROyRy D8vlsuJNaeQzoiK7MsS9wgC+u58s8HrohWdq2DNDYN9r30fRcwpWwkEz6bBOeUbimk/3 A5xFgD6jwcHcW8sujGIQhCRTe2RUO+C9e8PyH+WamcXOmY3IipAXTHSMEcwrtQpOsTJW yloHaNAy3JpkwkiLq5PR/U0DywHf2fv1dbnYWPzOZX8F0pxHQ262d3akz8XNKLmRYX81 qQYUuoFCH/knMIPq0MU16EZ7Ni5nfm2c8qb3acw0lnGU/cCaZZKr4dPiNY3DtZ+6ihn9 7fMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698155264; x=1698760064; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7C50BM7p5C+vJ0clcF+/KvirWmdIP5XWEnNLFYgTdS0=; b=wdNNy0EZ3M4Vgkd3qxAVvWMNTuh34Hf0NEgCIg7LhhULYNC96xepO/00B2H0Gk8ZuD rWLzdZmUrOIvek22/k9T6qzp6fwCKlrXRjx09+2/TWT/QH3Nx7Rm2kqUkbq0MK7/3Z5d 3JTeGlmWzWTCt54dKKoUp+eryUYw7dQPLFkk7/Suw0PaOO+6k3ndFbrfEOiepOVfl3xr Gd8bbUlexdwcA4LVvdSeKoL7s2N92OO+B3lVJhhXeHDFeuVhusa3pkS3JiCgc1P9sint I08tPNNZeiaL+4M5tvCMSiRJuTSL08fKJo2GEk3kEhYCq85TE237fx3nNns4YVD657Av f/yw== X-Gm-Message-State: AOJu0YzR5bt+3E0amus/LD/bbah9UzgMxM28ZGt2fH4rhLP/TGxueavV vC6xPua64kAN7zdc/grHxlZgBPGAeho= X-Google-Smtp-Source: AGHT+IFgQR1uDgRKslLBvCkBHAk0T4yEqB1Qvs6h4RCMdoan4Z+72V6WbgepeSBkK71dX/nU/j0JJWPs+jY= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:45ba:3318:d7a5:336a]) (user=surenb job=sendgmr) by 2002:a25:d34e:0:b0:d9a:e3d9:99bd with SMTP id e75-20020a25d34e000000b00d9ae3d999bdmr212803ybf.5.1698155264079; Tue, 24 Oct 2023 06:47:44 -0700 (PDT) Date: Tue, 24 Oct 2023 06:46:25 -0700 In-Reply-To: <20231024134637.3120277-1-surenb@google.com> Mime-Version: 1.0 References: <20231024134637.3120277-1-surenb@google.com> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog Message-ID: <20231024134637.3120277-29-surenb@google.com> Subject: [PATCH v2 28/39] timekeeping: Fix a circular include dependency From: Suren Baghdasaryan To: akpm@linux-foundation.org Cc: kent.overstreet@linux.dev, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, ldufour@linux.ibm.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, vvvvvv@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, surenb@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org X-Rspamd-Queue-Id: 343EDC0016 X-Rspam-User: X-Stat-Signature: i9tqowkj7pggu1kpcc7jo5iec96awtei X-Rspamd-Server: rspam03 X-HE-Tag: 1698155265-749964 X-HE-Meta: U2FsdGVkX18KelSv+UL2dkW3FG9gSHgap4fDwHhFYb9bS0kCA4a/sc4LGEBY7m3W+9Mf2NWtMCSiiDsD8YtG+Mt42cUAnDvRX4XSVRlYvs3fKS5U4CStBT75xV+jeXyKalKrMI0n8NQLYNGqkqiZwoeHgTJ3U7deAjTNBaIT7W/UuKDhVhk++JuER1WnlkhYHyShp4PXY7fQiiVv88WYxm6gto5XIXyFEZ6XSc7vuaP7M5wCC/WflCCCUvJSsdi+ufEsGQyzZ48cDFmUEm9E5ZNbd64LAadYT+ngx5lZ6APmXUvlMj1Pc3dcF+b31ezNleCBy6GqW9g7+K9zXk6zig8tj0JNP8FiVKm6YpSnSalYmMrT6hRBkBoQcXdVsc9n/WzlUEow7yyfcbIB472h5QkAgbHKyWHQTLtLFOoScZBq3p70Xy7N3y4s1IgWUavZSSflsscbYPI2ZqDaybO+JOwdWGbNFIrrCInwOqxh3D8eVgIzwezw2wdg9R86RmPhblrK8Sv04KKCPORa0hPM6m2cRhTJ5enTC87uHK0mFaCvgaRxWd4ObnDPhTsn/lhRVpEtdBD5o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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: List-Subscribe: List-Unsubscribe: From: Kent Overstreet This avoids a circular header dependency in an upcoming patch by only making hrtimer.h depend on percpu-defs.h Signed-off-by: Kent Overstreet Signed-off-by: Suren Baghdasaryan 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 0ee140176f10..e67349e84364 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 03d9c5ac01d1..a9e61120d4e3 100644 --- a/include/linux/time_namespace.h +++ b/include/linux/time_namespace.h @@ -11,6 +11,8 @@ struct user_namespace; extern struct user_namespace init_user_ns; +struct vm_area_struct; + struct timens_offsets { struct timespec64 monotonic; struct timespec64 boottime;