From mboxrd@z Thu Jan 1 00:00:00 1970 From: Parav Pandit Subject: Re: [PATCHv12 1/3] rdmacg: Added rdma cgroup controller Date: Mon, 19 Sep 2016 22:30:15 +0530 Message-ID: References: <20160901084406.GA4115@lst.de> <20160910161442.GC29259@lst.de> <20160910170151.GA5230@obsidianresearch.com> <20160911133421.GA23384@lst.de> <20160911143522.GL6415@leon.nu> <20160911171409.GA13442@obsidianresearch.com> <20160911172445.GA25953@lst.de> <20160911175235.GB13442@obsidianresearch.com> <20160912050717.GE8812@leon.nu> <1474290618.6520.23.camel@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1474290618.6520.23.camel@intel.com> Sender: linux-kernel-owner@vger.kernel.org To: "Dalessandro, Dennis" Cc: "leon@kernel.org" , "lizefan@huawei.com" , "linux-kernel@vger.kernel.org" , "corbet@lwn.net" , "linux-rdma@vger.kernel.org" , "cgroups@vger.kernel.org" , "ogerlitz@mellanox.com" , "hch@lst.de" , "linux-security-module@vger.kernel.org" , "haggaie@mellanox.com" , "hannes@cmpxchg.org" , "Hefty, Sean" , "akpm@linux-foundation.org" , "james.l.morris@oracle.com" , "tj@kernel.org" , "liranl@mellanox.com" List-Id: linux-rdma@vger.kernel.org Hi Denny, On Mon, Sep 19, 2016 at 6:40 PM, Dalessandro, Dennis wrote: > On Wed, 2016-09-14 at 12:36 +0530, Parav Pandit wrote: >> Hi Dennis, >> >> Do you know how would HFI1 driver would work along with rdma cgroup? > > Keep in mind HFI1 driver has two "modes" of operation. We support > verbs, and would surely fall in line with whatever cgroups do for IB > core. Thanks for the feedback. > For our psm interface, not sure how cgroups would come into play. > Psm is designed to expose the hw to user and avoid the kernel when > possible adding more kernel control is sort of contrary to that. > Yes, PSM is currently out of RDMA cgroup and in future we can take a look on how things shape as subsystem if it does. > Now that being said, Christoph recently made mention of maybe having a > drivers/psm [1]. I really haven't had a chance to think about the > implications of that, but maybe it's worth considering, after all we > have two implementations, qib and hfi1. So anyway I'm not sure we need > to be too concerned about cgroups right now as far as psm side of > things goes. > o.k. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752654AbcISRAU (ORCPT ); Mon, 19 Sep 2016 13:00:20 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:35545 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750922AbcISRAR (ORCPT ); Mon, 19 Sep 2016 13:00:17 -0400 MIME-Version: 1.0 In-Reply-To: <1474290618.6520.23.camel@intel.com> References: <20160901084406.GA4115@lst.de> <20160910161442.GC29259@lst.de> <20160910170151.GA5230@obsidianresearch.com> <20160911133421.GA23384@lst.de> <20160911143522.GL6415@leon.nu> <20160911171409.GA13442@obsidianresearch.com> <20160911172445.GA25953@lst.de> <20160911175235.GB13442@obsidianresearch.com> <20160912050717.GE8812@leon.nu> <1474290618.6520.23.camel@intel.com> From: Parav Pandit Date: Mon, 19 Sep 2016 22:30:15 +0530 Message-ID: Subject: Re: [PATCHv12 1/3] rdmacg: Added rdma cgroup controller To: "Dalessandro, Dennis" Cc: "leon@kernel.org" , "lizefan@huawei.com" , "linux-kernel@vger.kernel.org" , "corbet@lwn.net" , "linux-rdma@vger.kernel.org" , "cgroups@vger.kernel.org" , "ogerlitz@mellanox.com" , "hch@lst.de" , "linux-security-module@vger.kernel.org" , "haggaie@mellanox.com" , "hannes@cmpxchg.org" , "Hefty, Sean" , "akpm@linux-foundation.org" , "james.l.morris@oracle.com" , "tj@kernel.org" , "liranl@mellanox.com" , "jgunthorpe@obsidianresearch.com" , "linux-doc@vger.kernel.org" , "dledford@redhat.com" , "matanb@mellanox.com" , "serge@hallyn.com" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Denny, On Mon, Sep 19, 2016 at 6:40 PM, Dalessandro, Dennis wrote: > On Wed, 2016-09-14 at 12:36 +0530, Parav Pandit wrote: >> Hi Dennis, >> >> Do you know how would HFI1 driver would work along with rdma cgroup? > > Keep in mind HFI1 driver has two "modes" of operation. We support > verbs, and would surely fall in line with whatever cgroups do for IB > core. Thanks for the feedback. > For our psm interface, not sure how cgroups would come into play. > Psm is designed to expose the hw to user and avoid the kernel when > possible adding more kernel control is sort of contrary to that. > Yes, PSM is currently out of RDMA cgroup and in future we can take a look on how things shape as subsystem if it does. > Now that being said, Christoph recently made mention of maybe having a > drivers/psm [1]. I really haven't had a chance to think about the > implications of that, but maybe it's worth considering, after all we > have two implementations, qib and hfi1. So anyway I'm not sure we need > to be too concerned about cgroups right now as far as psm side of > things goes. > o.k.