Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2262723pxb; Fri, 8 Oct 2021 04:27:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2l9H7jdv9gkwlsMEyr3kGWIgh0RZyc01YzQObDYpyXktwqpsWti4wvLSxVWaP2LpG5UFE X-Received: by 2002:a17:903:124f:b0:13e:25e6:f733 with SMTP id u15-20020a170903124f00b0013e25e6f733mr8824816plh.42.1633692464286; Fri, 08 Oct 2021 04:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633692464; cv=none; d=google.com; s=arc-20160816; b=RmkDaxzy4gsjWKBUxweINVeNTjDGqNlCoFboC9GZe4+NwbQxn5/lJ7mTzxIBhPoOrh 6TL6XaSdZj7TYstzn/N1a2sP1uosA985ZR3XwrAfrvMlLVvT2gNZrLYNQT3FMehkr2HA Y/eqUS5LJgB5MZs/p906qG1Kzc1Nr+sXNBDXfjmF2k6pw8ak2/GBMwfKmLdBg37Ieq98 i8Yh3zdF2tEBpj3zIBmyrt27vsbqN6wS25HL0f05VXe89OFmZwVSnSpnJihRlYrMMMLi UgyaNwGUt6dIiraRzWxCEH9GLPo4uA57XCbXCcLFAZJgQSW3TOwi1U3XuVwj1FNNBUuc eaBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=0PjIYnfhy9JPfwuH1borR6uzGu121ZxVTnsPHIR1D60=; b=L4YT/VvXs/q5DETieJgVCADPgdJlo7BmU6MX/ItPM0bi/GdzvkT0vTDbQH6q+xkkUX z2f47+6q8hZEBB+RQNTJcIt+n4voFCTaz48M6PWWpZ0f2ZjRyettm0Ub037Gdc+i3Rup BWK05Wq5uOXZGhVujiMZQv6GCHAE02TVCLaUf/xDyXgHj2CGZc3odVP3q7mH2dz/kyBR xoLawztyukGIHULBhbvUl3ViOiAU8/gnn4PhMYpy1AlscfV10HHYDam2ALTx+oiK2Ei0 WYmzScvkZrW97g4zRGzXjC7WoL5dEWBtasjdVSjnGBk/0tfba78lrgWrFWHKVKIM/BP2 jxGw== ARC-Authentication-Results: i=1; mx.google.com; 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 u3si3039570plq.96.2021.10.08.04.27.31; Fri, 08 Oct 2021 04:27:44 -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; 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 S240222AbhJHL2d (ORCPT + 99 others); Fri, 8 Oct 2021 07:28:33 -0400 Received: from mail-ua1-f50.google.com ([209.85.222.50]:42557 "EHLO mail-ua1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbhJHL2b (ORCPT ); Fri, 8 Oct 2021 07:28:31 -0400 Received: by mail-ua1-f50.google.com with SMTP id c33so6483503uae.9; Fri, 08 Oct 2021 04:26:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0PjIYnfhy9JPfwuH1borR6uzGu121ZxVTnsPHIR1D60=; b=0VCoAG3iBRkON5TbAPG2geJUxQ6xJsJ+mT64KWyBxV9Y+k71/hYDE+cy6JqK/UmL90 Hi2n+iI3pqaTPx0kP5Jxyg5mNdyBSO69c4qYD1wDrX38RKcrMtH8LI8oGUtQyw+YPsFN ZGIgGMujFmlyQDvneRs4Is0GABZUfPtfFiXkOPsh/fE27u3OWRCF3OJHXWjpCJ6ItCIE zxMHrvXzuJDZMeR26UAvbGjVAJ5GJuYK0DEm6tqb5HPywApXSo3zzuMoT/DaBZGbqfF0 c2r8C335h2TH1I9QN9fK9ob5mYJr+n3SKWi1L9NWYIwaIJodB1SB2wmjiLMVX30ZxcNx EGig== X-Gm-Message-State: AOAM530EhvxMg1UpOGmZiEPCI0/Et1Y+tj27dPDyCqkYke+qilwtcJM3 5/C3GGYOLP/x73n24JnxoCV6cf6Vmd68xaPzK5k= X-Received: by 2002:ab0:58c1:: with SMTP id r1mr1876640uac.89.1633692395608; Fri, 08 Oct 2021 04:26:35 -0700 (PDT) MIME-Version: 1.0 References: <20211008111527.438276127@infradead.org> <20211008111626.332092234@infradead.org> In-Reply-To: <20211008111626.332092234@infradead.org> From: Geert Uytterhoeven Date: Fri, 8 Oct 2021 13:26:24 +0200 Message-ID: Subject: Re: [PATCH 5/7] sched: Add wrapper for get_wchan() to keep task blocked To: Peter Zijlstra Cc: Kees Cook , Jann Horn , Linux Kernel Mailing List , vcaputo@pengaru.com, Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Andrew Morton , Christian Brauner , amistry@google.com, Kenta.Tada@sony.com, legion@kernel.org, michael.weiss@aisec.fraunhofer.de, Michal Hocko , Helge Deller , zhengqi.arch@bytedance.com, "Tobin C. Harding" , Tycho Andersen , Thomas Gleixner , Borislav Petkov , "H. Peter Anvin" , Mark Rutland , Jens Axboe , metze@samba.org, laijs@linux.alibaba.com, Andy Lutomirski , Dave Hansen , "Eric W. Biederman" , ohoono.kwon@samsung.com, kaleshsingh@google.com, YiFei Zhu , Josh Poimboeuf , linux-hardening@vger.kernel.org, Linux-Arch , Vineet Gupta , Russell King , Will Deacon , Guo Ren , Brian Cain , Michal Simek , Thomas Bogendoerfer , Nick Hu , Jonas Bonn , Michael Ellerman , Paul Walmsley , Heiko Carstens , Yoshinori Sato , "David S. Miller" , Chris Zankel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 8, 2021 at 1:20 PM Peter Zijlstra wrote: > From: Kees Cook > > Having a stable wchan means the process must be blocked and for it to > stay that way while performing stack unwinding. > > Suggested-by: Peter Zijlstra > Signed-off-by: Kees Cook > Signed-off-by: Peter Zijlstra (Intel) > arch/m68k/include/asm/processor.h | 2 +- > arch/m68k/kernel/process.c | 4 +--- Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds