From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 29 17:59:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 069A716A509 for ; Thu, 29 Jun 2006 17:59:39 +0000 (UTC) (envelope-from gonzo@pbxpress.com) Received: from mail.portaone.com (mail.portaone.com [65.61.200.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42E9343D67 for ; Thu, 29 Jun 2006 17:59:36 +0000 (GMT) (envelope-from gonzo@pbxpress.com) Received: from dell.portaone.com (unknown [70.68.128.186]) by mail.portaone.com (Postfix) with ESMTP id D6C11552C26; Thu, 29 Jun 2006 10:59:35 -0700 (PDT) Received: from leaf.pbxpress.com (www.pbxpress.com [142.179.71.212]) by dell.portaone.com (8.13.6/8.13.1) with ESMTP id k5THxUj9071750; Thu, 29 Jun 2006 10:59:30 -0700 (PDT) (envelope-from gonzo@pbxpress.com) Received: from [192.168.0.160] (k3-gw.portaone.com [193.28.87.193]) (authenticated bits=0) by leaf.pbxpress.com (8.13.3/8.13.3) with ESMTP id k5TI0RlU091690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Jun 2006 11:00:30 -0700 (PDT) (envelope-from gonzo@pbxpress.com) Message-ID: <44A414F9.9070102@pbxpress.com> Date: Thu, 29 Jun 2006 20:59:21 +0300 From: Oleksandr Tymoshenko User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Alexander Kabaev References: <20060629111231.GA692@wolf.nvidia.com> <44A3FD87.8000006@pbxpress.com> <20060629164910.GA4242@kan.dnsalias.net> In-Reply-To: <20060629164910.GA4242@kan.dnsalias.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on leaf.pbxpress.com Cc: freebsd-hackers@freebsd.org, Christian Zander Subject: Re: NVIDIA FreeBSD kernel feature requests X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 17:59:39 -0000 Alexander Kabaev wrote: > WHY it smells like a hack? It was designed precisely to do that. I am > using cloned devices in our product with great success. Every client > opening 'magic' device gets its own exclusive cloned device instance > and everything works like a charm. I am yet to hear any single coherent > description of what Linux's approach has over device cloning in FreeBSD. > I wouldn't mind being educated on this. OK, it's a lack of my knowledge. It seemed a bit unnatural to me to create device nodes instead of keeping a single pointer and I decided it was supposed to do something other then keeping per-open instance. It would be great to have this event/mechanism documented for I'd found it looking through source code in /usr/src/sys. Not the worst place to get information but man pages are better :) -- Sincerely, Oleksandr Tymoshenko PBXpress Communications, Inc. http://www.pbxpress.com Tel./Fax.: +1 866 SIP PBX1 Ext. 656