#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
217744 |
|
23-Jan-2011 |
uqs |
libkvm code janitoring
- make WARNS=6 clean for archs w/o strict alignment requirments - add const, ANSIfy, remove unused vars, cast types for comparison - thanks to differing definitions of VM_MIN_ADDRESS across our archs, we need to trick the compiler to not complain about signedness. We could either fix VM_MIN_ADDRESS to always be a simple integer or make the check conditional on $ARCH.
Closes PRs: kern/42386, kern/83364 Reviewed by: bde
|
#
166550 |
|
07-Feb-2007 |
jhb |
- Move 'struct swdevt' back into swap_pager.h and expose it to userland. - Restore support for fetching swap information from crash dumps via kvm_get_swapinfo(3) to fix pstat -T/-s on crash dumps.
Reviewed by: arch@, phk MFC after: 1 week
|
#
132935 |
|
31-Jul-2004 |
imp |
Expand the license referenced indirectly inline.
|
#
118283 |
|
31-Jul-2003 |
phk |
Remove various unused variables, prototypes and local variables.
|
#
118282 |
|
31-Jul-2003 |
phk |
Disable and lobotomize the kvm image reading swapinfo code, the kernel layout is about to change.
The sysctl based method still returns correct information.
|
#
118280 |
|
31-Jul-2003 |
phk |
Retire the SWIF_DUMP_TREE code, this is in the way for a rework of the swap_pager layout.
|
#
118276 |
|
31-Jul-2003 |
phk |
Unifdef -UDEBUG_SWAPINFO The kernel data structures are about to change.
|
#
109086 |
|
11-Jan-2003 |
dillon |
Remove all use of the LOG2() macro/inline, undoing some non-optimal cruft 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
|
#
108602 |
|
03-Jan-2003 |
phk |
Make struct swblock kernel only, to make vm/swap_pager.h userland includable. Move struct swdevt from sys/conf.h to the more appropriate vm/swap_pager.h. Adjust #include use in libkvm and pstat(8) to match.
|
#
84768 |
|
10-Oct-2001 |
bde |
Compensate for "Compensate for header dethreading" by backing it out.
|
#
83551 |
|
16-Sep-2001 |
dillon |
Implement __FBSDID()
|
#
77605 |
|
01-Jun-2001 |
tmm |
Change this to support the new way swap device information is exported via sysctl, and clean up some style and (size_t != int) issues.
|
#
76176 |
|
01-May-2001 |
markm |
Compensate for header dethreading.
|
#
72950 |
|
23-Feb-2001 |
rwatson |
Adapt libkvm_getswapinfo() to make use of recently committed vm and swap sysctls exporting swap information. When running on a live kernel, the sysctl's will now be used instead of kvm_read, allowing consumers of this interface to run without privilege (setgid kmem). Retain the ability to run on coredumps, or on a kernel using kmem if explicitly pointed at one.
A side effect of this change is that kvm_getswapinfo() is faster now in the general case. If the SWIF_DUMP_TREE flag is given (pstat -ss does this), the radix tree walker, which still uses kvm_read in any case, is invoked, and therefore does require privilege.
Submitted by: Thomas Moestl <tmoestl@gmx.net> Reviewed by: freebsd-audit
|
#
69793 |
|
09-Dec-2000 |
obrien |
Add `_PATH_DEVZERO'. Use _PATH_* where where possible.
|
#
69396 |
|
30-Nov-2000 |
alfred |
remove unneded sys/ucred.h include
|
#
59286 |
|
16-Apr-2000 |
jlemon |
Remove unneeded #include
|
#
58642 |
|
27-Mar-2000 |
obrien |
-Wall, which caught a real bug where buflen wasn't being set properly.
|
#
55127 |
|
27-Dec-1999 |
peter |
Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling and is module aware. Yes, this means that kvm_nlist(3) will find symbols in loaded modules. The emulation of the nlist struct is pretty crude but seems to work well enough for all the users in the tree that I found.
|
#
53899 |
|
29-Nov-1999 |
phk |
Report swapdevices as cdevs rather than bdevs.
Remove unused dev2budev() function.
|
#
50476 |
|
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
47018 |
|
11-May-1999 |
peter |
Tidy up references to <sys/rlist.h> and support for the old swap management that went away in January.
|
#
44021 |
|
14-Feb-1999 |
dt |
From rev. 1.12 of usr.sbin/pstat/pstat.c by phk: Reflect the fact that we do not swap on the first <dmmax> blocks of a swapdev, to protect disklabels and other such magic stuff.
|
#
43696 |
|
06-Feb-1999 |
dillon |
Handle case where no swap is configured
|
#
43282 |
|
27-Jan-1999 |
bde |
Removed evil typedef kvm_swap_t and all uses of it (not many).
Hoped for by: wollman
|
#
43173 |
|
25-Jan-1999 |
dillon |
Fix swap radix tree dump formatting ( pstat -ss ), it was printing the wrong radix for recursive subnodes.
|
#
43048 |
|
22-Jan-1999 |
dillon |
Add SWIF_DEV_PREFIX flag to add "/dev/..." to device name.
|
#
43045 |
|
22-Jan-1999 |
dillon |
Implement kvm_getswapinfo() libkvm function. Will be used by pstat, top, and systat.
|