From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7358 invoked by alias); 9 Dec 2011 15:09:00 -0000 Received: (qmail 7345 invoked by uid 22791); 9 Dec 2011 15:08:57 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_MJ X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Dec 2011 15:08:45 +0000 From: "mjw at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/11671] Allocate __stp_tf_vma_entry dynamically Date: Fri, 09 Dec 2011 16:58:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mjw at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2011-q4/txt/msg00333.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=11671 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Mark Wielaard 2011-12-09 15:08:14 UTC --- commit c2537ee6d68b2358e8f74cc5413772915e5742d6 Author: Mark Wielaard Date: Fri Dec 9 10:46:20 2011 +0100 PR11671 Allocate __stp_tf_vma_entry dynamically. Get rid of TASK_FINDER_VMA_ENTRY_ITEMS and __stp_tf_vma_free_list_items array list completely. All __stp_tf_vma_entry are allocated dynamically now. This is possible since stap_add_vma_map_info() is only called through the task_finder from a user context. There is no more fixed maximum number of VMA pages that will be tracked at runtime. This reduces memory use for those scripts that don't need any, or only limited target process VMA tracking and allows easier system wide probes inspecting shared library variables and/or user backtraces. stap will now silently ignore -DTASK_FINDER_VMA_ENTRY_ITEMS. Plus some follow up commits to fix some corner cases (3dde67, 972ea1 and 7fbefb) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.