Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754152Ab0HBSQU (ORCPT ); Mon, 2 Aug 2010 14:16:20 -0400 Received: from terminus.zytor.com ([198.137.202.10]:33187 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751893Ab0HBSQT (ORCPT ); Mon, 2 Aug 2010 14:16:19 -0400 Message-ID: <4C570B6C.201@zytor.com> Date: Mon, 02 Aug 2010 11:16:12 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Thunderbird/3.1.1 MIME-Version: 1.0 To: Valdis.Kletnieks@vt.edu CC: hp fk , linux-kernel@vger.kernel.org Subject: Re: a Great Idea - include Kademlia networking protocol in kernel References: <215375.1280753770@localhost> <6501.1280759131@localhost> <8023.1280761746@localhost> In-Reply-To: <8023.1280761746@localhost> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1097 Lines: 26 On 08/02/2010 08:09 AM, Valdis.Kletnieks@vt.edu wrote: > On Mon, 02 Aug 2010 23:02:01 +0800, you said: > >> HTTP if more of an access protocol,the logical network is woven in >> the web page controled by html, the network needed is formed and take >> part in by tcp/ip protocol which usually lies in kernel. >> >> Kademlia itself has the responsibility to weave the p2p network and >> bring a node into the p2p network before access can be done. > > You're still failing to explain why the kernel needs to do this > rather than some -lkademlia in userspace. > Specifically, the reasons a network protocol goes in the kernel is either because it needs a multiplex that isn't possible in userspace (UDP, for example, needs a port number multiplex), or because acceptable performance isn't possible in userspace (this mostly applies to NFS.) -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/