From owner-freebsd-questions@FreeBSD.ORG Sat Jul 31 19:43:38 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCC0416A4CE for ; Sat, 31 Jul 2004 19:43:38 +0000 (GMT) Received: from web51802.mail.yahoo.com (web51802.mail.yahoo.com [206.190.38.233]) by mx1.FreeBSD.org (Postfix) with SMTP id 6629D43D1F for ; Sat, 31 Jul 2004 19:43:38 +0000 (GMT) (envelope-from patrick_dkt@yahoo.com.hk) Message-ID: <20040731194337.37249.qmail@web51802.mail.yahoo.com> Received: from [203.168.166.82] by web51802.mail.yahoo.com via HTTP; Sun, 01 Aug 2004 03:43:37 CST Date: Sun, 1 Aug 2004 03:43:37 +0800 (CST) From: =?big5?q?Patrick=20Dung?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sun, 01 Aug 2004 12:06:24 +0000 Subject: Curious question about FreeBSD's TCP/IP and SMP locking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jul 2004 19:43:39 -0000 Hi After browsing the *BSD cvsweb site, I have found that FreeBSD-current's TCPIP code has added locking/mutex in it. I am not programmer but I want to know what is the use of adding so much locks/mutex in the stack? Also, would it make a newbie/beginner feel difficult to understand the code (I mean the TCP/IP part)? Thanks _________________________________________________________ 必殺技、飲歌、小星星... 浪漫鈴聲 情心連繫 http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/