[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190118204416.GA7101@ziepe.ca>
Date: Fri, 18 Jan 2019 13:44:16 -0700
From: Jason Gunthorpe <jgg@...pe.ca>
To: Leon Romanovsky <leon@...nel.org>
Cc: Doug Ledford <dledford@...hat.com>, Tejun Heo <tj@...nel.org>,
Li Zefan <lizefan@...wei.com>,
Johannes Weiner <hannes@...xchg.org>,
Parav Pandit <parav@...lanox.com>,
RDMA mailing list <linux-rdma@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
cgroups <cgroups@...r.kernel.org>,
Leon Romanovsky <leonro@...lanox.com>
Subject: Re: [PATCH rdma-next] IB/core: Simplify rdma cgroup registration
On Thu, Jan 17, 2019 at 08:14:15PM +0200, Leon Romanovsky wrote:
> From: Parav Pandit <parav@...lanox.com>
>
> RDMA cgroup registration routine always returns success,
> so simplify function to be void and run clang formatter
> over whole CONFIG_CGROUP_RDMA art of core_priv.h.
>
> This reduces unwinding error path for regular registration and
> future net namespace change functionality for rdma device.
>
> Signed-off-by: Parav Pandit <parav@...lanox.com>
> Signed-off-by: Leon Romanovsky <leonro@...lanox.com>
> Acked-by: Tejun Heo <tj@...nel.org>
> ---
> drivers/infiniband/core/cgroup.c | 5 ++---
> drivers/infiniband/core/core_priv.h | 17 +++++++++++------
> drivers/infiniband/core/device.c | 8 +-------
> include/linux/cgroup_rdma.h | 2 +-
> kernel/cgroup/rdma.c | 5 +----
> 5 files changed, 16 insertions(+), 21 deletions(-)
Applied to for-next
Thanks,
Jason
Powered by blists - more mailing lists