From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 3 Jan 2022 23:43:39 -0800 From: Christoph Hellwig Subject: Re: [PATCH 2/2] IB/rdmavt: modify rdmavt/qp.c for UML Message-ID: References: <20220102070623.24009-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220102070623.24009-1-rdunlap@infradead.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, Jason Gunthorpe , Jeff Dike , Richard Weinberger , Anton Ivanov , Johannes Berg , linux-rdma@vger.kernel.org, linux-um@lists.infradead.org Yikes, this rdmavt code is completely fucked up and a very good example why people should not use __user casts or random internal helpers. The right fix is to remove this crap entirely, and if the rdmavt maintainer think that they absolutely need a non-temporal memcpy they need to work to add a core API for it. _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um