[PATCH v2] kdb: Get rid of custom debug heap allocator

2021-03-23 Thread Sumit Garg
Currently the only user for debug heap is kdbnearsym() which can be modified to rather use statically allocated buffer for symbol name as per it's current usage. So do that and hence remove custom debug heap allocator. Note that this change puts a restriction on kdbnearsym() callers to carefully

Re: [PATCH v2] kdb: Get rid of custom debug heap allocator

2021-03-23 Thread Sumit Garg
On Fri, 19 Mar 2021 at 23:05, Daniel Thompson wrote: > > On Mon, Mar 01, 2021 at 11:33:00AM +0530, Sumit Garg wrote: > > On Fri, 26 Feb 2021 at 23:07, Daniel Thompson > > wrote: > > > > > > On Fri, Feb 26, 2021 at 06:12:13PM +0530, Sumit Garg wrote: > > > > On Fri, 26 Feb 2021 at 16:29, Daniel

Re: [PATCH v2] kdb: Get rid of custom debug heap allocator

2021-03-19 Thread Daniel Thompson
On Mon, Mar 01, 2021 at 11:33:00AM +0530, Sumit Garg wrote: > On Fri, 26 Feb 2021 at 23:07, Daniel Thompson > wrote: > > > > On Fri, Feb 26, 2021 at 06:12:13PM +0530, Sumit Garg wrote: > > > On Fri, 26 Feb 2021 at 16:29, Daniel Thompson > > > wrote: > > > > > > > > On Fri, Feb 26, 2021 at

Re: [PATCH v2] kdb: Get rid of custom debug heap allocator

2021-02-28 Thread Sumit Garg
On Fri, 26 Feb 2021 at 23:07, Daniel Thompson wrote: > > On Fri, Feb 26, 2021 at 06:12:13PM +0530, Sumit Garg wrote: > > On Fri, 26 Feb 2021 at 16:29, Daniel Thompson > > wrote: > > > > > > On Fri, Feb 26, 2021 at 03:23:06PM +0530, Sumit Garg wrote: > > > > Currently the only user for debug heap

Re: [PATCH v2] kdb: Get rid of custom debug heap allocator

2021-02-26 Thread Daniel Thompson
On Fri, Feb 26, 2021 at 06:12:13PM +0530, Sumit Garg wrote: > On Fri, 26 Feb 2021 at 16:29, Daniel Thompson > wrote: > > > > On Fri, Feb 26, 2021 at 03:23:06PM +0530, Sumit Garg wrote: > > > Currently the only user for debug heap is kdbnearsym() which can be > > > modified to rather ask the

Re: [PATCH v2] kdb: Get rid of custom debug heap allocator

2021-02-26 Thread Sumit Garg
On Fri, 26 Feb 2021 at 16:29, Daniel Thompson wrote: > > On Fri, Feb 26, 2021 at 03:23:06PM +0530, Sumit Garg wrote: > > Currently the only user for debug heap is kdbnearsym() which can be > > modified to rather ask the caller to supply a buffer for symbol name. > > So do that and modify

Re: [PATCH v2] kdb: Get rid of custom debug heap allocator

2021-02-26 Thread Daniel Thompson
On Fri, Feb 26, 2021 at 03:23:06PM +0530, Sumit Garg wrote: > Currently the only user for debug heap is kdbnearsym() which can be > modified to rather ask the caller to supply a buffer for symbol name. > So do that and modify kdbnearsym() callers to pass a symbol name buffer > allocated statically

[PATCH v2] kdb: Get rid of custom debug heap allocator

2021-02-26 Thread Sumit Garg
Currently the only user for debug heap is kdbnearsym() which can be modified to rather ask the caller to supply a buffer for symbol name. So do that and modify kdbnearsym() callers to pass a symbol name buffer allocated statically and hence remove custom debug heap allocator. This change has been