Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp230361rdh; Mon, 18 Dec 2023 18:06:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGeFH8v6TO8pvr+za/rFunHxSFHQhnqKTbAEJQjvmZwKnDOqrWow3VdxL9BcOHYe8YdAdh4 X-Received: by 2002:a05:6512:2118:b0:50e:492e:c91e with SMTP id q24-20020a056512211800b0050e492ec91emr25635lfr.32.1702951582220; Mon, 18 Dec 2023 18:06:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702951582; cv=none; d=google.com; s=arc-20160816; b=ii5bp/sj8Rl1rPRp+u57LmtgVFVUYt1GyG9kCe5vBSPpqVLPg+oawp+sRvslmG/5Ym Rufy1I6Zc4cKo3N//KzSLLvEckaGTbpwb6HhRUkTQZk/6Hv/Tbe2zR382cbiXcLMvs+a NN6LI2jX43pMRbi1kibOWcfGBm+hobkqLOBgY0vbhvpw/a1nAg2AnhQnQs7d6grzx0wp M0my07B7xjG9jG3WerhUHk1HEl4Uz8nT0BqElfD7FGJjxBKAce382p7NqEeDnrK1cPUN s7cf4WiDsrrF04DXw0MYiYDmoUWjB/UuHKFGxA59qT+loQG3UzygXxS2taChOQfY83Vs /wBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=R4ZNMb7/jqAplkG+DzZrazJbBaTJxRG9mCYNQGQEEo8=; fh=Ed/X5vyluql0uwBjPa4V1YZoWzuL6satwSlvO/YwvBY=; b=dEDazN36uQIm8ch9l3IbV+L6IhyAdRtJ4n9G35xo2OxlDJCIeM8+UjSEiY4WXtSbCv 6+CQZeNuDz3hp9IcR8sS3DMsY5KDgI44dbNId8yix51qzygMfIbYH4PYdloeEDRrYnO1 tLssODIktxwF4/YUwQwIEm3UZk8NQl1ikJOHnReLAFfsiwcwXbbI1+jgsGCPy+toaVy/ p9pE7/V0wnMFuzgOzxl5Vf67gQwzcAfG1USZa2FnPqR33ff6efQNBGgUPHJVznmyit7H rG3OWURdlIvXD8Q47BKmtiNg76GxLZ2P00kE2l56nY1QwOihvCNNbf++nTXaQ8FO37Z7 Cfgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=aX8pVtcr; spf=pass (google.com: domain of linux-kernel+bounces-4578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x26-20020a50d61a000000b0055394ef695csi139542edi.237.2023.12.18.18.06.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 18:06:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=aX8pVtcr; spf=pass (google.com: domain of linux-kernel+bounces-4578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4578-linux.lists.archive=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 F0AC61F24634 for ; Tue, 19 Dec 2023 02:06:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C91574409; Tue, 19 Dec 2023 02:06:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="aX8pVtcr" X-Original-To: linux-kernel@vger.kernel.org Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (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 B79241FB9 for ; Tue, 19 Dec 2023 02:06:10 +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 Date: Mon, 18 Dec 2023 21:06:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1702951569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=R4ZNMb7/jqAplkG+DzZrazJbBaTJxRG9mCYNQGQEEo8=; b=aX8pVtcrce0Fe5hKWFw6wj2302wK8JYE2zDEyCVPWYqNH1aiFpO1CGRfW0WoqJdUQwQFS+ m/+JeAeq2fIlhH31dT/CG7ynpRUyPdbJ8jEgmMeijFGh01ycIWgOFW1jn3YlBXRgVUVNe6 h6njiVE+gTySe1IZ2OK4ex200Q2TvMI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Sohil Mehta Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, 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: Re: [PATCH 03/50] x86/lib/cache-smp.c: fix missing include Message-ID: <20231219020605.edmlnz2hgjb4h4im@moria.home.lan> References: <20231216024834.3510073-1-kent.overstreet@linux.dev> <20231216024834.3510073-4-kent.overstreet@linux.dev> <76af02dd-1f16-41ad-86c7-3202146d0085@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <76af02dd-1f16-41ad-86c7-3202146d0085@intel.com> X-Migadu-Flow: FLOW_OUT On Mon, Dec 18, 2023 at 04:18:29PM +0530, Sohil Mehta wrote: > > diff --git a/arch/x86/lib/cache-smp.c b/arch/x86/lib/cache-smp.c > > index 7c48ff4ae8d1..7af743bd3b13 100644 > > --- a/arch/x86/lib/cache-smp.c > > +++ b/arch/x86/lib/cache-smp.c > > @@ -1,4 +1,5 @@ > > // SPDX-License-Identifier: GPL-2.0 > > +#include > > #include > > #include > > > > I believe the norm is to have the linux/ includes first, followed by the > the asm/ ones. Shouldn't this case be the same? I haven't seen that? I generally do the reverse, simpler includes first, not that I have any reason for that...