#
b40ce416 |
| 12-Sep-2001 |
Julian Elischer <julian@FreeBSD.org> |
KSE Milestone 2 Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is fu
KSE Milestone 2 Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
show more ...
|
#
85012e7c |
| 10-Sep-2001 |
Peter Wemm <peter@FreeBSD.org> |
UPAGES as a constant is gone in KSE. We are going to have to trust and/or fix ki_rssize.
|
#
7d1192a7 |
| 24-Aug-2001 |
Peter Wemm <peter@FreeBSD.org> |
On today's kernels masking with ~KERNBASE is turning out to be less than useful. It still hits at least 8 digits. Adjust for reality.
This is still not satisfactory for the alpha if you add "-O pad
On today's kernels masking with ~KERNBASE is turning out to be less than useful. It still hits at least 8 digits. Adjust for reality.
This is still not satisfactory for the alpha if you add "-O paddr".
show more ...
|
#
564efb8f |
| 16-Jun-2001 |
Tor Egge <tegge@FreeBSD.org> |
Check for the PS_SINTR flag in the right field of struct kinfo_proc (ki_sflag).
|
#
25bba4f6 |
| 03-May-2001 |
Mark Murray <markm@FreeBSD.org> |
Depollute headers now that the VM headers DTRT.
|
#
325a83b4 |
| 01-May-2001 |
Mark Murray <markm@FreeBSD.org> |
Compensate for header dethreading.
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
f59105ee |
| 03-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Small optimization: set use_ampm only when needed
|
#
08017519 |
| 03-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Use AM/PM time only when available in locale
|
#
4c85452b |
| 12-Feb-2001 |
Jake Burkholder <jake@FreeBSD.org> |
Catch up to new priority interface.
|
#
8073a93c |
| 11-Feb-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Use decimal point from locale
|
#
e0aa5ab7 |
| 24-Jan-2001 |
John Baldwin <jhb@FreeBSD.org> |
- Catch up to new proc flags.
|
#
1f7d2501 |
| 12-Dec-2000 |
Kirk McKusick <mckusick@FreeBSD.org> |
Change the proc information returned from the kernel so that it no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/us
Change the proc information returned from the kernel so that it no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/user interface, specifically rusage and rtprio. It no longer contains proc, session, pcred, ucred, procsig, vmspace, pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If any of these changed in size, ps, w, fstat, gcore, systat, and top would all stop working. The new structure has over 200 bytes of unassigned space for future values to be added, yet is nearly 100 bytes smaller per entry than the structure that it replaced.
show more ...
|
#
fd5f30bf |
| 29-Nov-2000 |
John Baldwin <jhb@FreeBSD.org> |
Introduce a 'mtxname' keyword that displays the current mutex that a process is blocked on or '-'.
|
Revision tags: release/4.2.0 |
|
#
63743cbd |
| 28-Sep-2000 |
Kris Kennaway <kris@FreeBSD.org> |
No need to work around SCCS variable expansion any more.
|
Revision tags: release/4.1.1_cvs |
|
#
0384fff8 |
| 07-Sep-2000 |
Jason Evans <jasone@FreeBSD.org> |
Major update to the way synchronization is done in the kernel. Highlights include:
* Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The alpha port is still in transition and c
Major update to the way synchronization is done in the kernel. Highlights include:
* Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The alpha port is still in transition and currently uses both.)
* Per-CPU idle processes.
* Interrupts are run in their own separate kernel threads and can be preempted (i386 only).
Partially contributed by: BSDi (BSD/OS) Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh
show more ...
|
Revision tags: release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs |
|
#
2a456239 |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
Revision tags: release/3.2.0 |
|
#
75c13541 |
| 28-Apr-1999 |
Poul-Henning Kamp <phk@FreeBSD.org> |
This Implements the mumbled about "Jail" feature.
This is a seriously beefed up chroot kind of thing. The process is jailed along the same lines as a chroot does it, but with additional tough restr
This Implements the mumbled about "Jail" feature.
This is a seriously beefed up chroot kind of thing. The process is jailed along the same lines as a chroot does it, but with additional tough restrictions imposed on what the superuser can do.
For all I know, it is safe to hand over the root bit inside a prison to the customer living in that prison, this is what it was developed for in fact: "real virtual servers".
Each prison has an ip number associated with it, which all IP communications will be coerced to use and each prison has its own hostname.
Needless to say, you need more RAM this way, but the advantage is that each customer can run their own particular version of apache and not stomp on the toes of their neighbors.
It generally does what one would expect, but setting up a jail still takes a little knowledge.
A few notes:
I have no scripts for setting up a jail, don't ask me for them.
The IP number should be an alias on one of the interfaces.
mount a /proc in each jail, it will make ps more useable.
/proc/<pid>/status tells the hostname of the prison for jailed processes.
Quotas are only sensible if you have a mountpoint per prison.
There are no privisions for stopping resource-hogging.
Some "#ifdef INET" and similar may be missing (send patches!)
If somebody wants to take it from here and develop it into more of a "virtual machine" they should be most welcome!
Tools, comments, patches & documentation most welcome.
Have fun...
Sponsored by: http://www.rndassociates.com/ Run for almost a year by: http://www.servetheweb.com/
show more ...
|
#
4a40c5e7 |
| 06-Apr-1999 |
Peter Wemm <peter@FreeBSD.org> |
Look at p_lock instead of P_NOSWAP etc as an indicator of unswappability. (While here, put a #ifndef pgtok around the macro that gets a redefinition warning)
|
Revision tags: release/3.1.0, release/3.0.0, release/2.2.8 |
|
#
eb235b13 |
| 25-Nov-1998 |
Doug Rabson <dfr@FreeBSD.org> |
Fix formatting of %CPU value on alpha.
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
|
#
3929d518 |
| 14-Sep-1998 |
Doug Rabson <dfr@FreeBSD.org> |
Portability fixes when sizeof(int) != sizeof(long).
|
Revision tags: release/2.2.7 |
|
#
ce0cab88 |
| 28-Jun-1998 |
Bruce Evans <bde@FreeBSD.org> |
Fixed printf format errors (second round with non-i386 typedefs).
|
#
86e14119 |
| 28-Jun-1998 |
Bruce Evans <bde@FreeBSD.org> |
Oops, the previous log message should have read "Fixed type mismatches - don't assume that time_t is long".
|
#
f8ec5fe2 |
| 28-Jun-1998 |
Bruce Evans <bde@FreeBSD.org> |
Fixed printf format errors.
|
#
5832a752 |
| 31-May-1998 |
Bruce Evans <bde@FreeBSD.org> |
Fixed imperfections in previous commit (a poor variable name, excessive 64-bit arithmetic, and excessive changes).
|
#
e796e00d |
| 28-May-1998 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.
Clean up (or if antipodic: down) some of the msgbuf stuff.
Use an inline function rather than a macro for timecounter delta.
Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.
Clean up (or if antipodic: down) some of the msgbuf stuff.
Use an inline function rather than a macro for timecounter delta.
Maintain process "on-cpu" time as 64 bits of microseconds to avoid needless second rollover overhead.
Avoid calling microuptime the second time in mi_switch() if we do not pass through _idle in cpu_switch()
This should reduce our context-switch overhead a bit, in particular on pre-P5 and SMP systems.
WARNING: Programs which muck about with struct proc in userland will have to be fixed.
Reviewed, but found imperfect by: bde
show more ...
|