From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19297 invoked by alias); 30 Oct 2009 07:29:40 -0000 Received: (qmail 19162 invoked by uid 48); 30 Oct 2009 07:29:22 -0000 Date: Fri, 30 Oct 2009 07:29:00 -0000 Message-ID: <20091030072922.19161.qmail@sourceware.org> From: "ananth at in dot ibm dot com" To: systemtap@sources.redhat.com In-Reply-To: <20091029165749.10869.jistone@redhat.com> References: <20091029165749.10869.jistone@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug kprobes/10869] kretprobes waste a lot of memory on kretprobe_instances X-Bugzilla-Reason: AssignedTo 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: 2009-q4/txt/msg00369.txt.bz2 ------- Additional Comments From ananth at in dot ibm dot com 2009-10-30 07:29 ------- Created an attachment (id=4344) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4344&action=view) Be smarter in allocating kretprobe instances All along, kretprobes would allocate NR_CPU kretprobe_instance structures. Use a more logical num_possible_cpus() instead. If this patch is acceptable, I'll post it upstream. Jim, Masami? -- http://sourceware.org/bugzilla/show_bug.cgi?id=10869 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.