From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 924D9C3DA54 for ; Thu, 17 Aug 2023 16:22:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353614AbjHQQV5 (ORCPT ); Thu, 17 Aug 2023 12:21:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353605AbjHQQV3 (ORCPT ); Thu, 17 Aug 2023 12:21:29 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CBDD173F for ; Thu, 17 Aug 2023 09:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692289242; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LKsXf14yPomkD3tSZWQknLH0bmhrzoGBJO+LGRQq7Mg=; b=Kz9EzCIQd4zMaqYvD/FC9+ZF4WN6WqQ+PTan4aqJXkhe2PSVDQUkvtEZszvFvQkgB/riEe MICmTY6buvgeIAeR43kRzVjfnNDE4XeJ1weoaS+Oe3Hj4GEYsbZmziNLzhM+GFga9sbVAi 5pS0+sP7Of8O6hh81hZzUDcKOMOuogI= Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-148-e5jtcWMRP6mhMfLTjIMZVQ-1; Thu, 17 Aug 2023 12:20:35 -0400 X-MC-Unique: e5jtcWMRP6mhMfLTjIMZVQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B851B3C0D86D; Thu, 17 Aug 2023 16:18:07 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.45.224.39]) by smtp.corp.redhat.com (Postfix) with SMTP id 38C5EC15BAE; Thu, 17 Aug 2023 16:18:03 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 17 Aug 2023 18:17:23 +0200 (CEST) Date: Thu, 17 Aug 2023 18:17:18 +0200 From: Oleg Nesterov To: "Eric W. Biederman" Cc: Kees Cook , Brendan Higgins , David Gow , Petr Skocik , Peter Zijlstra , Thomas Gleixner , Jens Axboe , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, Frederic Weisbecker , Dmitry Vyukov , Mike Christie , Marco Elver , Luis Chamberlain , Al Viro , "haifeng.xu" , Mathieu Desnoyers , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] [RFC] signal: Add KUnit tests Message-ID: <20230817161718.GA4121@redhat.com> References: <20230814210508.never.871-kees@kernel.org> <87bkf68g5m.fsf@email.froward.int.ebiederm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87bkf68g5m.fsf@email.froward.int.ebiederm.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/16, Eric W. Biederman wrote: > > Arguably we can skip this as well. There are only 3 uses of > do_each_thread (pivot_root, SAK, and ia64 backtrace) and they all should > be changed to be for_each_process_thread. Hmm. I thought that do_each_thread() was already killed ... Let me send the trivial patch. We also need to kill (or rework) while_each_thread() and next_thread(), I'll try to do this tomorrow. Oleg.