From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18185 invoked by alias); 11 Dec 2009 17:28:26 -0000 Received: (qmail 18161 invoked by uid 9156); 11 Dec 2009 17:28:26 -0000 Date: Fri, 11 Dec 2009 17:28:00 -0000 Message-ID: <20091211172826.18150.qmail@sourceware.org> From: dsmith@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, rhel54, updated. release-0.9.7-13-g23aa036 X-Git-Refname: refs/heads/rhel54 X-Git-Reftype: branch X-Git-Oldrev: 9999ccbfe3c944256d3fab3cc82d18dba2cd30fb X-Git-Newrev: 23aa0369382f6589521ae66a84a9a1b5cc119823 Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2009-q4/txt/msg00211.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "systemtap: system-wide probe/trace tool". The branch, rhel54 has been updated via 23aa0369382f6589521ae66a84a9a1b5cc119823 (commit) from 9999ccbfe3c944256d3fab3cc82d18dba2cd30fb (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 23aa0369382f6589521ae66a84a9a1b5cc119823 Author: David Smith Date: Fri Dec 11 11:27:12 2009 -0600 PR10854: Use a mutex around transport startup/shutdown We had a race where the probe setup could be called during/after the probe shutdown in abnormal circumstances, which leads to kernel callbacks still registered after module unload. (BOOM) Now the setup/shutdown activities and related flags are guarded by a mutex, so we should have strict ordering. * runtime/transport/transport.c (_stp_transport_mutex): New. (_stp_handle_start): Grab the mutex, and make sure we're not exiting. (_stp_cleanup_and_exit): Grab the mutex. (_stp_lock_inode, _stp_unlock_inode): Use kernel version for checking inode locking type. ----------------------------------------------------------------------- Summary of changes: runtime/transport/transport.c | 41 +++++++++++++++++++++++++---------------- 1 files changed, 25 insertions(+), 16 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool