search for: n_allocated

Displaying 7 results from an estimated 7 matches for "n_allocated".

Did you mean: nr_allocated
2012 Jan 10
2
plug leaks in febootstrap
Hi Rich, I ran coverity against febootstrap's head and it spotted four leaks. This fixes them. The first patch plugs three. The second attempts to make the add_link function do what I'm guessing it was intended to do. As is, it was a no-op. >From 7c2ff55613598a1295e213cef36600ad61da7ed6 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Tue, 10 Jan 2012
2009 Nov 13
0
[LLVMdev] opt -std-compile-opts breaks tail calls
On Nov 13, 2009, at 3:34 AM, Jon Harrop wrote: >> Point 4 is the one that caused me trouble for some time. >> Unfortunately >> it causes a bad interaction with the optimiser, specifically the >> 'simplifycfg' pass. What seems to happen is that since the function >> you are calling is marked with 'noreturn', the simplifycfg pass will >> then
2009 Nov 13
2
[LLVMdev] opt -std-compile-opts breaks tail calls
...= sext i32 %5 to i64 ; <i64> [#uses=1] %11 = getelementptr %0* %9, i64 %10 ; <%0*> [#uses=1] store %0 %4, %0* %11 %12 = add i32 %5, 1 ; <i32> [#uses=1] store i32 %12, i32* @shadow_stack_depth %13 = load i32* @n_allocated ; <i32> [#uses=1] %14 = load i32* @quota ; <i32> [#uses=1] %15 = icmp sgt i32 %13, %14 ; <i1> [#uses=1] br i1 %15, label %fail, label %cont fail: ; preds = %entry %...
2009 Nov 13
2
[LLVMdev] opt -std-compile-opts breaks tail calls
On Friday 13 November 2009 04:57:43 David Terei wrote: > I've run into some issues with tail calls in the past, make sure you > are doing the following: > > 1. Call should be marked with tail (obviously) > 2. Next statement after tail call should be 'return void' > 3. Use fast call convention for tail calls > 4. Make sure the function you are calling doesn't
2004 Feb 06
4
memory reduction
...allocations */ + struct pool_extent *free; /* unfreed extent list */ + void (*bomb)(); + /* function to call if + * malloc fails */ + int flags; + + /* statistical data */ + unsigned long e_created; /* extents created */ + unsigned long e_freed; /* extents detroyed */ + uint64 n_allocated; /* calls to alloc */ + uint64 n_freed; /* calls to free */ + uint64 b_allocated; /* cum. bytes allocated */ + uint64 b_freed; /* cum. bytes freed */ +}; + +struct pool_extent +{ + void *start; /* starting address */ + size_t free; /* free bytecount */ + size_t bound; /* bytes bound...
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
--- .gitignore | 6 +- .gitmodules | 3 - HACKING | 41 +++ Makefile.am | 6 +- README | 7 +- TODO | 61 +--- autobuild.sh | 65 ---- autogen.sh | 12 - configure.ac | 27
2010 Mar 11
2
[PATCH FOR DISCUSSION ONLY] Rewrite libguestfs-supermin-helper in C.
This needs loads more testing before we include it. However it's in good shape for testing and review. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/ -------------- next part