From owner-freebsd-hackers Fri May 3 14:50: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hpdi.ath.cx (pc2-nthf5-0-cust237.not.cable.ntl.com [80.4.35.237]) by hub.freebsd.org (Postfix) with ESMTP id 33DAF37B417 for ; Fri, 3 May 2002 14:49:33 -0700 (PDT) Received: from hpdi.ath.cx (localhost [127.0.0.1]) by hpdi.ath.cx (8.12.3/8.12.3) with ESMTP id g43LjXu3093468 for ; Fri, 3 May 2002 22:45:33 +0100 (BST) (envelope-from hitenp@hpdi.ath.cx) Received: (from hitenp@localhost) by hpdi.ath.cx (8.12.3/8.12.3/Submit) id g43LjWDo093467 for freebsd-hackers@FreeBSD.org; Fri, 3 May 2002 22:45:32 +0100 (BST) Date: Fri, 3 May 2002 22:45:32 +0100 From: Hiten Pandya To: freebsd-hackers@FreeBSD.org Subject: deltas for sys/kern/vfs_syscalls.c and sys/kern/vfs_subr.c Message-ID: <20020503214532.GA93432@hpdi.ath.cx> Reply-To: hiten@uk.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.3.28i X-Operating-System: FreeBSD hpdi.ath.cx 5.0-CURRENT FreeBSD 5.0-CURRENT Organisation: Hiten Pandya, Leicester LE5 3NF, United Kingdom X-PGP-Key: http://www.pittgoth.com/~hiten/pubkey.asc Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I am submitting a patch which removes the register keyword from=20 sys/kern/vfs_syscalls.c. The reason I am doing this is very simple. The 'register' keyword has no effect, as compilers do enough optimizations on their own. Also, I have seen commits made before which do the same thing which I am doing now. I have talked about this patch with jmallett, and various other developers. This patch is located at:=20 http://storm.uk.FreeBSD.org/~hiten/diffs/vfs_syscalls.diff.1 The second issue, is what I am not very sure about, but I had a little discussion about this with rwatson. The vfs_subr.c module contains a large #if 0'ed section, which basically contains some sysctls. I think it has been forgotten for removal, so I am submitting a delta which can be used to remove that #if 0'ed section. Note, I am not very sure about this, that is why I am posting this to -hackers. The patch is located at:=20 http://storm.uk.FreeBSD.org/~hiten/diffs/vfs_subr.c.diff.1 Thanks. If anyone finds them interesting, please commit them to the CVS repository. P.S. Please do not hesitate to contact me for more information reg. these deltas. --=20 Hiten Pandya http://storm.uk.FreeBSD.org/~hiten Finger hiten@storm.uk.FreeBSD.org for PGP public key -- 4FB9 C4A9 4925 CF97 9BF3 ADDA 861D 5DBD E4E3 03C3=20 --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE80wT7hh1dveTjA8MRAiHYAKDN1ZK9SbqiSYJPBFS2MBp4Iy1FgACg5OcF K15oqBy42NVN7V0Picz+M+I= =VVZ/ -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message