Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp946493pxb; Thu, 21 Oct 2021 12:34:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMpLcipNBeW/WXTkVm35HjQzRQ9ccoCho1TGtTu4ft9Py6uBweSx3Qac9caK7alB0lBBjX X-Received: by 2002:a63:6c06:: with SMTP id h6mr5825976pgc.281.1634844864283; Thu, 21 Oct 2021 12:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634844864; cv=none; d=google.com; s=arc-20160816; b=wkjhJ1P4pw7W3ibF7gf+jZ+nn+XoBNMZTdZIpqDXOU6pI//eClCzRDtrz3cuBqmlX3 TD2lR1gJi8jytEO5CzBA4b7RY0ARzmGKtUIAjHVB7AHrr7kZZv3ZKTTGQ3qwwRaimX9j hs0ksFKvX61Xmbqy9ndTLClWuYygvf+JSaW33DeWWJfb65jAE6R7i9ZWtAHGPfjEfbj8 gXF3e6hZApiCPEnR1TAcnYOj2TgOzI0mYde2ZwZa3mgXNvyU8Qn+jHzALd3VWqIP/doM Pr59n5hT8MSVkexytxRjVjorERbmxKWQCcPN2BYJaqtEsFHv+Z8bC3r+oTclD63Ce0iA MmgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=g9ZT/0FoZ5x3CiuBFCIM2YP2UyvqhoFmEIhEg8pmdwA=; b=pqyzvD5VrlnGEGw2hE28M1bDGyaf048k7LUR/mhiQ4Ny5Ac6gNBV4lVPGUYovLaXZi 3JYPLCvEJ/6mflSi7evg3Sx5L87DL0Of4SfsiIoSNEtW5F+RQWFK9nzGpJdQKi0fqHJE QtiMaR8qYBRSd3gKJdvYohCme9w1XKPWfD66VAOG/9lGqn87GnJoDcdRIdwXZk8YyyvR Loo8weFtP3HGYQWTS3r5OY2xzXBodNiqlSBJp0pR0HFcbW7aInY95jWMN2bxcohlgJX1 XiOUsjRTRyNmqUBsUaRpjd76zPzHuk2XjvGLkmLzA+EP04bOCRanv4etP+/CoE6/KugH g68Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=t7VYyTyL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id in15si7944984pjb.30.2021.10.21.12.34.08; Thu, 21 Oct 2021 12:34:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=t7VYyTyL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231524AbhJUTeT (ORCPT + 99 others); Thu, 21 Oct 2021 15:34:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230020AbhJUTeR (ORCPT ); Thu, 21 Oct 2021 15:34:17 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B179C061764; Thu, 21 Oct 2021 12:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=g9ZT/0FoZ5x3CiuBFCIM2YP2UyvqhoFmEIhEg8pmdwA=; b=t7VYyTyL+zzJmyk7lTrCVP0pez 49bdDOM1ylEshNaga0LR0NiqVO7TwU3sEtDIn8iK2BsMimXC8z3ingoHZw9TbC3P9atfQUE3vD1JO OzKhqPsoPFgZobOqz2Vg9JVzeTuGQs69r8tDIMfdQnGVIIn6G8UvlEOB9NwDGC8W3OheCqjNmoBUE AxAMo2LXC1Rt2IKCqtdPdzPFBBqnpkS8tnYWUDmJLQRN/CjIFW33GamDdQd6x8Xt6vSc99scNHzTP HrYS7wfwBelOBZfNEn17LxVEmQhL1xJfsUcIkdLaUBWVb2tHQpIaA8GY7WAvyE9VN1Z/9v/Du5Rzm wgeZO64A==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mddlp-00DUnf-A3; Thu, 21 Oct 2021 19:31:02 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 82CFA986DD9; Thu, 21 Oct 2021 21:30:33 +0200 (CEST) Date: Thu, 21 Oct 2021 21:30:33 +0200 From: Peter Zijlstra To: Kees Cook Cc: Mark Rutland , Shuah Khan , Alexey Dobriyan , linux-kselftest@vger.kernel.org, Josh Poimboeuf , Andrew Morton , Alexey Gladkov , jannh@google.com, vcaputo@pengaru.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, christian.brauner@ubuntu.com, amistry@google.com, Kenta.Tada@sony.com, legion@kernel.org, michael.weiss@aisec.fraunhofer.de, mhocko@suse.com, deller@gmx.de, zhengqi.arch@bytedance.com, me@tobin.cc, tycho@tycho.pizza, tglx@linutronix.de, bp@alien8.de, hpa@zytor.com, axboe@kernel.dk, metze@samba.org, laijs@linux.alibaba.com, luto@kernel.org, dave.hansen@linux.intel.com, ebiederm@xmission.com, ohoono.kwon@samsung.com, kaleshsingh@google.com, yifeifz2@illinois.edu, linux-arch@vger.kernel.org, vgupta@kernel.org, linux@armlinux.org.uk, will@kernel.org, guoren@kernel.org, bcain@codeaurora.org, monstr@monstr.eu, tsbogend@alpha.franken.de, nickhu@andestech.com, jonas@southpole.se, mpe@ellerman.id.au, paul.walmsley@sifive.com, hca@linux.ibm.com, ysato@users.sourceforge.jp, davem@davemloft.net, chris@zankel.net, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] selftests: proc: Make sure wchan works when it exists Message-ID: <20211021193033.GW174703@worktop.programming.kicks-ass.net> References: <20211008235504.2957528-1-keescook@chromium.org> <202110211008.CC8B26A@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202110211008.CC8B26A@keescook> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 21, 2021 at 10:09:33AM -0700, Kees Cook wrote: > > Hi Peter, > > > > Can you add this to the wchan series, please? This should help wchan from > > regressing in the future, and allow us to notice if the depth accidentally > > changes, like Mark saw. > > --- > > I'd like to make sure we have a regression test for this. Will you add > this to the wchan series please? I have it there, but it's in the part that didn't make it in yet. I'm currently in the progress of reworking that. Do you want it it ahead of all that?