From owner-freebsd-questions@FreeBSD.ORG Thu Apr 22 20:45:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0898C1065677; Thu, 22 Apr 2010 20:45:58 +0000 (UTC) (envelope-from harvey.two.face.kent@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 624268FC14; Thu, 22 Apr 2010 20:45:56 +0000 (UTC) Received: by wwa36 with SMTP id 36so5784231wwa.13 for ; Thu, 22 Apr 2010 13:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id :disposition-notification-to:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=aAOn4puBjXrKyAXOtn86tEPpg3wdQTHDfSpw01CUi18=; b=Y24lBJqJUWe7mUJ90/YJPaqVKpAKdy0O6WsWICtQcUgFSpmkA/8k5cPabVb39g6/jK VLVvvkywAf9WTlvzXsdfGH0H/bdb+6bDIvv0mxTfL9sjpfgZ9oMseh3B+6rrM0epBDEc u8z9CWuRNVHdPJZyUWPEcKVHFfW9qm4nzRfIU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:disposition-notification-to:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; b=UDJh5mSbVpmxKVboyWftq+kgLWo6VewL04nDVSrnCAPXttB9v5tr8hbj2y9yfZzT3z bBm06nvBZbXhFAUxi4zPNdSEEwpqN0hWtWsbsTwaUdrxMZrIJwjXopMXJZjv1FiBYa5B SDOmMHnDnY+GSmiYD6I0XMTgXbtMunlNyh3K4= Received: by 10.216.90.133 with SMTP id e5mr419721wef.23.1271969155483; Thu, 22 Apr 2010 13:45:55 -0700 (PDT) Received: from [192.168.1.6] (182.145.193-77.rev.gaoland.net [77.193.145.182]) by mx.google.com with ESMTPS id n12sm563220gve.15.2010.04.22.13.45.54 (version=SSLv3 cipher=RC4-MD5); Thu, 22 Apr 2010 13:45:55 -0700 (PDT) Message-ID: <4BD0B51F.60308@gmail.com> Date: Thu, 22 Apr 2010 22:44:15 +0200 From: xyz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Paul B Mahol References: <4BCEF432.7070707@gmail.com> <4BCEFC8E.2070409@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ivailo Tanusheff , freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org Subject: Re: lighten kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 20:45:58 -0000 Hi Thank you for your answer But "I can't believe" that lighten the kernel of useless drivers, saves only few bytes, by removing whole useless modules (sound, ata/sata, agp...). Furthermore, I think about free space that could be save too, in the hard drive this time. Why for the same configuration, linux kernel is lighter than the Freebsd kernel? (3.2mo ; 33.9mo) And, can you release your patch please? Best regards On 04/21/10 21:02, Paul B Mahol wrote: > On 4/21/10, xyz wrote: > >> Thank you for your answer. >> But how I can only choose the intel agp driver, without all others by >> puting "agp" in the kernel configuration file? >> > Currently you can not pick only intel agp code, agp module have > support for other vendors too. > I made patch but it was never committed because it saves only few > bytes of running kernel memory and thats all. > Because bunch of new agp* modules are created it increase kernel size > on disk, if you build all agp modules. > > But if you have very little memory you better not to use Xorg and > direct rendering at all. >