From owner-freebsd-hackers Thu Jun 4 14:58:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18595 for freebsd-hackers-outgoing; Thu, 4 Jun 1998 14:58:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA18568; Thu, 4 Jun 1998 14:58:02 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id QAA00837; Thu, 4 Jun 1998 16:57:55 -0500 (EST) (envelope-from toor) Message-Id: <199806042157.QAA00837@dyson.iquest.net> Subject: Re: kernfs/procfs questions... In-Reply-To: <199806042029.NAA01825@dingo.cdrom.com> from Mike Smith at "Jun 4, 98 01:29:45 pm" To: mike@smith.net.au (Mike Smith) Date: Thu, 4 Jun 1998 16:57:55 -0500 (EST) Cc: dyson@FreeBSD.ORG, jonny@jonny.eng.br, hackers@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (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 Mike Smith said: > > I can see quite a lot of use in mmapping data; reducing the copy in/out > overheads for statistics gathering just for starters. > One has to be very careful with that, esp on SMP systems. Synchronization of data is sometimes critical. Exposing pieces of the kernel and structures is frought with compatibility problems. Those are some of the reasons why /dev/kmem is so lame. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message