From owner-freebsd-current@FreeBSD.ORG Mon Feb 28 20:55:15 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DE8C106566B for ; Mon, 28 Feb 2011 20:55:15 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id C8CED8FC17 for ; Mon, 28 Feb 2011 20:55:14 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id CA0089CB1C2 for ; Mon, 28 Feb 2011 21:39:28 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by lev.vlakno.cz (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R8Q2KPn2RW6t for ; Mon, 28 Feb 2011 21:39:28 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 2BB9E9CB279 for ; Mon, 28 Feb 2011 21:39:28 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.4/8.14.4/Submit) id p1SKdSUw094197 for current@freebsd.org; Mon, 28 Feb 2011 21:39:28 +0100 (CET) (envelope-from rdivacky) Date: Mon, 28 Feb 2011 21:39:28 +0100 From: Roman Divacky To: current@freebsd.org Message-ID: <20110228203928.GA93494@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: [TESTING]: boot2 changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 20:55:15 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi there, I have a patch that shrinks boot2 some: 1) it switches kname to be just a pointer instead of an array thus avoiding a couple of memcpy()s 2) it changes ioctl to unsigned from uint8_t 3) it changes the first keyhit limit to 5 seconds from 3 so that constant propagation can take place 4) it changes the ticks overflow computation as suggested by bde@ 5) it removes bi_basemem/bi_extmem/bi_memsizes_valid setting from bootinfo as it is unused the patch: http://lev.vlakno.cz/~rdivacky/boot2-almost-there-diet.patch It works for me and I'd like you to review/test this patch thank you! roman --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk1sB/8ACgkQLVEj6D3CBEwQvQCfYb04hv+yWmqSu0M/cspGjluV D2IAmwZTSgYDNK3o1dXSujK4PmcUtPhA =vAO6 -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--