Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp975807pxb; Thu, 21 Oct 2021 13:11:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkcAk0NdfJFUmjloIs/lLC0RQB0qTg+9D0EH86tu6azXGkTDnSP3Ax0gEL1xzWISJfWms8 X-Received: by 2002:a17:90b:1d85:: with SMTP id pf5mr8940058pjb.64.1634847118731; Thu, 21 Oct 2021 13:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634847118; cv=none; d=google.com; s=arc-20160816; b=ykzbOijm9qQcc6XorIDxQkJaLeMPHSGTJTmJkfWF7qWLA1mcE3hH39xsRgWAzFC8/0 QvwrG73AzLTt4zcoYVKZMfaApwuETrBybEmkVUS94FkUWU5XHG4mM0osaCllKW/vj/g0 djR1MrilLNLmHSDoV8LlTjUSvsDwdZoolG9xBVB87KuRe0Tu0vAwBINJI+Fl3h8anOwX 8SomaI7ALZopHH60IgBkpf7xvl/GocIOl6mWMalmB3W042XSrJ+mHsvL356/IoqPYxEH oq4ffBAMMZhEZD2uQjqqj1xNuLRC0zvB+3gtIsvUf7Q5J1jHq7MMeFJlKG7n553Uu7z7 TnCg== 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=s1+yeGZaBzg+DezicZ/S6RHWxeVrK0TuafKlv+G0xjQ=; b=iFX0nbDNVl7BZO5hPK1+ezRWKbvtEm/VYisWpeZvPvduSG+M/TKh02eW6UnCcl3MxC ph/3Pe//y2U1ueHO2mRM6UVIOMZrOBjUr+Ip05wnDinHIVs7PvqxIHrgTrnchhXFI1Mv H/pwKnp0AS6yAlzj2OYxqb3CfwwjEFg9zkLMcjfHynxi68QTaigqqfc4lgGma5nC5l37 DOEcp4sz2J05NSNWGjwxA/YTV3YbLWSgvSbI2uNmTIywRkSLUwj/GUz7rvPAMotAaNXE +0djB9n9N6snq1MBAYJ185mE9kkr7gxW9IvfKusy3Pd9/MlD1RAy5kcaV5E715+x8tvC VeKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EVANbVhu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id om4si14344254pjb.12.2021.10.21.13.11.45; Thu, 21 Oct 2021 13:11:58 -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=@chromium.org header.s=google header.b=EVANbVhu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231579AbhJUUMl (ORCPT + 99 others); Thu, 21 Oct 2021 16:12:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231206AbhJUUMh (ORCPT ); Thu, 21 Oct 2021 16:12:37 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DADBFC061764 for ; Thu, 21 Oct 2021 13:10:20 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id w17so1180740plg.9 for ; Thu, 21 Oct 2021 13:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=s1+yeGZaBzg+DezicZ/S6RHWxeVrK0TuafKlv+G0xjQ=; b=EVANbVhuKeeWYQIcn7fQOXbd1T2PwQDfbVieAkktbi+BjSgOHLLzFKAPgw4SV4AHbN mFbenZ0P/2cuckeJEs+U5N7XMQ6Th8ZYlWsvNijcJ6uthuX2rDJOE5u5YKi8XJW7IOV/ 6eQFtmVgdxEToNtR0hrlXfpEANf+fgtYlACP8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=s1+yeGZaBzg+DezicZ/S6RHWxeVrK0TuafKlv+G0xjQ=; b=C7qXheFtkFwlNpRBmyPeyB7mV7YnVOmFs3XxTaFIIvTrCeuT3aVAyhM1KPcxQjtG9f hxoNzZkLfLiXgGgEEvjTZdUfdphhlF3RV9oHKYiL2PLQs1YUtaUWYbqy0hx0UEzlH+xO +pXxynzspLdQQnCaW9qDyKlIIuEaCJYj4ldaFsM3kXyHzj99GPSE8kJn3Sht4I/rmX1F faBO0cDL2rMDvvLGR3pFjDNaJVhyrhbl2EEK8+DWRfpYn44j4mO/HTByh2nRsZF+V3Zf aXSuk0kW7gVQFD77mQkb/F5Z9LBSmecxxb2BzisvhQknd/nIQBZWJ5nYCxbe5GQjexmo tC0Q== X-Gm-Message-State: AOAM531vwolQfFpYxmYPFTBlGcJxLCx5khfI3cg545KnxS6xk8wuUQnt g6Ay6OVMTYXSSFb5yv9QLAG+Kw== X-Received: by 2002:a17:903:1c6:b0:13f:2b8:afe8 with SMTP id e6-20020a17090301c600b0013f02b8afe8mr7205298plh.81.1634847020362; Thu, 21 Oct 2021 13:10:20 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id b130sm7124117pfb.9.2021.10.21.13.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Oct 2021 13:10:20 -0700 (PDT) Date: Thu, 21 Oct 2021 13:10:19 -0700 From: Kees Cook To: Peter Zijlstra 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: <202110211309.A4DFAE27@keescook> References: <20211008235504.2957528-1-keescook@chromium.org> <202110211008.CC8B26A@keescook> <20211021193033.GW174703@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211021193033.GW174703@worktop.programming.kicks-ass.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 21, 2021 at 09:30:33PM +0200, Peter Zijlstra wrote: > 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? Nah, that's fine. I'm not in any rush; I just wanted to make sure it didn't get lost. I didn't realize it was already there (I had only seen the -tip emails). Sorry for the noise; thanks! -Kees -- Kees Cook