| Message ID | 20251213143709.301799-1-christina.schimpe@intel.com |
|---|---|
| Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id ACBC34BA2E32 for <patchwork@sourceware.org>; Sat, 13 Dec 2025 14:38:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACBC34BA2E32 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=D/i6hbcO X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by sourceware.org (Postfix) with ESMTPS id F1B7D4BA2E05 for <gdb-patches@sourceware.org>; Sat, 13 Dec 2025 14:37:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F1B7D4BA2E05 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F1B7D4BA2E05 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765636641; cv=none; b=o+NUcyoQ3ijNzjaIB7uSxqKQkJOP5Kxlcq54RScrG+qVnsq7AI7jsjBwiNcNB8u0G2GIOYtfN+0XTwCwwUF9FKfpvqbtOB72sevwAxZEyc6eMOyY9Dr7eViPohgwzVjBsOSIIwKOVr0r1rvtfrCkVlr/SYC8KNDHw26ipL0orVw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765636641; c=relaxed/simple; bh=y7Et4fltaq79OlFtpFS7vFzP55haueG5rgHefZEU57M=; h=DKIM-Signature:MIME-Version:From:To:Subject:Date:Message-Id: MIME-Version; b=jdTtG6hiic/ICYc9Bu+/c1YDOV6I34+7x/NEhN1AwFYJRbNAXn47xMPQ7VGHsJRkGOn4W9+Kk1Od5GVEqCC+HGXZOcG3tVersZzj5qX5JRAxOq68H6OeYKrD1ywMsasxEEqdfGXqreq8N+8BBlp1q7dlwPRsZy4dESb8c9ggGU8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1B7D4BA2E05 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1765636642; x=1797172642; h=from:to:cc:subject:date:message-id; bh=y7Et4fltaq79OlFtpFS7vFzP55haueG5rgHefZEU57M=; b=D/i6hbcORusZGrO5q00Cyz0RhLtnCxiChEpnDe4L9GNtyZrQPLiNkBxg NXy6m5d7XQ0bH6yNSBkfCUNYNIDf7LFA6Y/Tnj+jZM+iWGPMKlUW3iSVg /zkJhEbINrqNdnuxYTIA9PRdGwlT8w9EnnOhe19/2HBGQUC4rurCTaLkf DhYque/TLqRTs3NvVdgyU15lZb/uLTL3Jp2cgB9ad0nZI6FE5RgEX3IPt OT14Adq2srTXzSrHqYEDCu/lFVJeyZ1cODqCasULb+aeISiBngAg30g57 rtBk2rd/Y/dqv+dgQmZFEjR/8p1vLm7z5k8WJnOrRg9oVO6j8OB1NaPJz w==; X-CSE-ConnectionGUID: c0KdR4ChSvilkViJPedO6A== X-CSE-MsgGUID: Lj2GCi/YSkiC6jqm30D9OQ== X-IronPort-AV: E=McAfee;i="6800,10657,11641"; a="85020309" X-IronPort-AV: E=Sophos;i="6.21,146,1763452800"; d="scan'208";a="85020309" Content-Type: multipart/mixed; boundary="===============5485566842914416519==" MIME-Version: 1.0 Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2025 06:37:20 -0800 X-CSE-ConnectionGUID: 8ycHi9cHRJGp7WFGAZoocw== X-CSE-MsgGUID: +eGlJTfCQ5KXt2WC2Qbz6w== X-ExtLoop1: 1 Received: from gkldtt-dev-004.igk.intel.com (HELO localhost) ([10.123.221.202]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2025 06:37:19 -0800 From: Christina Schimpe <christina.schimpe@intel.com> To: gdb-patches@sourceware.org Cc: klaus.gerlicher@intel.com, guinevere@redhat.com Subject: [PATCH v4 0/6] Refinement of scheduler-locking settings Date: Sat, 13 Dec 2025 14:37:03 +0000 Message-Id: <20251213143709.301799-1-christina.schimpe@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE, SPF_NONE, TXREP, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
Refinement of scheduler-locking settings
|
|
Message
Schimpe, Christina
Dec. 13, 2025, 2:37 p.m. UTC
I rebased this on Klaus' behalf to make the review easier, since there are conflicts with current master for v3, as Guinevere points out (thanks again!). https://sourceware.org/pipermail/gdb-patches/2025-December/223164.html So besides the resolved conflicts (mainly with patch #1), this series did not change. Changes since v3: Adapt patch #1, to adapt for upstream master changes: schedlock_applies (bool step) -> schedlock_applies (bool step, bool record_will_replay) Thanks, Christina Natalia Saiapova (6): gdb: use schedlock_applies in user_visible_resume_ptid. gdb, cli: remove left-over code from "set_logging_on". gdb, cli: pass the argument of a set command to its callback. gdb: change the internal representation of scheduler locking. gdb: refine commands to control scheduler locking. gdb: add eval option to lock the scheduler during infcalls. gdb/NEWS | 25 ++ gdb/cli/cli-logging.c | 5 - gdb/cli/cli-setshow.c | 2 +- gdb/doc/gdb.texinfo | 82 +++- gdb/infrun.c | 415 +++++++++++++++--- .../gdb.mi/user-selected-context-sync.exp | 23 +- .../gdb.threads/hand-call-in-threads.exp | 12 +- .../multiple-successive-infcall.exp | 7 +- gdb/testsuite/gdb.threads/schedlock.exp | 105 ++++- gdb/testsuite/lib/gdb.exp | 71 ++- 10 files changed, 626 insertions(+), 121 deletions(-)