summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_blist.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r298819:bdrewery2016-06-271-2/+2
| | | | sys/kern: spelling fixes in comments.
* Remove reference to the rlist code from comments, and fix a typo visiblepluknet2013-02-051-8/+4
| | | | | | | in the resulted change. Reviewed by: kib MFC after: 1 week
* - Fix typos s/(more|less) then|\1 than/eadler2011-12-031-5/+5
| | | | | | Submitted by: Davide Italiano <davide.italiano@gmail.com> Approved by: brucec MFC after: 3 days
* Retire the MALLOC and FREE macros. They are an abomination unto style(9).des2008-10-231-1/+1
| | | | MFC after: 3 months
* add malloc flag to blist so that it can be used in ithread contextkmacy2008-05-051-7/+8
| | | | Reviewed by: alc, bsdimp
* Move the definitions of SWAPBLK_NONE and SWAPBLK_MASK from vm_page.h toalc2004-06-041-5/+0
| | | | | blist.h, enabling the removal of numerous #includes from subr_blist.c. (subr_blist.c and swap_pager.c are the only users of these definitions.)
* Expand inline the relevant parts of src/COPYRIGHT for Matt Dillon'simp2003-08-121-3/+26
| | | | | | copyrighted files. Approved by: Matt Dillon
* Use __FBSDID().obrien2003-06-111-3/+3
|
* Back out M_* changes, per decision of the TRB.imp2003-02-191-2/+2
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-2/+2
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Remove all use of the LOG2() macro/inline, undoing some non-optimal cruftdillon2003-01-111-16/+16
| | | | | | | that crept in recently. GCC will optimize the divides and multiplies for us. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 1 day
* This is David Schultz's swapoff code which I am finally able to commit.dillon2002-12-151-32/+183
| | | | | | | This should be considered highly experimental for the moment. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 3 weeks
* Now that daddr_t has grown up, use %lld to printf it and cast it to longjhb2002-05-181-1/+3
| | | | long.
* With Alfred's permission, remove vm_mtx in favor of a fine-grained approachdillon2001-07-041-0/+1
| | | | | | | | | (this commit is just the first stage). Also add various GIANT_ macros to formalize the removal of Giant, making it easy to test in a more piecemeal fashion. These macros will allow us to test fine-grained locks to a degree before removing Giant, and also after, and to remove Giant in a piecemeal fashion via sysctl's on those subsystems which the authors believe can operate without Giant.
* Introduce a global lock for the vm subsystem (vm_mtx).alfred2001-05-191-0/+1
| | | | | | | | | | | | | | | | | | | vm_mtx does not recurse and is required for most low level vm operations. faults can not be taken without holding Giant. Memory subsystems can now call the base page allocators safely. Almost all atomic ops were removed as they are covered under the vm mutex. Alpha and ia64 now need to catch up to i386's trap handlers. FFS and NFS have been tested, other filesystems will need minor changes (grabbing the vm lock when twiddling page properties). Reviewed (partially) by: jake, jhb
* Convert more malloc+bzero to malloc+M_ZERO.dwmalone2000-12-081-3/+1
| | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net>
* Eliminate the undocumented, experimental, non-delivering and highlyphk2000-03-161-2/+0
| | | | dangerous MAX_PERF option.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-3/+3
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* useracc() the prequel:phk1999-10-291-1/+0
| | | | | | | | | | | Merge the contents (less some trivial bordering the silly comments) of <vm/vm_prot.h> and <vm/vm_inherit.h> into <vm/vm.h>. This puts the #defines for the vm_inherit_t and vm_prot_t types next to their typedefs. This paves the road for the commit to follow shortly: change useracc() to use VM_PROT_{READ|WRITE} rather than B_{READ|WRITE} as argument.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add Id stringsgpalmer1999-06-171-0/+2
|
* Add new blist module - radix tree based bitmap allocator withdillon1999-01-211-0/+928
size hinting. Will be used by the new swapper.
OpenPOWER on IntegriCloud