From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262885AbTDVCwH (ORCPT ); Mon, 21 Apr 2003 22:52:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262905AbTDVCwG (ORCPT ); Mon, 21 Apr 2003 22:52:06 -0400 Received: from fmr01.intel.com ([192.55.52.18]:41718 "EHLO hermes.fm.intel.com") by vger.kernel.org with ESMTP id S262885AbTDVCwF convert rfc822-to-8bit (ORCPT ); Mon, 21 Apr 2003 22:52:05 -0400 Message-ID: From: "Perez-Gonzalez, Inaky" To: "'Tom Zanussi'" Cc: "'karim@opersys.com'" , "'Martin Hicks'" , "'Daniel Stekloff'" , "'Patrick Mochel'" , "'Randy.Dunlap'" , "'hpa@zytor.com'" , "'pavel@ucw.cz'" , "'jes@wildopensource.com'" , "'linux-kernel@vger.kernel.org'" , "'wildos@sgi.com'" , "'Tom Zanussi'" Subject: RE: [patch] printk subsystems Date: Mon, 21 Apr 2003 20:04:05 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > From: Tom Zanussi [mailto:zanussi@us.ibm.com] > > It seems to me that when comparing apples to apples, namely > considering the complete lifecycle of an event, ... > > While kue_send_event() in itself is very simple and efficient, it's > only part of the story, the other parts being the copy_to_user() ... Agreed - my mistake here in the comparison for leaving out that stuff. > event. While kue can avoid this kernel-side copy, it's not possible > for it to avoid the copy_to_user() since its design precludes mmapping > the kernel data. Again, six of one, half dozen of another. kue looks Sure - those things, I would say, they compensate one another, except for that mmap() detail that pushes the balance towards relayfs regarding effectiveness when delivering the messages; I think that at the end the difference should not be too big as the copying of the data in kue to user space should roughly compensate by the copying of the data to the relayfs buffer; after all, a copy is a copy. No data to back this claim though, I am just thinking a mental schematic of the lifetime of a bit in both systems out loud. Or, again, I am missing something ... Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own (and my fault)