From owner-freebsd-hackers@FreeBSD.ORG Wed May 21 10:52:16 2003 Return-Path: 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 4D4B137B404 for ; Wed, 21 May 2003 10:52:16 -0700 (PDT) Received: from peedub.jennejohn.org (p213.54.194.157.tisdip.tiscali.de [213.54.194.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2BE543FA3 for ; Wed, 21 May 2003 10:52:14 -0700 (PDT) (envelope-from garyj@jennejohn.org) Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.9/8.11.6) with ESMTP id h4LHqAC9037284; Wed, 21 May 2003 19:52:11 +0200 (CEST) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200305211752.h4LHqAC9037284@peedub.jennejohn.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: omestre@freeshell.org In-Reply-To: Message from omestre@freeshell.org <20030521152054.24C7A10214@ws-tor-0004.procergs> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 May 2003 19:52:10 +0200 From: Gary Jennejohn cc: freebsd-hackers@freebsd.org Subject: Re: linux emulation. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 17:52:16 -0000 omestre@freeshell.org writes: > I did saw the documentation (in handbook), about the emulation that > are not emulation. :) But i want to know more about that. Where can > i find this documentation? > i know, i know... the sources. But i want to read articles about > that... talking about the implementation and how it works (more > deep than the handbook), so, maybe i can understand the sources. > Try searching for +freebsd +linuxulator on google. You might find something usefull. But I suspect that you'll have to read the sources. > Really, the SO implementation, vm, io and etc is independent of ABI that > it is running. Excelent. But i want know more. I want know if there are > overhead in some point (sysent traduction?). > Of course there's overhead. The FreeBSD kernel has to map the Linux syscalls into FreeBSD syscalls, which is a layer of indirection. And be aware that not all Linux syscalls are handled by FreeBSD. --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de