From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 6/9] IB/core: add a need_inval flag to struct ib_mr Date: Tue, 1 Mar 2016 08:09:41 +0100 Message-ID: <20160301070941.GA32390@lst.de> References: <1456784410-20166-1-git-send-email-hch@lst.de> <1456784410-20166-7-git-send-email-hch@lst.de> <56D4C8EC.8020805@sandisk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <56D4C8EC.8020805-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bart Van Assche Cc: Christoph Hellwig , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org" , "sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org" , "target-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Steve Wise List-Id: linux-rdma@vger.kernel.org On Mon, Feb 29, 2016 at 02:40:44PM -0800, Bart Van Assche wrote: > Hi Christoph, > > mthca uses kmalloc() to allocate a struct mr. Are you sure we don't need to > initialize the 'need_inval' member in ib_alloc_mr()? I'll initialize it just to be sure, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html