From owner-freebsd-hackers Tue Jul 13 15:52:13 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id F26D31514C for ; Tue, 13 Jul 1999 15:52:04 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id PAA81581; Tue, 13 Jul 1999 15:50:05 -0700 (PDT) (envelope-from dillon) Date: Tue, 13 Jul 1999 15:50:05 -0700 (PDT) From: Matthew Dillon Message-Id: <199907132250.PAA81581@apollo.backplane.com> To: "Neil A. Carson" Cc: "Neil A. Carson" , Jason Thorpe , freebsd-hackers@FreeBSD.ORG, tech-userlevel@netbsd.org Subject: Re: Replacement for grep(1) (part 2) References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :On Tue, 13 Jul 1999, Matthew Dillon wrote: : :> This is an excellent example of a solution. Another example would be :> to implement your own memory management subsystem... that is, your own :> shared library which keeps track of memory allocations on a global :> basis. I could do one in about an hour. One simply mmap()'s a 4K : :Yeah, but the kernel had to be changed in a number of places to be able to :do it properly :-) I can think of several ways to do it that do not require changes to the kernel. The most obvious way is to simply use SysV-shared memory calls to manage memory. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message