From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Elsayed Subject: Re: [PATCH 00/12] Add kdbus implementation Date: Thu, 30 Oct 2014 13:28:09 -0700 Message-ID: References: <1414620056-6675-1-git-send-email-gregkh@linuxfoundation.org> <20141029231106.GB16548@kroah.com> <20141029234001.GB16520@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: linux-kernel@vger.kernel.org Cc: linux-api@vger.kernel.org List-Id: linux-api@vger.kernel.org Andy Lutomirski wrote: > There should be a number measured in, say, nanoseconds in here > somewhere. The actual extent of the speedup is unmeasurable here. > Also, it's worth reading at least one of Linus' many rants about > zero-copy. It's not an automatic win. It's well-understood that it's not an automatic win; significant testing on multiple architectures indicated that 512K is a surprisingly universal crossover point. The userspace code, therefore, switches from copying (normal kdbus parameters) to zero-copy (memfds) right around there.