Re: [PATCH v4] kdb: Simplify kdb commands registration

2021-02-22 Thread Sumit Garg
On Mon, 22 Feb 2021 at 19:17, Daniel Thompson wrote: > > On Mon, Feb 22, 2021 at 06:33:18PM +0530, Sumit Garg wrote: > > On Mon, 22 Feb 2021 at 17:35, Daniel Thompson > > wrote: > > > > > > On Thu, Feb 18, 2021 at 05:39:58PM +0530, Sumit Garg wrote: > > > > Simplify kdb commands registration via

Re: [PATCH v4] kdb: Simplify kdb commands registration

2021-02-22 Thread Daniel Thompson
On Mon, Feb 22, 2021 at 06:33:18PM +0530, Sumit Garg wrote: > On Mon, 22 Feb 2021 at 17:35, Daniel Thompson > wrote: > > > > On Thu, Feb 18, 2021 at 05:39:58PM +0530, Sumit Garg wrote: > > > Simplify kdb commands registration via using linked list instead of > > > static array for commands storage

Re: [PATCH v4] kdb: Simplify kdb commands registration

2021-02-22 Thread Sumit Garg
On Mon, 22 Feb 2021 at 17:35, Daniel Thompson wrote: > > On Thu, Feb 18, 2021 at 05:39:58PM +0530, Sumit Garg wrote: > > Simplify kdb commands registration via using linked list instead of > > static array for commands storage. > > > > Signed-off-by: Sumit Garg > > --- > > > > Changes in v4: > >

Re: [PATCH v4] kdb: Simplify kdb commands registration

2021-02-22 Thread Daniel Thompson
On Thu, Feb 18, 2021 at 05:39:58PM +0530, Sumit Garg wrote: > Simplify kdb commands registration via using linked list instead of > static array for commands storage. > > Signed-off-by: Sumit Garg > --- > > Changes in v4: > - Fix kdb commands memory allocation issue prior to slab being available

[PATCH v4] kdb: Simplify kdb commands registration

2021-02-18 Thread Sumit Garg
Simplify kdb commands registration via using linked list instead of static array for commands storage. Signed-off-by: Sumit Garg --- Changes in v4: - Fix kdb commands memory allocation issue prior to slab being available with an array of statically allocated commands. Now it works fine with