Re: [PATCH 3/4] pid.c: Replace pidhash lookup with idr_get()

2017-09-25 Thread Rik van Riel
On Mon, 2017-09-25 at 23:14 +0530, Gargi Sharma wrote: > On Mon, Sep 25, 2017 at 6:50 PM, Rik van Riel > wrote: > > On Mon, 2017-09-25 at 08:56 -0400, Gargi Sharma wrote: > > > pidhash is no longer required as all the functionalities > > > are present in the idr tree associated with the namespace.

Re: [PATCH 3/4] pid.c: Replace pidhash lookup with idr_get()

2017-09-25 Thread Gargi Sharma
On Mon, Sep 25, 2017 at 6:50 PM, Rik van Riel wrote: > On Mon, 2017-09-25 at 08:56 -0400, Gargi Sharma wrote: >> pidhash is no longer required as all the functionalities >> are present in the idr tree associated with the namespace. >> nr can be looked up in the namespace by idr_get(). >> >> Signed

Re: [PATCH 3/4] pid.c: Replace pidhash lookup with idr_get()

2017-09-25 Thread Rik van Riel
On Mon, 2017-09-25 at 08:56 -0400, Gargi Sharma wrote: > pidhash is no longer required as all the functionalities > are present in the idr tree associated with the namespace. > nr can be looked up in the namespace by idr_get(). > > Signed-off-by: Gargi Sharma > --- >  kernel/pid.c | 10 +-

[PATCH 3/4] pid.c: Replace pidhash lookup with idr_get()

2017-09-25 Thread Gargi Sharma
pidhash is no longer required as all the functionalities are present in the idr tree associated with the namespace. nr can be looked up in the namespace by idr_get(). Signed-off-by: Gargi Sharma --- kernel/pid.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/kernel