From owner-freebsd-current@FreeBSD.ORG Tue Mar 25 22:14:09 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84F597D3 for ; Tue, 25 Mar 2014 22:14:09 +0000 (UTC) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 47CAAC29 for ; Tue, 25 Mar 2014 22:14:09 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:57d:c2c8:bdeb:ce42]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 0B5744AC31 for ; Wed, 26 Mar 2014 02:14:07 +0400 (MSK) Date: Wed, 26 Mar 2014 02:14:03 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <8406480.20140326021403@serebryakov.spb.ru> To: freebsd-current@freebsd.org Subject: is it Ok to strip kernel & modules? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 22:14:09 -0000 Hello, Freebsd-current. Why our kernel, even built without DEBUG, is not stripped? It could sabe 1.5Mb out of 8Mb for "router-like" (network, wifi, some netgraph, UFS, NFS and USB) kernel... But maybe, here are some reasons not to strip it? Assume, I don't want use dtrace, ktrace and kernel debugger. -- // Black Lion AKA Lev Serebryakov