From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 30 16:05:27 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B24F463; Wed, 30 Jul 2014 16:05:27 +0000 (UTC) Received: from mail-vc0-x22d.google.com (mail-vc0-x22d.google.com [IPv6:2607:f8b0:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD071226D; Wed, 30 Jul 2014 16:05:26 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id hy10so2150366vcb.4 for ; Wed, 30 Jul 2014 09:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gAneBD/T3sN1Fs1rnBETZXF7eYf3ID55zC7Pa5KK1Dg=; b=fsm4gZNn+bMqzqgPUQWG8xi6mrWcDIrYP/9+zRtz6DkXe9XM7rzKrk5o8pHIffD7c4 sSGSwhFMxhR1HvalYBO0VjSn5Ezs/ZaPC+vk7Q3Gxtv8tBqxKuICKhiluCpJrzSgxLJm H+I+x8reFCOJ70BTcjg3UmyItwdOebrxOeY5rIDgtWRBjXgBjJzBurhCNpBftoaft2/F lklN10Fl2QS5UYDp5IE4czrZlfGKtg30WbRkA+Q8hxY1p7Ui7R7QPOY1nC/92ZACfADH ptjVMHiNWkIj/pmlwAvKBvM/EbFPtEzwL59tob2RqUTK55P5XucPCGh3k8FrzdiEEvJU wEHw== MIME-Version: 1.0 X-Received: by 10.220.196.207 with SMTP id eh15mr2528072vcb.78.1406736325697; Wed, 30 Jul 2014 09:05:25 -0700 (PDT) Received: by 10.220.192.68 with HTTP; Wed, 30 Jul 2014 09:05:25 -0700 (PDT) In-Reply-To: <53D8FB5D.2060509@freebsd.org> References: <53D8FB5D.2060509@freebsd.org> Date: Wed, 30 Jul 2014 12:05:25 -0400 Message-ID: Subject: Re: Allocation/free history From: suresh gumpula To: Julian Elischer X-Mailman-Approved-At: Wed, 30 Jul 2014 17:13:36 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 16:05:27 -0000 Hi Julian, Its our proprietary OS called Simple kernel and yes its in the kernel space allocator. Thanks Suresh On Wed, Jul 30, 2014 at 10:04 AM, Julian Elischer wrote: > On 7/29/14, 1:40 AM, suresh gumpula wrote: > >> Hi, >> Knowing the PC of an allocation is very usefull in debugging. Having >> the >> PC hash table and storing the pc hash either with an object itself( at >> the >> end) or allocate an exra structure to hold the >> hash index help us find out who/where an object was allocated. We >> already have something like this in our own operating system and has been >> a >> useful thing in debugging. >> > > what OS is that? > > I assume you are talking about in the kernel? > >