| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
okay deraadt@
|
|
|
|
|
|
|
|
|
|
|
| |
the brk area anyway.
- Use a larger hint bound to spread the allocations more for the 32-bit case
- Simplified the overy abstracted brs/stack allocator and switch of
guard pages for the brk case. This allows i386 some extra space,
depending on memory usage patterns.
- Reduce brk area on i386 to give the rnd space more room
ok stefan@ sthen@
|
|
|
|
|
| |
a.out world.
ok deraadt@ kettenis@
|
|
|
|
|
| |
using that much memory, go for it" tedu@ "I don't see any immediate downsides"
kettenis@
|
|
|
|
|
|
| |
<machine/pmap.h> where it belongs, and compensate in <uvm/uvm_extern.h>
by including <uvm/uvm_pmap.h> before <uvm/uvm_page.h>. Tested on all
MACHINE_ARCH but amd64 and i386 (and hppa64).
|
| |
|
| |
|
|
|
|
|
|
|
| |
to keep definitions our of user space. The MD files now follow a consistant
order -- all namespace intrusion is at the tail can be cleaned up
independently. locore, bootblocks, and libkvm still see enough visibility to
build. Checked on 90% of platforms...
|
|
|
|
| |
Agreed with millert@ and guenther@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new world order of pmemrange makes this data completely redundant
(being dealt with by the pmemrange constraints instead). Remove all code
that messes with the freelist.
While touching every caller of uvm_page_physload() anyway, add the flags
argument to all callers (all but one is 0 and that one already used
PHYSLOAD_DEVICE) and remove the macro magic to allow callers to continue
without it.
Should shrink the code a bit, as well.
matthew@ pointed out some mistakes i'd made.
``freelist death, I like. Ok.' ariane@
`I agree with the general direction, go ahead and i'll fix any fallout
shortly'' miod@ (68k 88k and vax i could not check would build)
|
|
|
|
| |
Discussed and okay drahn@. Okay deraadt@.
|
|
|
|
| |
ok deraadt
|
|
|
|
| |
its better as a per arch MD define anyway. all default to MAXDSIZ as before.
|
|
|
|
| |
heap gap from max data size. nothing else changes yet. ok deraadt
|
|
|
|
|
|
| |
allocator).
"i can't see any obvious problems" oga
|
|
|
|
|
|
|
|
|
| |
to free ranges.
Classify memory based on region with associated use-counter (which is used
to construct a priority list of where to allocate memory).
Based on code from tedu@, help from many.
Ok art@
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameter and returns an aligned random load address for position
independent executables to use. This also adds three new vmparam.h
defines to specify the maximum address, minimum address and minimum
allowed alignment for uvm_map_pie() to use. The PIE address range
for i386 was carefully selected to work well within the i386 W^X
framework.
With much help and feedback from weingart@.
okay weingart@, miod@, kettenis@, drahn@
|
|
|
|
|
|
| |
own page 0, as discussed with miod (and many others previously, including
art and toby). On sparc, make this __LDPGSZ because PAGE_SIZE is non-constant
ok miod tedu
|
|
|
|
|
| |
the commit which enabled DEADBEEF* overrides, then values have been
discussed a bit more and improved; reminded by and ok art@
|
|
|
|
|
|
|
| |
pg_flags, so we actually shave quite a few bytes from the memory
we eat at boot. (a machine with 1GB memory saves 256k).
deraadt@, pedro@, krw@ ok. Lots of testing.
|
|
|
|
|
|
| |
seem to have reached this limit.
ok marco@, looks ok ckuethe@
|
|
|
|
|
|
|
|
|
|
| |
the freezes many of us are seeing (especially on amd64 machines running
OpenBSD/i386).
Much testing by nick@ (as always - thanks!), hugh@, ian@, kettenis@
and Sam Smith (s (at) msmith (dot) net).
Requested by, input from, and ok deraadt@ ok art@, kettenis@, miod@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if supported by the cpu(s). currently not enabled by default and
not compiled into ramdisks. this grows paddr_t to 64bit but yet
leaves bus_addr_t at 32bits. measures are taken to favour dmaable
memory allocation from below 4g line such that buffer cache is
already allocated form below, pool backend allocator prefers lower
memory and then finally bounce buffers are used as last resort.
PAE is engaged only if global variable cpu_pae is manually set
to non-zero and there is physical memory present above 4g.
simplify pcibios address math to use u_long as we always will
be in the 32bit space.
|
| |
|
| |
|
|
|
|
|
| |
from netbsd pr #30872 (anonymous post);
ok deraadt@ krw@
|
|
|
|
| |
case sun4c/sun4 -- because address space is more constrained
|
| |
|
|
|
|
|
| |
are using lots of shm may also wish to also increase SHMMAXPGS.
OK deraadt@
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
| |
interleave of exe/shared libs. Raise MAXDSIZ back to 1G.
This change REQUIRES a binary update on i386.
|
|
|
|
| |
DARPA funded work.
|
| |
|
|
|
|
|
|
|
|
| |
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT
and NKMEMPAGES using the config command, instead of recompiling the kernel.
This is the kernel part of the patch. I have compiled it on i386, sparc64,
alpha and macppc. -moj ok art@ maja@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
And remove that memory price comment from 1981. It is amusing, but also
confusing because the math in there is only correct on vax.
|
| |
|
|
|
|
|
|
|
|
|
| |
CLSIZE -> 1
CLBYTES -> PAGE_SIZE
OLOFSET -> PAGE_MASK
etc.
At the same time some archs needed some cleaning in vmparam.h so that
goes in at the same time.
|
| |
|
|
|
|
|
| |
large memory machines. This time I really hope we can continue quite a bit
away over the Gig.
|
|
|
|
| |
makes TV watching in fullscreen in 640x480 work.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|