Bug 94190 - hw.physmem tunable does not work on sparc
Summary: hw.physmem tunable does not work on sparc
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: sparc64 (show other bugs)
Version: 7.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sparc64 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 21:20 UTC by Kris Kennaway
Modified: 2008-04-28 01:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris Kennaway freebsd_committer freebsd_triage 2006-03-07 21:20:01 UTC
The hw.physmem tunable can no longer be used to limit the amount of
RAM used by FreeBSD (e.g. for the purposes of limiting dump size).
This was broken for a long time, but seemed to be fixed by r1.152 of
src/sys/sparc64/sparc64/pmap.c.  Now it doesn't work again (so either
it's broken again, or it never worked properly).

How-To-Repeat: 
On a system with e.g. 16GB of RAM, set hw.physmem="8g" in
/boot/loader.conf.
Comment 1 Marius Strobl freebsd_committer freebsd_triage 2008-04-28 01:05:48 UTC
State Changed
From-To: open->closed


Close; this was finally fixed in src/sys/sparc64/sparc64/pmap.c rev. 1.159 
(MFC'ed to RELENG_6 in rev. 1.148.2.4).