Re: [Qemu-devel] [PATCH v6] linux-user/syscall.c: malloc()/calloc() to g_malloc()/g_try_malloc()/g_new0()

2015-10-12 Thread Harmandeep Kaur
On Mon, Oct 12, 2015 at 6:36 PM, Riku Voipio wrote: > Please use git send-email next time, I needed to manually fix the patch to > apply. > Sorry for that. I will keep in mind next time. > > Applied to linux-user, thanks. > Welcome :)

Re: [Qemu-devel] [PATCH v6] linux-user/syscall.c: malloc()/calloc() to g_malloc()/g_try_malloc()/g_new0()

2015-10-12 Thread Riku Voipio
On tiistaina 6. lokakuuta 2015 19.17.12 EEST, Harmandeep Kaur wrote: Convert malloc()/ calloc() calls to g_malloc()/ g_try_malloc()/ g_new0() All heap memory allocation should go through glib so that we can take advantage of a single memory allocator and its debugging/tracing features. Please

Re: [Qemu-devel] [PATCH v6] linux-user/syscall.c: malloc()/calloc() to g_malloc()/g_try_malloc()/g_new0()

2015-10-08 Thread Stefan Hajnoczi
On Tue, Oct 06, 2015 at 09:47:12PM +0530, Harmandeep Kaur wrote: > Convert malloc()/ calloc() calls to g_malloc()/ g_try_malloc()/ g_new0() > > All heap memory allocation should go through glib so that we can take > advantage of a single memory allocator and its debugging/tracing features. > > Si

[Qemu-devel] [PATCH v6] linux-user/syscall.c: malloc()/calloc() to g_malloc()/g_try_malloc()/g_new0()

2015-10-06 Thread Harmandeep Kaur
Convert malloc()/ calloc() calls to g_malloc()/ g_try_malloc()/ g_new0() All heap memory allocation should go through glib so that we can take advantage of a single memory allocator and its debugging/tracing features. Signed-off-by: Harmandeep Kaur --- v1->v2 convert the free() call in host_to_