Re: [PATCH v6 2/2] pid: Remove pidhash

From: Rik van Riel
Date: Wed Oct 11 2017 - 18:29:03 EST


On Wed, 2017-10-11 at 18:19 -0400, Gargi Sharma wrote:
> pidhash is no longer required as all the information
> can be looked up from idr tree. nr_hashed represented
> the number of pids that had been hashed. Since, nr_hashed and
> PIDNS_HASH_ADDING are no longer relevant, it has been renamed
> to pid_allocated and PIDNS_ADDING respectively.
>
> Signed-off-by: Gargi Sharma <gs051095@xxxxxxxxx>
> ---
> Âarch/ia64/kernel/asm-offsets.c |ÂÂ4 ++--
> Âinclude/linux/init_task.hÂÂÂÂÂÂ|ÂÂ1 -
> Âinclude/linux/pid.hÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ2 --
> Âinclude/linux/pid_namespace.hÂÂ|ÂÂ4 ++--
> Âinit/main.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ1 -
> Âkernel/fork.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ2 +-
> Âkernel/pid.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 48 +++++++++-----------------------
> ----------
> Âkernel/pid_namespace.cÂÂÂÂÂÂÂÂÂ|ÂÂ6 +++---
> Â8 files changed, 18 insertions(+), 50 deletions(-)

Fingers crossed for IA64. It all looks good, though.

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part