Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp811508lqb; Sun, 17 Mar 2024 07:37:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhlUGz7o1eTi/lBtyP13cVIydvqBYiilCKfVL53zHYuVd8IjxOx7ZqffWky2S8J3+ORA0jnYvtFziixc2N5FzBD97PWr0QTx2bzBbeQw== X-Google-Smtp-Source: AGHT+IGVnZR70RKZ8ssNa0VcFof463c4OpoQIWLnNGhiqloQDB+HZC6BtveREFtcxLuq+Udn8mRh X-Received: by 2002:a05:620a:a4a:b0:789:f8a5:c7ce with SMTP id j10-20020a05620a0a4a00b00789f8a5c7cemr1759452qka.1.1710686268591; Sun, 17 Mar 2024 07:37:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710686268; cv=pass; d=google.com; s=arc-20160816; b=dHIvInu8xdFm7hYM5FTmwSK4GqRfje43B3W5vDh/aMD+AT6r3KJyhT2JxBC58A/J2B wj2lHvxEvRfkGa7Gt4FnxDkoTCJFDbdWSUVQzSJ7sIwtBMZkkYP3MaTkafYvgFMBQUIQ tE3+MKJ7MTAwahFKj2Tzdxt2rWcE3B/kT9cNZ24/M7j1X7Sr0QiT8mFerMGuhnbReURk BVckwNspCNbURv35Vjxd0YJbzhuSGd/Rri4AqX62aYpF5VHpEnrNs+/wr9x6MORL1hxb u/7AQxOYUtnSdpl2PZUHZT6YPDOSbHuXkJjgVCobeUyXVEISd4kArSt3xCzig5qGDsHN TVeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=8aI/sId35KTohUb/c4ySdsUGwQQ2SaCPOh0Sg25jTnM=; fh=FYWNS+AkzvQ6dSRQLry6qBPtN9TfwvHuobBpnCHMDKA=; b=LLBxLyksvgxwR31WHzU2VOLC4fE59fPYI/yVrGpcFKUIQlPMMpnzsV1MZhCLOoE6yT L/LDKQDak9tJuX4U5WvoImsWhOhF9Jz2YZjOI2cT04/lk5MasKPKHaCU9i8oNaHWLeTH wAiLHl+k4BrJIOlx8PNL0IguDXaebbtbaTBMd/ldi8kKX45nzoMpA7ah9UkT5PjrZ+IZ 6/gGgH2ynJHr2qs00xaGXpAUKrn7Sdu7iuimVJWAepqZ1xa3cXIg7feMPp6Qan6Wt2d1 Ppl+imYJ4SWMDf+Owo7ebJQ/wS65Y7ykV/Y+Gw2OpW5zlZIuQXG5bbIEnM0qi+Ohrrlk RS3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=kqPEaxHd; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-105402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g10-20020a05620a40ca00b00789e8fb87cbsi4512234qko.292.2024.03.17.07.37.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 07:37:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=kqPEaxHd; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-105402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr 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 492161C20915 for ; Sun, 17 Mar 2024 14:37:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D9AFA1C680; Sun, 17 Mar 2024 14:37:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="kqPEaxHd" Received: from smtp.smtpout.orange.fr (smtp-14.smtpout.orange.fr [80.12.242.14]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 568B51C288 for ; Sun, 17 Mar 2024 14:37:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.242.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710686262; cv=none; b=G5Q+vNCxZaRlx81cuQ+ZQL2MrX/jXG0N8UW3zMope2acfwLtG3VW8jT4GSrLFgJS6VETnab1kGNVtBrlVUMjK/P87BLCPnDSvL1HQOKyUu4gjIU4/IUvWlAMjZNRwXpc7tqZ6/3RaV0kuxxOutqaJR2e4z5C5Wzrxy2PK7ljR84= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710686262; c=relaxed/simple; bh=Cn7sshV6Ai3ciMfT3t6YdbQohbNSOvEiyMKtrdVeacU=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=rTT0PwfqeG079gyhEP9YPP2zLrts8YnrSkOtmT/2/6ogAdjgLtbjHr3XIY4IYph4LPsxgVQE7RH59SiCaa9vv4ywCLdw312hQTdRDx5pXx1Kzrt5jfFiU/ICUxTmA20j/SgZYe+dMCmfiYYB8sp+PBXZL8IOjjGChcxqxOz393s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=kqPEaxHd; arc=none smtp.client-ip=80.12.242.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Received: from [192.168.1.18] ([92.140.202.140]) by smtp.orange.fr with ESMTPA id lrcarrEtLbrwelrcbrVX3U; Sun, 17 Mar 2024 15:36:28 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1710686188; bh=8aI/sId35KTohUb/c4ySdsUGwQQ2SaCPOh0Sg25jTnM=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=kqPEaxHdMXnVBHdDMI9fdy8YHO7KeMmgGb9UFnR/vvc/Q8y5stWlOpFRQnSE5QfFy e29vYCUDAczOb6/7ESD6PQMu4Cc+MB4RIhKRXi+xsOuwby7cxup6KFYKsV9QPIJmoQ 7/DFxTpHCF7wsb2cc6BLs4XzJtQU/IUutyxQ6wH6lCuydshxKSgsv6rAarWrPKTo3Z x++Ny3QAYe0VFakD4c3p9rnGMKq+QG4+2EP8ancAC5B/nR2wM4mjfOl8Q8jdw9I0cf MURFz6516GWQLQvgfZRcaceorYqO4mio7ItADEuEUw1Sdl2vaEzWY4u6Uw5h4hFm82 wYPglgS1bELVg== X-ME-Helo: [192.168.1.18] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 17 Mar 2024 15:36:28 +0100 X-ME-IP: 92.140.202.140 Message-ID: <07e3705f-68be-40bc-80fb-ef81460f1674@wanadoo.fr> Date: Sun, 17 Mar 2024 15:36:19 +0100 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: [RFC 01/14] task_stack.h: remove obsolete __HAVE_ARCH_KSTACK_END check Content-Language: en-MW To: Pasha Tatashin , linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, x86@kernel.org, bp@alien8.de, brauner@kernel.org, bristot@redhat.com, bsegall@google.com, dave.hansen@linux.intel.com, dianders@chromium.org, dietmar.eggemann@arm.com, eric.devolder@oracle.com, hca@linux.ibm.com, hch@infradead.org, hpa@zytor.com, jacob.jun.pan@linux.intel.com, jgg@ziepe.ca, jpoimboe@kernel.org, jroedel@suse.de, juri.lelli@redhat.com, kent.overstreet@linux.dev, kinseyho@google.com, kirill.shutemov@linux.intel.com, lstoakes@gmail.com, luto@kernel.org, mgorman@suse.de, mic@digikod.net, michael.christie@oracle.com, mingo@redhat.com, mjguzik@gmail.com, mst@redhat.com, npiggin@gmail.com, peterz@infradead.org, pmladek@suse.com, rick.p.edgecombe@intel.com, rostedt@goodmis.org, surenb@google.com, tglx@linutronix.de, urezki@gmail.com, vincent.guittot@linaro.org References: <20240311164638.2015063-1-pasha.tatashin@soleen.com> <20240311164638.2015063-2-pasha.tatashin@soleen.com> From: Christophe JAILLET In-Reply-To: <20240311164638.2015063-2-pasha.tatashin@soleen.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 11/03/2024 à 17:46, Pasha Tatashin a écrit : > Remove __HAVE_ARCH_KSTACK_END as it has been osolete since removal of > metag architecture in v4.17. Nit: obsolete > > Signed-off-by: Pasha Tatashin > --- > include/linux/sched/task_stack.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/include/linux/sched/task_stack.h b/include/linux/sched/task_stack.h > index ccd72b978e1f..860faea06883 100644 > --- a/include/linux/sched/task_stack.h > +++ b/include/linux/sched/task_stack.h > @@ -116,7 +116,6 @@ static inline unsigned long stack_not_used(struct task_struct *p) > #endif > extern void set_task_stack_end_magic(struct task_struct *tsk); > > -#ifndef __HAVE_ARCH_KSTACK_END > static inline int kstack_end(void *addr) > { > /* Reliable end of stack detection: > @@ -124,6 +123,5 @@ static inline int kstack_end(void *addr) > */ > return !(((unsigned long)addr+sizeof(void*)-1) & (THREAD_SIZE-sizeof(void*))); > } > -#endif > > #endif /* _LINUX_SCHED_TASK_STACK_H */