lkml.org 
[lkml]   [2017]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v6 2/2] pid: Remove pidhash
From
Date
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@gmail.com>
> ---
>  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@redhat.com>

--
All Rights Reversed.[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-10-12 00:29    [W:2.177 / U:2.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site