From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752844AbbKPVxh (ORCPT ); Mon, 16 Nov 2015 16:53:37 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:39865 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751204AbbKPVxb (ORCPT ); Mon, 16 Nov 2015 16:53:31 -0500 To: dmaengine@vger.kernel.org From: Sinan Kaya Subject: [RFC] User space to kernel space copy optimization Cc: linux-arm-kernel@lists.infradead.org, "linux-kernel@vger.kernel.org" Message-ID: <564A5057.9080203@codeaurora.org> Date: Mon, 16 Nov 2015 16:53:27 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org One of the things I'm interested in is to use a memcpy capable DMA engine HW to optimize user space and kernel space parameter copying. Of course, this will not be viable for all parameter sizes but I can see this being useful. The goal is to save power in the cost of little performance. Before I go and invent my own mechanism, I'd like to have ideas on what an acceptable solution would look like. Especially, I'm looking for a generic implementation that could plug into any DMA engine HW. -- Sinan Kaya Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project