lkml.org 
[lkml]   [2015]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 6/7] devcg: Added support to use RDMA device cgroup.
    From
    On Tue, Sep 8, 2015 at 2:10 PM, Haggai Eran <haggaie@mellanox.com> wrote:
    > On 07/09/2015 23:38, Parav Pandit wrote:
    >> +static void init_ucontext_lists(struct ib_ucontext *ucontext)
    >> +{
    >> + INIT_LIST_HEAD(&ucontext->pd_list);
    >> + INIT_LIST_HEAD(&ucontext->mr_list);
    >> + INIT_LIST_HEAD(&ucontext->mw_list);
    >> + INIT_LIST_HEAD(&ucontext->cq_list);
    >> + INIT_LIST_HEAD(&ucontext->qp_list);
    >> + INIT_LIST_HEAD(&ucontext->srq_list);
    >> + INIT_LIST_HEAD(&ucontext->ah_list);
    >> + INIT_LIST_HEAD(&ucontext->xrcd_list);
    >> + INIT_LIST_HEAD(&ucontext->rule_list);
    >> +}
    >
    > I don't see how this change is related to the patch.

    Its not but code which I added makes this function to grow longer, so
    to keep it to same readability level, I did the cleanup.
    May be I can send separate patch for cleanup?


    \
     
     \ /
      Last update: 2015-09-08 12:41    [W:3.552 / U:1.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site