Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4392895rwe; Mon, 17 Apr 2023 11:55:54 -0700 (PDT) X-Google-Smtp-Source: AKy350az26uHwsNTMjJPbPs2JahKyRXYUNG/gwCuKjClAhapRpu0mk/P+zmtdNLRawzuLjxdx/Kz X-Received: by 2002:a17:90a:e7cc:b0:247:8b7d:743f with SMTP id kb12-20020a17090ae7cc00b002478b7d743fmr4843408pjb.21.1681757754385; Mon, 17 Apr 2023 11:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681757754; cv=none; d=google.com; s=arc-20160816; b=Wto7JRdNgc9AMdqZwx4enuhkxWyM36oD78nbaU0SMu55La6hIbCr2miJVCP95EMf83 vrXI3mBh0rxw7l1tx8Fnoe5g/zYYJ7NVLvwQOhxJ43TtmHu/ikuCfzhpw9EDQpUjfTJH fkaZ6EKN+A9Ijc0bJ6kmHWI0AreGUgTI50l6R+ITEP2ymNZqxC9qKK9Mc18v3ArEVwAR J9LK+fImdm9cORsJ4VquWczD5Pj9n+0OLDTeuezJBx2IoJTFjWC6pxdBu5PUtwRBEXJa R4HHNC7mxLotLGgD6wiYGaYyJAhiLMH+jYhD4Erg4tkDU3ifwc8zQ1orIqn4ZyeusbiT u9Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=YunkTEAGlh+/jXszudVUlMXCZrcBZh4SjjTldlTI43U=; b=aFKeJuDdIBT4ISfCPYK5NZpRsQRUE3lDX/ZKDSHd+rm4LOnLLr/nJ+BMpaPnYbSWWh emBO7X5PhpiRio6XRnFE4RCuKDW78yM6Kq2rsqm6pgbq3UD44NRQnS5OlburIipE4spi 3qTwKmgQLsp76MSKHbdbDDT9i+0IN5rKhcaOa54PI42uVs9aKiKH2Prgn1mGuy/cXEp6 QtCOnv67zmirwcEQvDQnDhRiTWSFYxRr5LCZfzPGmlhFEnQ+/F9mMfuRC1fRaKg+Wvho Ks9ax0ZQzRbyWVgd6kxRswpzApQ4H2O1QF6SaaOknmCDAd0fLr5R4j03j0qqffAJiwWw aAcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NYJtRMcl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nv8-20020a17090b1b4800b0024696759991si5828791pjb.47.2023.04.17.11.55.43; Mon, 17 Apr 2023 11:55:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NYJtRMcl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230105AbjDQSyo (ORCPT + 99 others); Mon, 17 Apr 2023 14:54:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbjDQSym (ORCPT ); Mon, 17 Apr 2023 14:54:42 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 187385246 for ; Mon, 17 Apr 2023 11:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681757639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YunkTEAGlh+/jXszudVUlMXCZrcBZh4SjjTldlTI43U=; b=NYJtRMclpHHKAht/9BAhg52BN8WKvVhUAuqSyjkr7NgFv7LpUGJfLQGuCI0B7t+JB/37JJ SOEkhD6RD3RjsjV2iLBG9nKpkbcgEJYS0A4zYHnPo7OTm95ab9oE3BcWG8MNADCLb52foE aUCeJBRHMV2squqjHIhOI8YpuracOns= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [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-551-6Zw7jsvEMK-OVxvVaG2OBw-1; Mon, 17 Apr 2023 14:53:49 -0400 X-MC-Unique: 6Zw7jsvEMK-OVxvVaG2OBw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BE81538145BD; Mon, 17 Apr 2023 18:53:47 +0000 (UTC) Received: from [10.18.17.153] (dhcp-17-153.bos.redhat.com [10.18.17.153]) by smtp.corp.redhat.com (Postfix) with ESMTP id CB13B492B0F; Mon, 17 Apr 2023 18:53:46 +0000 (UTC) Message-ID: Date: Mon, 17 Apr 2023 14:53:46 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v6 3/3] treewide: replace put_task_struct() witht the atomic safe version Content-Language: en-US To: Wander Lairson Costa , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Will Deacon , Boqun Feng , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , "Eric W. Biederman" , Michael Ellerman , Brian Cain , Kefeng Wang , Oleg Nesterov , Andrew Morton , "Liam R. Howlett" , Christian Brauner , Vlastimil Babka , Andrei Vagin , Shakeel Butt , open list , "open list:PERFORMANCE EVENTS SUBSYSTEM" References: <20230414125532.14958-1-wander@redhat.com> <20230414125532.14958-4-wander@redhat.com> From: Waiman Long In-Reply-To: <20230414125532.14958-4-wander@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/14/23 08:55, Wander Lairson Costa wrote: > In places where put_task_struct() is called in a non-sleepable context, > we replace those calls by put_task_struct_atomic_safe(). > > These call sites were found by running internal regression tests and > looking for warnings generated by put_task_might_resched(). > > Signed-off-by: Wander Lairson Costa > Cc: Valentin Schneider > --- > kernel/events/core.c | 6 +++--- > kernel/locking/rtmutex.c | 10 +++++----- > kernel/sched/core.c | 6 +++--- > kernel/sched/deadline.c | 16 ++++++++-------- > kernel/sched/rt.c | 4 ++-- > 5 files changed, 21 insertions(+), 21 deletions(-) Typo "witht" in your patch title. Cheers, Longman