search for: unfree

Displaying 16 results from an estimated 16 matches for "unfree".

Did you mean: u_free
2011 Mar 16
0
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
...ry is usage effectively ubounded. > > The issues were found using valgrind with '--show-reachable=yes' option: > 1. Compile a bunch of functions with JIT once; delete the result; and exit >   without destroying LLVM context nor JIT engine. (valgrind will report a >   bunch of unfreed LLVM objects) > 2. Do as 1, but compile and delete the functions twice > 3. Ditto three times. > 4. Etc. > > Flawless code should not cause the memory usage to increase when compiling the > same -- ie valgrind's log for every run should show the very same unfreed > objects...
2011 Mar 15
10
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
...y aren't the memory is usage effectively ubounded. The issues were found using valgrind with '--show-reachable=yes' option: 1. Compile a bunch of functions with JIT once; delete the result; and exit without destroying LLVM context nor JIT engine. (valgrind will report a bunch of unfreed LLVM objects) 2. Do as 1, but compile and delete the functions twice 3. Ditto three times. 4. Etc. Flawless code should not cause the memory usage to increase when compiling the same -- ie valgrind's log for every run should show the very same unfreed objects, regardless of the number of tim...
2010 Aug 12
4
can't unmount
I''m running into a situation where I can''t unmount a mounted snapshot. It shows "busy" even though neither lsof nor fuser show any open files. Umount -f doesn''t work although umount -l does. Is there anything else I can do to debug this scenario or to clear the busy status myself? Or am I down to rebooting each time? This is on stock ubuntu-10.04, x86.
2006 Oct 24
15
How to emit associative array after ^C
Boy am I a dummy. I want to simply dump out unfreed allocations when I terminate the script. What''s the secret sauce? #!/usr/sbin/dtrace -s pid$1::MyAlloc:return { bufs[arg1] = walltimestamp; } pid$1::MyFree:entry /bufs[arg0]/ { bufs[arg0] = 0; } This message posted from opensolaris.org
2011 Mar 15
0
[LLVMdev] [PATCH 1/5] Prevent infinite growth of the DenseMap.
From: José Fonseca <jfonseca at vmware.com> When the hash function uses object pointers all free entries eventually become tombstones as they are used at least once, regardless of the size. DenseMap cannot function with zero empty keys, so it double size to get get ridof the tombstones. However DenseMap never shrinks automatically unless it is cleared, so the net result is that certain
2013 Mar 02
0
[LLVMdev] memory leaks at compiler termination
...gt; Maybe I'm missing something here. Is it that necessary to have the compiler free everything? It usually makes sense to ensure all the allocated memory is still reachable (i.e. there are no uncontrollable leaks), but if there are pointers to that memory it should be fine to leave that memory unfreed to speed up the process shutdown. > Reed > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev -------------- next part -------------- An HTML...
2013 Mar 01
3
[LLVMdev] memory leaks at compiler termination
Does LLVM try and make sure that all memory is freed before compiler exit? For example, It seems like the ARM constant pool code that I'm reading will leave a lot of un-deallocated memory. Maybe I'm missing something here. Reed
2011 Jul 30
3
[Bug 1921] New: [Patch] memory leak in sftp-client.c
...rity: P2 Component: sftp AssignedTo: unassigned-bugs at mindrot.org ReportedBy: loganaden at gmail.com Created attachment 2071 --> https://bugzilla.mindrot.org/attachment.cgi?id=2071 Fix for memory leak in sftp-client.c in do_hardlink(), buffer_init(&msg) may be unfreed if the server does not support hardlink condition is met. Jonathan Armani (armani@) advises moving it down. Same thing happens in do_readlink(): if it's unable to readlink(), the function returns without freeing msg. I've attached a patch. This runs on both openbsd -current & portab...
2013 Mar 02
1
[LLVMdev] memory leaks at compiler termination
...ssing something here. > Is it that necessary to have the compiler free everything? > It usually makes sense to ensure all the allocated memory is still > reachable (i.e. there are no uncontrollable leaks), but if there are > pointers to that memory it should be fine to leave that memory unfreed to > speed up the process shutdown. It can be very important if you're using llvm/clang as a library instead of a stand-alone process. If a compilation does not free all of its memory and is repeatedly invoked, this can lead to increasing memory usage. I'm not saying this is the cas...
2016 Dec 01
2
Placement new and TBAA
On Sat, Nov 26, 2016 at 12:07 AM, Sanjoy Das <sanjoy at playingwithpointers.com > wrote: > So if you: > > 1. override operator delete to do nothing for that type (so that the > placement new actually has unfreed backing storage to re-use). > 2. have an empty destructor. > So, void *operator new(decltype(sizeof 0), void *) noexcept; struct MyInt { static void operator delete(void *) { } MyInt() { x = 0; } ~MyInt() { } int x; }; float *qq; void foo(void *p, void *q, long unk) { // unk =...
2016 Nov 26
5
Placement new and TBAA
> On Nov 25, 2016, at 4:17 PM, Daniel Berlin via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > > On Fri, Nov 25, 2016 at 6:10 AM, Hubert Tong <hubert.reinterpretcast at gmail.com <mailto:hubert.reinterpretcast at gmail.com>> wrote: > On Fri, Nov 25, 2016 at 1:42 AM, Daniel Berlin <dberlin at dberlin.org <mailto:dberlin at dberlin.org>> wrote:
2013 Aug 21
1
More browsers!
I'm running CentOS 6 on one machine, plus my wife's. She's OK with it, but every time I use it, I miss the glorious plethora of browsers that Fedora has gotten me used to. I have epel and rpmfusion (both free and unfree) enabled; is there some other repo I can safely add? -- Beartooth Implacable, Curmudgeonly Codger Learning Linux On the Internet, you can never tell who is a dog -- supposing you care -- but you can tell who has a mind.
2017 Feb 25
2
[Bug 99966] New: Crash of nouveau - cache related?
...et some wiser guys determine if there is a duplicate. And maybe it would not even apply to nouveau. I have a crash, happening after a few days of use, that I reproduce all the time after few days. I have not able to determine what could be the cause, but it may be because of the cache that ends up unfreed and lacking of space. The symptoms vary, but it doesn't necessarily make my xorg crash. I am commiting now, with the nouveau "crash", with firefox. So that means it is not a complete crash. But I can't launch vlc nor a Konsole. There is my setup: lspci -vvv gives this graphic ca...
2008 Jul 23
72
The best motherboard for a home ZFS fileserver
I''m a fan of ZFS since I''ve read about it last year. Now I''m on the way to build a home fileserver and I''m thinking to go with Opensolaris and eventually ZFS!! Apart from the other components, the main problem is to choose the motherboard. The offer is incredibly high and I''m lost. Minimum requisites should be: - working well with Open Solaris ;-) -
2004 Feb 06
4
memory reduction
...-0,0 +1,311 @@ +#include "rsync.h" + +#define POOL_DEF_EXTENT (32 * 1024) + +struct alloc_pool +{ + size_t size; /* extent size */ + size_t quantum; /* allocation quantum */ + struct pool_extent *live; /* current extent for + * 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;...
2009 Jan 29
19
ZFS extended ACL
What is wrong with this? # chmod -R A+user:webservd:add_file/write_data/execute:allow /var/apache chmod: invalid mode: `A+user:webservd:add_file/write_data/execute:allow'' Try `chmod --help'' for more information. This works in a zone, works on S10u5, does not work on OpenSolaris2008.11. CT