lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200804115649.kzea757e5wwpk4k3@wittgenstein>
Date:   Tue, 4 Aug 2020 13:56:49 +0200
From:   Christian Brauner <christian.brauner@...ntu.com>
To:     Kirill Tkhai <ktkhai@...tuozzo.com>
Cc:     akpm@...ux-foundation.org, ebiederm@...ssion.com,
        viro@...iv.linux.org.uk, adobriyan@...il.com, davem@...emloft.net,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/8] namespaces: Introduce generic refcount

On Mon, Aug 03, 2020 at 01:16:10PM +0300, Kirill Tkhai wrote:
> Every namespace type has its own counter. Some of them are
> of refcount_t, some of them are of kref.
> 
> This patchset introduces generic ns_common::count for any
> type of namespaces instead of them.
> 
> ---

I was wondering why that series never made it to me turns out there's
some weird bug in my (neo)mutt where it sometimes marks messages as read
when I'm deleting completely unrelated messages. That has already cost
me a talk slot for an event I really wanted to attend and now it seems
to start costing me patches... I need to figure this out.

Anyway, thanks for sending this. I pulled this into my tree now.

Thanks!
Christian

> 
> Kirill Tkhai (8):
>       ns: Add common refcount into ns_common add use it as counter for net_ns
>       uts: Use generic ns_common::count
>       ipc: Use generic ns_common::count
>       pid: Use generic ns_common::count
>       user: Use generic ns_common::count
>       mnt: Use generic ns_common::count
>       cgroup: Use generic ns_common::count
>       time: Use generic ns_common::count
> 
> 
>  fs/mount.h                     |    3 +--
>  fs/namespace.c                 |    4 ++--
>  include/linux/cgroup.h         |    5 ++---
>  include/linux/ipc_namespace.h  |    3 +--
>  include/linux/ns_common.h      |    3 +++
>  include/linux/pid_namespace.h  |    4 +---
>  include/linux/time_namespace.h |    9 ++++-----
>  include/linux/user_namespace.h |    5 ++---
>  include/linux/utsname.h        |    9 ++++-----
>  include/net/net_namespace.h    |   11 ++++-------
>  init/version.c                 |    2 +-
>  ipc/msgutil.c                  |    2 +-
>  ipc/namespace.c                |    4 ++--
>  kernel/cgroup/cgroup.c         |    2 +-
>  kernel/cgroup/namespace.c      |    2 +-
>  kernel/pid.c                   |    2 +-
>  kernel/pid_namespace.c         |   13 +++----------
>  kernel/time/namespace.c        |    9 +++------
>  kernel/user.c                  |    2 +-
>  kernel/user_namespace.c        |    4 ++--
>  kernel/utsname.c               |    7 ++-----
>  net/core/net-sysfs.c           |    6 +++---
>  net/core/net_namespace.c       |    6 +++---
>  net/ipv4/inet_timewait_sock.c  |    4 ++--
>  net/ipv4/tcp_metrics.c         |    2 +-
>  25 files changed, 51 insertions(+), 72 deletions(-)
> 
> --
> Signed-off-by: Kirill Tkhai <ktkhai@...tuozzo.com>
> Acked-by: Christian Brauner <christian.brauner@...ntu.com>
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ