Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2011 06:25:13 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_exec.c kern_fork.c kern_ktrace.c src/sys/sys ktrace.h
Message-ID:  <201104020625.p326Pbx5037443@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

dchagin     2011-04-02 06:25:13 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/kern             kern_exec.c kern_fork.c kern_ktrace.c 
    sys/sys              ktrace.h 
  Log:
  SVN rev 220263 on 2011-04-02 06:25:13Z by dchagin
  
  MFC r219041:
  
  ktrace_resize_pool() locking slightly reworked:
  1) do not take a lock around the single atomic operation.
  2) do not lose the invariant of lock by dropping/acquiring
     ktrace_mtx around free() or malloc().
  
  MFC r219042:
  
  Introduce preliminary support of the show description of the ABI of
  traced process by adding two new events which records value of process
  sv_flags to the trace file at process creation/execing/exiting time.
  
  MFC r219311:
  
  Partially rework r219042.
  The reason for this is a bug at ktrops() where process dereferenced
  without having a lock. This might cause a panic if ktrace was runned
  with -p flag and the specified process exited between the dropping
  a lock and writing sv_flags.
  
  Since it is impossible to acquire sx lock while holding mtx switch
  to use asynchronous enqueuerequest() instead of writerequest().
  
  Rename ktr_getrequest_ne() to more understandable name.
  
  MFC r219312:
  
  Fix indentation in comment, double ';' in variable declaration.
  
  PR:             ports/155083
  
  Revision    Changes    Path
  1.308.2.16  +6 -0      src/sys/kern/kern_exec.c
  1.282.2.13  +4 -4      src/sys/kern/kern_fork.c
  1.121.2.6   +83 -29    src/sys/kern/kern_ktrace.c
  1.33.2.4    +17 -0     src/sys/sys/ktrace.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104020625.p326Pbx5037443>