From patchwork Sat Sep 30 20:32:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 14761 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp569314vqb; Sat, 30 Sep 2023 13:38:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGabbb0J+o8np2OBoWuuN64RGZqSxfmtYNv+z4JQYeWM5YRRiTSVU/XM7lMWqleuzxFi7aY X-Received: by 2002:a9d:6289:0:b0:6c4:c026:a658 with SMTP id x9-20020a9d6289000000b006c4c026a658mr7955582otk.26.1696106309098; Sat, 30 Sep 2023 13:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696106309; cv=none; d=google.com; s=arc-20160816; b=TuA8KkY17uQAMeitP6xsDUyxU50rtXFjleFXgDt6zaN6ilvtjAExyKGdQIOjEWRFBl sUhLM2Uac5YgTnNe9mGnUQvg+LqztuDTUnbNMt++1ABYYY7Y57jwwqrB5kifgvRWb5+b On4D0vo0htQXQk62xZS6QXkX41tSsGU11OyaGRZpJYlL6FuV/qaAwC6TX+wI6EnLjUrx 2BxsRtwahrpqUX1cs/B77JYq+Gj2tsvba49u2D3Om9ynn0coXYzIvfERWsC6z5Qd1mmk L1Qk6aqRudJlwup3FedickEsxsdUxU+OKVeSl3hwo4g0BHZeJpaeiLyirwS503h81EPn vB4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:user-agent:message-id; bh=h6SdLVsMaHQfU2JD058xNYNe8berULcbUYQsVDiR27c=; fh=cY9HGbp9RiQ9xCYqjybSe1/cIiXVFs0Cn9z6ge1iyyY=; b=De/1mAN3h7LbjbdPWhiWjOamAUemqOF0HDPFmnaDmbsqhBXoKl15cgHvya4VpvHT7C 1KN2Q1yPnTcAIDxfT26RiSdEX6RnC2PA2KXzSzi8E3Ik8rwv2bvFkYAuvwKhSw4XsRzs lhvJFlhP2lLTNJ+n/VgKNzvukHrEGXy5VbcEg4M1SphLhrfNtCFIjg03AzAAlA0Y1mWB DdSmtio3lcX5BGOVjbGi0mtWERpDzQqeoAOU5ePTTJ85WD/bZuj84ZBe0AmaQVVF5TWD 2NK3XjaPA1kgjCU5TLdAUptvVpMa57H6j39QGyFZ22doGJDy+Uv2/RvX6gHOAg+XL/oi hmrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id n22-20020a63f816000000b0056f7592d732si23415551pgh.424.2023.09.30.13.38.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 13:38:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A64FE819E4FE; Sat, 30 Sep 2023 13:37:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232155AbjI3UhZ (ORCPT + 20 others); Sat, 30 Sep 2023 16:37:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230029AbjI3UhY (ORCPT ); Sat, 30 Sep 2023 16:37:24 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E301C4 for ; Sat, 30 Sep 2023 13:37:22 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CE71C433C7; Sat, 30 Sep 2023 20:37:22 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.96) (envelope-from ) id 1qmgjF-004Myu-1G; Sat, 30 Sep 2023 16:38:21 -0400 Message-ID: <20230930203213.826737400@goodmis.org> User-Agent: quilt/0.66 Date: Sat, 30 Sep 2023 16:32:13 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Andrew Morton Subject: [for-linus][PATCH 0/4] tracing: Fixes for v6.6-rc3 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,PP_MIME_FAKE_ASCII_TEXT,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 30 Sep 2023 13:37:36 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778496368708140104 X-GMAIL-MSGID: 1778496368708140104 Tracing fixes for v6.6-rc3: - Make sure 32 bit applications using user events have aligned access when running on a 64 bit kernel. - Add cond_resched in the loop that handles converting enums in print_fmt string is trace events. - Fix premature wake ups of polling processes in the tracing ring buffer. When a task polls waiting for a percentage of the ring buffer to be filled, the writer still will wake it up at every event. Add the polling's percentage to the "shortest_full" list to tell the writer when to wake it up. - For eventfs dir lookups on dynamic events, an event system's only event could be removed, leaving its dentry with no children. This is totally legitimate. But on eventfs_release() it must not access the children array, as it is only allocated when the dentry has children. git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace/urgent Head SHA1: 2598bd3ca8dcf5bbca1161ee5b271b432398da37 Beau Belgrave (1): tracing/user_events: Align set_bit() address for all archs Clément Léger (1): tracing: relax trace_event_eval_update() execution with cond_resched() Steven Rostedt (Google) (2): ring-buffer: Update "shortest_full" in polling eventfs: Test for dentries array allocated in eventfs_release() ---- fs/tracefs/event_inode.c | 2 +- kernel/trace/ring_buffer.c | 3 +++ kernel/trace/trace_events.c | 1 + kernel/trace/trace_events_user.c | 58 +++++++++++++++++++++++++++++++++++----- 4 files changed, 56 insertions(+), 8 deletions(-)