From owner-freebsd-chat Fri Jun 22 3:45:53 2001 Delivered-To: freebsd-chat@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 17A3737B40A for ; Fri, 22 Jun 2001 03:45:51 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 15DORh-000Bkp-00; Fri, 22 Jun 2001 11:45:50 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.3/8.11.1) id f5MAjnT52042; Fri, 22 Jun 2001 11:45:49 +0100 (BST) (envelope-from jcm) Date: Fri, 22 Jun 2001 11:45:48 +0100 From: j mckitrick To: Michael Lucas Cc: Dag-Erling Smorgrav , freebsd-chat@FreeBSD.ORG Subject: Re: most complex code in BSD? Message-ID: <20010622114548.A51977@dogma.freebsd-uk.eu.org> References: <20010621233210.A37804@dogma.freebsd-uk.eu.org> <20010622062238.A45123@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20010622062238.A45123@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Fri, Jun 22, 2001 at 06:22:38AM -0400 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jun 22, 2001 at 06:22:38AM -0400, Michael Lucas wrote: | When I took the two-day FreeBSD Internals course McKusick taught, he | brought up the context-switching code. | | The original UNIX authors were not much on comments. When they put a | comment, it was to explain something really, really, *really* difficult. | | Apparently there was a seven-word comment in the context switching | code that gave him a bit of a start: "You are not expected to | understand this." Don't know if it's still there, but it's still | probably pretty scary. Is this supposed to be in C or asm? I thought context switches were among the only asm/machine dependent code. Jonathon -- Microsoft complaining about the source license used by Linux is like the event horizon calling the kettle black. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message