From owner-freebsd-hackers Fri Jun 5 04:40:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA02908 for freebsd-hackers-outgoing; Fri, 5 Jun 1998 04:40:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from hda.hda.com (hda-bicnet.bicnet.net [208.220.66.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA02885; Fri, 5 Jun 1998 04:40:17 -0700 (PDT) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id HAA04969; Fri, 5 Jun 1998 07:16:14 -0400 (EDT) From: Peter Dufault Message-Id: <199806051116.HAA04969@hda.hda.com> Subject: Re: kernfs/procfs questions... In-Reply-To: <199806042243.RAA00404@dyson.iquest.net> from "John S. Dyson" at "Jun 4, 98 05:43:51 pm" To: dyson@FreeBSD.ORG Date: Fri, 5 Jun 1998 07:16:14 -0400 (EDT) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > echo "0" >/kernfs/net/inet/tcp/rfc1323 > > It is entirely bogus for the kernel to parse strings like this. We > probably do it, but that doesn't mean it's right... Even worse would be: Sorry, "entirely bogus" is just too strong for me - I think this should be "entirely irrelevant". I have 48K microcontroller systems that you can hook up a terminal too, hit CR six times "out of band", and they pop out of the usual binary protocol into a mode where they can be configured in ASCII (the ASCII is parsed into the binary protocol). If I can afford the overhead for parsing there we can afford the overhead in the kernel. The point is, I don't care if it is in the kernel or out of the kernel if it is designed in a way that it could be in either place. [ we now return to your regularly scheduled flame fest ... ] Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message