Message ID | 20240709150410.34624-1-natalia.saiapova@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 server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3C315386D607 for <patchwork@sourceware.org>; Tue, 9 Jul 2024 15:05:10 +0000 (GMT) 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 8D3D7386182A for <gdb-patches@sourceware.org>; Tue, 9 Jul 2024 15:04:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8D3D7386182A 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 8D3D7386182A 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=1720537488; cv=none; b=eGraPS/xdwt79/xdYMD8Exd8sHhkICnXf7dujr0cWnnKfEcEoFQWaKpAlGqJFLbuN1SKrhnDSsSMRLL04C6M0wFRWkqwzSKtHlIHzl6UmR5ImQj81RVqGfDxW9Xxz30pKAeygw08b6XkhMkjVIapksDwrtLAk2vZakO3BkBBqcU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720537488; c=relaxed/simple; bh=jGvxBVgqh5Yb2e5P8I9Vvo9XR1T0si8b2XCeLgR31iU=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=FtyW+6yJFuAjotAqXxR/CXRC17/VB2y0nHTDHUUZUbcGGz/BtDrMypS3Z7HDrkgLKPrI3vqCbgtMr4NZZJNCxQjV+cWeoTtL7/M/mpEVcSjDiIFirPslect/QpmKxt0Fb5jT/qxX0S/ZqwtgMyyaZboMgGi45/q+kRx8uJov63U= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1720537486; x=1752073486; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=jGvxBVgqh5Yb2e5P8I9Vvo9XR1T0si8b2XCeLgR31iU=; b=Nl7KfsUntoQoaG1D7SXxRCtkwBHl201mQJy4LCuR3t5xlvJW2fL/uevs SS2i396jG9FXv7RPCrTEhm9F2BIzNK06JfRl1c2Z2/gTYJ/NhMcniQnNG AtDvm1gkDUP/fhRgDUYCMuPLcx/W8G2bBcZ+JnRwNa+O6Ynq7Vk9mkUAJ NiUBL7RTFUJHgnM3gA+n51MgDdt3TVksa306gAFNy9UL26uLYYBLDZ+PO XY2hFty+wD+utN4YkTLg8szlmkyR5bwHiglD5jtiQzm20L4/wYPUkz+M5 3L8WkLvEtJHSPgz+vH/FnagLxuvO6zgKt6teGObFXRBZO0+AUj87vEg7Y w==; X-CSE-ConnectionGUID: wkTmBeciSi2O9rJZ6w16KQ== X-CSE-MsgGUID: AVnmB9sUT4+VQGBd49SrPg== X-IronPort-AV: E=McAfee;i="6700,10204,11128"; a="35231771" X-IronPort-AV: E=Sophos;i="6.09,195,1716274800"; d="scan'208";a="35231771" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2024 08:04:26 -0700 X-CSE-ConnectionGUID: W13bTtvHS2CCCI470cVMkw== X-CSE-MsgGUID: nZp2NweQS/26ck1IF9NEqw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,195,1716274800"; d="scan'208";a="48549040" Received: from dut1061atsm.igk.intel.com (HELO localhost) ([10.211.177.242]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2024 08:04:25 -0700 From: Natalia Saiapova <natalia.saiapova@intel.com> To: gdb-patches@sourceware.org Subject: [PATCH v2 0/6] Refinement of scheduler-locking settings Date: Tue, 9 Jul 2024 15:04:04 +0000 Message-Id: <20240709150410.34624-1-natalia.saiapova@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.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
Saiapova, Natalia
July 9, 2024, 3:04 p.m. UTC
Hi all, Here is the version 2 of the scheduler locking refinement patches. I rebased and updated them based on Tom's and Eli's feedback. The main difference with v1 is that there is an intermediate step of the refinement where I introduce the "non-step" option for all non-stepping commands, which then gets replaced with "eval" for function calls and "continue" for continuing commands. Also, I renamed "run" to "continue" to match the following manual page: https://sourceware.org/gdb/current/onlinedocs/gdb.html/Continuing-and-Stepping.html Regards, Natalia 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 | 401 +++++++++++++++--- .../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, 611 insertions(+), 122 deletions(-)
Comments
Hi all, Unfortunately, I won't be able to keep track on this patch series myself, but Klaus has kindly agreed to follow it up. Regards Natalia > -----Original Message----- > From: Natalia Saiapova <natalia.saiapova@intel.com> > Sent: Tuesday, July 9, 2024 5:04 PM > To: gdb-patches@sourceware.org > Subject: [PATCH v2 0/6] Refinement of scheduler-locking settings > > Hi all, > > Here is the version 2 of the scheduler locking refinement patches. > I rebased and updated them based on Tom's and Eli's feedback. > > The main difference with v1 is that there is an intermediate step of > the refinement where I introduce the "non-step" option for all non-stepping > commands, which then gets replaced with "eval" for function calls and > "continue" for continuing commands. Also, I renamed "run" to "continue" > to match the following manual page: > https://sourceware.org/gdb/current/onlinedocs/gdb.html/Continuing-and- > Stepping.html > > Regards, > Natalia > > 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 | 401 +++++++++++++++--- > .../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, 611 insertions(+), 122 deletions(-) > > -- > 2.25.1 > > Intel Deutschland GmbH > Registered Address: Am Campeon 10, 85579 Neubiberg, Germany > Tel: +49 89 99 8853-0, www.intel.de > Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva > Chairperson of the Supervisory Board: Nicole Lau > Registered Office: Munich > Commercial Register: Amtsgericht Muenchen HRB 186928 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928