From owner-freebsd-bugs Wed Jun 19 04:07:57 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA06516 for bugs-outgoing; Wed, 19 Jun 1996 04:07:57 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA06505; Wed, 19 Jun 1996 04:07:52 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id VAA11606; Wed, 19 Jun 1996 21:01:43 +1000 Date: Wed, 19 Jun 1996 21:01:43 +1000 From: Bruce Evans Message-Id: <199606191101.VAA11606@godzilla.zeta.org.au> To: james@jraynard.demon.co.uk, nate@freefall.freebsd.org Subject: Re: i386/1334 Cc: freebsd-bugs@freefall.freebsd.org Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> I applied the fix you submitted, slightly edited. Instead of: >> >> #options "MAXMEM=131072" >> >> I used: >> >> #options "MAXMEM=128*1024" >> >> And also explained used this number in the comments. >Thanks! I was going to just make the change myself, but decided it was >better if someone else had a look at it. Your version is definitely >better (I didn't even realise you could do it like that!) It's just a macro. Macro expressions should be fully parenthesized! It happens that MAXMEM is only used in the expression MAXMEM/4, so the sloppy definition works. 0x1000000/MAXMEM wouldn't work. Bruce