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

2021-02-26 Thread Sumit Garg
On Fri, 26 Feb 2021 at 12:54, Sumit Garg wrote: > > On Thu, 25 Feb 2021 at 17:49, Daniel Thompson > wrote: > > > > On Thu, Feb 25, 2021 at 04:52:58PM +0530, Sumit Garg wrote: > > > Currently the only user for debug heap is kdbnearsym() which can be > > > modified to rather ask the caller to

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

2021-02-25 Thread Sumit Garg
On Thu, 25 Feb 2021 at 17:49, Daniel Thompson wrote: > > On Thu, Feb 25, 2021 at 04:52:58PM +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] kdb: Get rid of custom debug heap allocator

2021-02-25 Thread Daniel Thompson
On Thu, Feb 25, 2021 at 04:52:58PM +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 from stack

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

2021-02-25 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 from stack and hence remove custom debug heap allocator. This change has been