summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* automatic creation of faith0 and stf0 for backward compatibility.ume2001-12-152-0/+4
| | | | MFC after: 2 days
* Patch up some existing style bugs and some that crept in with thepeter2001-12-154-16/+17
| | | | DEVICE_POLLING stuff.
* Fix (again) some blatent style bugs in DEVICE_POLLING code.peter2001-12-151-9/+10
|
* Add support for 56 bit MPPE encryption.archie2001-12-152-9/+12
| | | | MFC after: 3 days
* clnt_bcast.c:420:33: warning: extra tokens at end of #endif directivepeter2001-12-151-1/+1
|
* Fix some nits in fork_exit() so it more properly duplicates the backendjhb2001-12-141-4/+4
| | | | | | | | | of mi_switch: - Set the oncpu value for the current thread. - Always set switchticks, not just in the SMP case. - Add a KTR entry for fork_exit that is the same as the "new proc" entry in mi_switch(). - Release sched_lock a bit later like we do with mi_switch().
* Add description of DEVICE_POLLING option.luigi2001-12-142-0/+38
|
* Clarify the comments related to DUMMYNET and HZluigi2001-12-142-14/+24
| | | | MFC after: 3 days
* POSIX strto*() functions MAY return EINVAL, so don't assume that only oneache2001-12-141-2/+4
| | | | errno from them allowed and it is always ERANGE
* Kernel support for smbfs is only built on the i386 at the moment, sosheldonh2001-12-143-3/+4
| | | | | | | limit the building and installation of the userland utilities to that architecture for now. Reported by: bmah
* Add share/examples/smbfs/print for userland smbfs import.sheldonh2001-12-141-0/+3
| | | | | | | The addition of the smbfs examples should have included this delta. Failure to include this delta broken world. Reported by: jhay
* Better document gif interface cloning intrastructure.brooks2001-12-143-5/+35
| | | | MFC After: 2 days
* Fix two typos, TR6() and ITR6() need to use CTR6(), not CTR5().jhb2001-12-141-2/+2
|
* Fix a stray character that found its way into a filename.cjc2001-12-141-1/+1
|
* Make bpf's read timeout feature work more correctly withjdp2001-12-142-6/+60
| | | | | | | | | | | | | | | | | | | | | select/poll, and therefore with pthreads. I doubt there is any way to make this 100% semantically identical to the way it behaves in unthreaded programs with blocking reads, but the solution here should do the right thing for all reasonable usage patterns. The basic idea is to schedule a callout for the read timeout when a select/poll is done. When the callout fires, it ends the select if it is still in progress, or marks the state as "timed out" if the select has already ended for some other reason. Additional logic in bpfread then does the right thing in the case where the timeout has fired. Note, I co-opted the bd_state member of the bpf_d structure. It has been present in the structure since the initial import of 4.4-lite, but as far as I can tell it has never been used. PR: kern/22063 and bin/31649 MFC after: 3 days
* Disabled input hardware checksum due to it being calculated incorrecteddg2001-12-141-0/+2
| | | | | | | | for some packets, in particular small (0 byte payload) packets. May also be related to TCP options. Approved by: wpaul MFC after: 3 days
* At least once mention the long names of WF2Q+ (Worst-case Fair Weightedrse2001-12-141-2/+2
| | | | | | Fair Queueing) and RED (Random Early Detection) to both give the reader a hint what they are and to make it easier to find out more information about them.
* Adjust the timings for the SiS chips a bit, also add the SiS 645.sos2001-12-142-13/+17
| | | | Cosmetics on the Acer chips (print right modes)
* Do be so anal on detach, properly free interrupt even if no devices.sos2001-12-141-1/+1
|
* Add some wisdom to the jail setup instructions.phk2001-12-141-1/+11
|
* o Add IPOPT_ESO for the 'Extended Security' IP option (RFC1108)rwatson2001-12-141-0/+1
| | | | Obtained from: TrustedBSD Project
* o Add definition for IPOPT_CIPSO, the commercial security IP optionrwatson2001-12-141-0/+1
| | | | | | | number. Submitted by: Ilmar S. Habibulin <ilmar@watson.org> Obtained from: TrustedBSD Project
* whitespace and style fixes recovered from -stable.jlemon2001-12-141-33/+35
|
* minor style and whitespace fixes.jlemon2001-12-141-11/+12
|
* whitespace fixes.jlemon2001-12-146-12/+12
|
* minor whitespace fixes.jlemon2001-12-141-1/+1
|
* minor style fix.jlemon2001-12-142-1/+2
|
* Make the man page reflec t the code a bit better.julian2001-12-141-2/+11
| | | | | Specifically, note the condition of the memory on initial and subsequent allocations is different.
* When removing kqueue descriptors from the descriptor table during a fork,jlemon2001-12-141-3/+8
| | | | | | update fd_freefile and fd_lastfile as well, to keep things in sync. Pointed out by: Debbie Chu <dchu@juniper.net>
* Reduce the local network slowstart flightsize from infinity to 4 packets.silby2001-12-141-1/+1
| | | | | | | | | | Now that we've increased the size of our send / receive buffers, bursting an entire window onto the network may cause congestion. As a result, we will slow start beginning with a flightsize of 4 packets. Problem reported by: Thomas Zenker <thz@Lennartz-electronic.de> MFC after: 3 days
* Device Polling code for -current.luigi2001-12-1418-3/+816
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Non-SMP, i386-only, no polling in the idle loop at the moment. To use this code you must compile a kernel with options DEVICE_POLLING and at runtime enable polling with sysctl kern.polling.enable=1 The percentage of CPU reserved to userland can be set with sysctl kern.polling.user_frac=NN (default is 50) while the remainder is used by polling device drivers and netisr's. These are the only two variables that you should need to touch. There are a few more parameters in kern.polling but the default values are adequate for all purposes. See the code in kern_poll.c for more details on them. Polling in the idle loop will be implemented shortly by introducing a kernel thread which does the job. Until then, the amount of CPU dedicated to polling will never exceed (100-user_frac). The equivalent (actually, better) code for -stable is at http://info.iet.unipi.it/~luigi/polling/ and also supports polling in the idle loop. NOTE to Alpha developers: There is really nothing in this code that is i386-specific. If you move the 2 lines supporting the new option from sys/conf/{files,options}.i386 to sys/conf/{files,options} I am pretty sure that this should work on the Alpha as well, just that I do not have a suitable test box to try it. If someone feels like trying it, I would appreciate it. NOTE to other developers: sure some things could be done better, and as always I am open to constructive criticism, which a few of you have already given and I greatly appreciated. However, before proposing radical architectural changes, please take some time to possibly try out this code, or at the very least read the comments in kern_poll.c, especially re. the reason why I am using a soft netisr and cannot (I believe) replace it with a simple timeout. Quick description of files touched by this commit: sys/conf/files.i386 new file kern/kern_poll.c sys/conf/options.i386 new option sys/i386/i386/trap.c poll in trap (disabled by default) sys/kern/kern_clock.c initialization and hardclock hooks. sys/kern/kern_intr.c minor swi_net changes sys/kern/kern_poll.c the bulk of the code. sys/net/if.h new flag sys/net/if_var.h declaration for functions used in device drivers. sys/net/netisr.h NETISR_POLL sys/dev/fxp/if_fxp.c sys/dev/fxp/if_fxpvar.h sys/pci/if_dc.c sys/pci/if_dcreg.h sys/pci/if_sis.c sys/pci/if_sisreg.h device driver modifications
* Let M_LEADINGSPACE write into non-shared mbufs.luigi2001-12-141-1/+1
| | | | | | | | | A similar thing has been in -stable for weeks and is completely safe. This has very good performance implications as it saves some data copying, and sometimes avoids triggering performance bugs in devices (such as the "dc" and other Tulip clones) which do not like scattered data.
* Enable UFS_DIRHASH in the GENERIC kernel.iedowse2001-12-1410-0/+13
| | | | | | Suggested by: silby Reviewed by: dillon MFC after: 5 days
* Add prototypes for main() so that these programs compile with -Werrorluigi2001-12-143-0/+3
| | | | | | | | | | | | (which somehow now seems to be the default for compiling -current). This error popped up while doing a PicoBSD cross-compile on a 4.3-ish system, it may well be that there are other apps which have similar problems, but I did not spot them as they are not included in my picobsd config. Whether adding prototypes for main() is the correct solution or not I have no idea, a request to -current on the matter went basically unanswered. Those who have better ideas are welcome to back this out and replace it with the correct fix.
* ftp(1) was not the only user of FTP_PASSIVE_MODE, libfetch uses itmikeh2001-12-141-1/+1
| | | | too, so add it back
* Fixed to draw mouse cursor. The syscons driver for PC98 uses differentnyan2001-12-146-18/+20
| | | | | | | attributes from i386. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) MFC after: 3 days
* mdoc(7) police: add -p to the synopsis line as well.ru2001-12-141-1/+1
|
* MFCrypto: Remove -r, -s, sort -p.ru2001-12-141-25/+5
|
* mdoc(7) police: remove -r from SYNOPSIS, sort -p in DESCRIPTION.ru2001-12-142-12/+10
|
* mdoc(7) police: bump document date.ru2001-12-141-1/+1
|
* Bump __FreeBSD_version for userland smbfs import.sheldonh2001-12-141-1/+1
|
* Arrange for the smbfs examples to be installed.sheldonh2001-12-143-2/+21
| | | | | | | | | | | | We don't install dot.nsmbrc or smbfs.sh.sample, since we already install the former as /etc/nsmb.conf and the latter is unnecessary, since boot-time mounts can be arranged directly within /etc/fstab without fear of breaking the boot when the smbfs port (now unnecessary is removed). The MFC reminder below is subject to <re@FreeBSD.org> approval priod to 4.5-RELEASE. MFC after: 1 week
* Add bmake glue for src/contrib/smbfs and connect userland smbfssheldonh2001-12-1410-2/+145
| | | | | | | | | | support to the build. The MFC reminder below is subject to <re@FreeBSD.org> approval prior to 4.5-RELEASE. Reviewed by: bp, fjoe MFC: 1 week
* * cleanup comments and definesphantom2001-12-141-8/+1
| | | | Reviewed by: bde
* o Clarify the comments on AIO to note that yes, AIO really is unsuitablerwatson2001-12-142-4/+4
| | | | | | for use on machines with untrusted local users, for security as well as stability reasons. o Lack of clarity pointed out by: David Rufino <dr@soniq.net> via bugtraq.
* Detail the smbfs-1.4.1 import.sheldonh2001-12-141-0/+6
|
* This commit was generated by cvs2svn to compensate for changes in r87866,sheldonh2001-12-1452-0/+7041
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import smbfs-1.4.1.sheldonh2001-12-1452-0/+7041
| | | | | | This is Boris Popov's SMB/CIFS file system implementation for FreeBSD. Obtained from: Boris Popov via ftp://ftp.butya.kz/pub/smbfs/
* Add disk I/O scheduling for positively niced processes.mckusick2001-12-141-0/+2
| | | | | | | | | When a positively niced process requests a disk I/O, make it wait for its nice value of ticks before scheduling its I/O request if there are any other processes with I/O requests in the disk queue. For all the gory details, see the ``Running fsck in the Background'' paper in the Usenix BSDCon 2002 Conference Proceedings, pages 55-64.
* mdoc(7) police overhaul.ru2001-12-141-118/+155
|
OpenPOWER on IntegriCloud