Re: [PATCHv10 1/3] rdmacg: Added rdma cgroup controller

From: Parav Pandit
Date: Tue Apr 19 2016 - 04:56:25 EST

Hi Christoph,

I was on travel. Sorry for the late inline response and question.


On Tue, Apr 5, 2016 at 10:57 PM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Tue, Apr 05, 2016 at 05:55:26AM -0700, Parav Pandit wrote:
>> Just because we add one more rdma resource, we need to ask someone to
>> upgrade kernel?
> Yes. Just like when you need any other core kernel resource.

By architecture Linux kernel allows
(a) plugin of any new block level IO scheduler as kernel module.
This is much more fundamental resource or functionality than rdma resource.
(b) plugin of any new file system as kernel module.

Changing both in field and out of box can do be more harmful than
defining new rdma resource.

RDMA Resource definition by IB core module is very similar to above
two functionality, where elevator and VFS provides basic support
framework and so rdma cgroup controller here.

So can you please help me understand - which resource did you compare
against in your above comment for "core kernel resource"?
I compared it with similar functionality, flexibility given by (a)
block IO Scheduler and (b) VFS subsystem to implement them as kernel