Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp360105rdb; Sat, 16 Dec 2023 11:05:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEO9EQ4Eivds2eHPObvo6sVMGIbc0XswY8MQbArLmmUncvvDUUCVj2xQ1uIs027LOen5myq X-Received: by 2002:ac8:5994:0:b0:425:8e3b:6dbf with SMTP id e20-20020ac85994000000b004258e3b6dbfmr19595939qte.90.1702753525245; Sat, 16 Dec 2023 11:05:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702753525; cv=none; d=google.com; s=arc-20160816; b=cpDMFmTsbKRDRb2zIhHZxUIuCD6Nfv/FqUTvLwNSJ9gyidUJWHiKIXz36nlmsg1Axt qbBhVRmuK975iSSmHeL4tlZRnyg+732m0a+wxSbck8F6E8jlSsIPSRFLx0UiA/O07q6D i11T9QWu6yE0URveggs5brtqqfMkWe6AN0Q4XPQx5gfdAnQvgm4XZaf6wieep4FJfRsu Tkg84G7cjwYVA57hp3kudXGge2RWQ4vt9lXGAOLlneQwxqasUqsHO1dOw9ijkb6lhj4G EDU/fYFlnq5jJPYzrCHZ3CLcOQhvUO2Om9IRZLugZ7IwZVWwwjzNFRc2UF4K5uOS7UTZ OCcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=NAkZ4YVkVgbfEFAtxtWO+XdMnB8Uq7QYjRzK5VJkzRY=; fh=Nfpg6iYDWypQnP3VDizxOSHFysLG7bitqt3dG/BkqLQ=; b=oMCzluC0ad9iEW6OE69QqV2pyEH3BxGJODXPrXe6GaeOuQDCuiE3ff7qjr9WeguwrL gzQFDH8LS1tnSyBfhyl3ilguW57/HYlT7sbULT35gdeBoSfU6HwSA/IzEe76jImvKWv4 fj+/rCwH0OJRb1HnIa1S2OFMztzFy+rAxFFqdLxrDrHwBR6sVkc44gzbxOndTY6AUMLm kaE8ztKKJvYjhk4yPDb1dKJHg8Dcno/o+CzTSSSiWLSbGX4Ecj23vPuKZRBSNrrxvqdD fCiqrZ2ogU3YrOaoaLGQstM+2PmrtlZ0jFU7e4JLgmEbrorrxD2ALdRspudEWk6Hk6ib BDjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=p2M+hT1n; spf=pass (google.com: domain of linux-kernel+bounces-2334-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2334-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i14-20020ac860ce000000b00425614f08b0si18834379qtm.35.2023.12.16.11.05.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 11:05:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2334-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=p2M+hT1n; spf=pass (google.com: domain of linux-kernel+bounces-2334-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2334-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 042231C21B81 for ; Sat, 16 Dec 2023 19:05:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7CA8431744; Sat, 16 Dec 2023 19:05:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="p2M+hT1n" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 553A31E485; Sat, 16 Dec 2023 19:05:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=NAkZ4YVkVgbfEFAtxtWO+XdMnB8Uq7QYjRzK5VJkzRY=; b=p2M+hT1naSydHdOegm76pwjkV3 cIoiy33aWBHqNWgekFcNMxeVpqOo0ipJcSnjzDYNxvQeBK3AMRxwSfrBLOsm/R8TNSD1ySixBWHpX S+Ykl9xCIiVW8Zh6c/+9FvVGTA3NVEZtk0FnzO/WQHp7DvhCmFuJJDrBVKGFWJoja8rdpOiVeYRpJ Ml9F4t5E9FSll5nZH2EXwbPRlE3YEpuQGqB93TCwKZEH9AjMDrfp8wjBdH//b5SsmOVIV3/8b8/ER CGdMWRfltmjSt5OWCPDU4T3jx8sRcVRnrgRz7DgL+Kp7OO8bWasI/XyspfauvSbLfyED/+p7RghDl znlF08sw==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rEZyH-006aik-1J; Sat, 16 Dec 2023 19:05:11 +0000 Message-ID: <5a5daf77-ba00-49db-a963-e343a0b2b8cf@infradead.org> Date: Sat, 16 Dec 2023 11:05:08 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 26/50] rslib: kill bogus dependency on list.h Content-Language: en-US To: Kent Overstreet , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Cc: 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 References: <20231216024834.3510073-1-kent.overstreet@linux.dev> <20231216032957.3553313-1-kent.overstreet@linux.dev> <20231216032957.3553313-5-kent.overstreet@linux.dev> From: Randy Dunlap In-Reply-To: <20231216032957.3553313-5-kent.overstreet@linux.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/15/23 19:29, Kent Overstreet wrote: > list_head is defined in types.h, not list.h - this kills a sched.h > dependency. > > Signed-off-by: Kent Overstreet > --- > include/linux/rslib.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/linux/rslib.h b/include/linux/rslib.h > index 238bb85243d3..a04dacbdc8ae 100644 > --- a/include/linux/rslib.h > +++ b/include/linux/rslib.h > @@ -10,7 +10,6 @@ > #ifndef _RSLIB_H_ > #define _RSLIB_H_ > > -#include > #include /* for gfp_t */ > #include /* for GFP_KERNEL */ > What about line 47? 47 struct list_head list; -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html