Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unify and bump some of the NMBCLUSTERS defines. Some archs had it set to | 2018-09-14 | 1 | -2/+2 | |
| | | | | | | | | | 4MB which is far too low especially when the platform is able to run MP. New limits are, amd64 = 256M; arm64, mips64, sparc64 = 64M; alpha, arm, hppa, i386, powerpc = 32M; m88k, sh = 8M Still rather conservative numbers but much better than before. At least some hangs of arm64 build boxes was caused by this. OK kettenis@, visa@ | ||||
* | Increase the number of mbufs on most architectures. This is based | 2016-09-03 | 1 | -2/+2 | |
| | | | | | | | on a guess how much memory a typical machine has. If the value is too high, users may run out of kernel memory. Then we will have to adjust this again. OK claudio@ deraadt@ | ||||
* | PGSHIFT and PGOFSET are now contained inside the kernel namespace. | 2013-03-26 | 1 | -3/+3 | |
| | |||||
* | ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file. | 2013-03-25 | 1 | -5/+1 | |
| | |||||
* | refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added | 2013-03-23 | 1 | -35/+22 | |
| | | | | | | | 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... | ||||
* | param.h (like landisk and alpha before) was still trying to include too | 2012-06-26 | 1 | -1/+3 | |
| | | | | much of the kernel world when it did not need to | ||||
* | Provide namespace-safe alignment macros in <machine/_types.h>, with | 2011-09-08 | 1 | -9/+4 | |
| | | | | | | | | compat names kept in <machine/param.h>. In <sys/socket.h>, pull in <sys/_types.h> instead of the namespace polluting <machine/param.h> and completely eliminate __CMSG_ALIGN, replaced by _ALIGN ok deraadt@ | ||||
* | Make sure the ALIGN() macro uses u_long on all platforms for consistency, and | 2011-04-07 | 1 | -2/+2 | |
| | | | | update the comment block accordingly. | ||||
* | thib missed this architecture when he did all the other architectures; | 2010-10-26 | 1 | -9/+1 | |
| | | | | | | | | | | | | | | ok thib jsing -- Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others. The NMBCLUSTERS constants needs to be MD though; ok miod@,krw@,claudio@ | ||||
* | Remove COMPAT_HPUX. No one wanted to support it and its fewmets were | 2010-06-29 | 1 | -13/+1 | |
| | | | | | blocking other cleanups ok miod@ | ||||
* | replace even more ctob and btoc with ptoa and atop respectively plus | 2007-09-22 | 1 | -5/+1 | |
| | | | | uvm_extern.h where needed | ||||
* | Delay switching to the real serial console until we attach the serial device. | 2007-07-15 | 1 | -9/+1 | |
| | | | | | | | | The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too. ok miod@ | ||||
* | Oops! Revert previous commit. | 2007-07-01 | 1 | -1/+9 | |
| | |||||
* | Add PDC_IO. | 2007-07-01 | 1 | -9/+1 | |
| | |||||
* | Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT) | 2006-08-12 | 1 | -2/+2 | |
| | | | | | | | | in the six cases using "512". As DEV_BSHIFT is always 9, this should be a no-op. "no objections" miod@ "I can't see any problem doing this." pedro@ | ||||
* | remove unused bdbtofsb(bn) macro | 2006-03-19 | 1 | -9/+1 | |
| | | | | found by drahn@ | ||||
* | Bad commit, breaks hppa64. Prompted by deraadt@ | 2005-12-22 | 1 | -2/+1 | |
| | |||||
* | Add MACHINE_STACK_ALIGN define. | 2005-12-21 | 1 | -1/+2 | |
| | |||||
* | nuke unused BTOPKERNBASE define | 2005-12-13 | 1 | -2/+1 | |
| | | | | pointed out by miod@ | ||||
* | use atop(), remove last traces of Mach macros from hppa and hppa64 | 2005-11-28 | 1 | -7/+1 | |
| | |||||
* | no more hppa_round_page() and hppa_trunc_page() macros | 2005-10-26 | 1 | -4/+1 | |
| | | | | ok mickey@ | ||||
* | Get rid of unused SINCR and SSIZE constants. | 2005-07-31 | 1 | -4/+1 | |
| | |||||
* | higher max kmem default and mark swap broken | 2004-09-14 | 1 | -2/+4 | |
| | |||||
* | provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ ok | 2004-08-06 | 1 | -1/+2 | |
| | |||||
* | do not cast explicitly to unsigned; found by otto@ | 2004-06-28 | 1 | -7/+7 | |
| | |||||
* | remove the GATEWAY junk thingy; at the same time, select a new fat | 2004-04-19 | 1 | -4/+2 | |
| | | | | cluster value that noone will really need to crank. | ||||
* | half the uspace seems to be very much enough | 2003-04-16 | 1 | -4/+2 | |
| | |||||
* | nothing uses UADDR | 2003-03-29 | 1 | -2/+1 | |
| | |||||
* | u could get a little higher | 2002-08-03 | 1 | -2/+2 | |
| | |||||
* | com freq is 7372800, which "normal" * 4 and is discovered by | 2002-02-08 | 1 | -2/+2 | |
| | | | | Enrik Berkhan <Enrik.Berkhan@planb.de> . | ||||
* | redefine COM_FREQ to 7.272727MHz | 2002-02-01 | 1 | -1/+2 | |
| | |||||
* | define CONADDR and CONUNIT | 2002-01-25 | 1 | -1/+7 | |
| | |||||
* | larger SSIZE and smaller NKMEMPAGES_MIN_DEFAULT | 2002-01-10 | 1 | -3/+3 | |
| | |||||
* | make nkmempages dynamic based on memory. okay art@ from netbsd: | 2001-12-05 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl. NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file. | ||||
* | Remove some definitions which do not make sense for non-m68k platforms. | 2001-11-30 | 1 | -5/+1 | |
| | |||||
* | change MSIZE to 256, okay @deraadt | 2001-07-06 | 1 | -2/+2 | |
| | |||||
* | Get rid of CLSIZE and all related stuff. | 2001-05-05 | 1 | -8/+4 | |
| | | | | | | | | | 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. | ||||
* | import some alphaizm for the db_elf's sake | 2001-02-16 | 1 | -1/+2 | |
| | |||||
* | blah, blah, blah, msgbuf | 2000-02-22 | 1 | -1/+5 | |
| | |||||
* | define constants for PAGE_{SIZE,MASK,SHIFT} | 1999-12-17 | 1 | -1/+5 | |
| | |||||
* | higher the kmem limit; fix up the nmbclusters | 1999-10-26 | 1 | -7/+3 | |
| | |||||
* | machine is hppa | 1999-09-18 | 1 | -4/+5 | |
| | | | | define UPAGES through USHIFT | ||||
* | n+1 approximation step for the user space constants | 1999-08-25 | 1 | -4/+4 | |
| | |||||
* | s/STACK_GROWS_UP/MACHINE_STACK_GROWS_UP/ | 1999-08-14 | 1 | -2/+2 | |
| | |||||
* | define UADDR; change alignment to 8 bytes | 1999-04-20 | 1 | -2/+3 | |
| | |||||
* | cleanup | 1998-10-30 | 1 | -16/+7 | |
| | |||||
* | some includes | 1998-06-23 | 1 | -0/+149 | |