summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Conditionalize IFF_NEEDSGIANT, like everything else here, on IS_MPSAFE.green2004-10-012-4/+6
| | | | | The driver doesn't look any less safe without Giant than with, and works with IS_MPSAFE set to 1 here, so others should probably test it as such.
* Fix a LOR relating to freeing cdevs.phk2004-10-013-11/+19
|
* assign 187 to ata over ethernet for Sam's ata over ethernet driver.imp2004-10-011-0/+1
| | | | | # Yes, this is the right thing to do: we keep assignments for 4.x here # to document them, and Sam has a nearly completed driver.
* cover soreadable and sowriteable with the corresponding socketbuffer locks.alfred2004-10-011-9/+9
|
* nfsclient/nfs_bio.c has a PHOLD() without a PRELE(). Neither shoulddas2004-10-011-3/+1
| | | | be necessary here. Also, use killproc() instead of psignal().
* Avoid calling _PHOLD(p1) with p2's lock held, since _PHOLD()das2004-10-011-3/+8
| | | | | may block to swap in p1. Instead, call _PHOLD earlier, at a point where the only lock held happens to be p1's.
* Don't PHOLD() the target process in procfs, since this is already donedas2004-10-013-6/+3
| | | | | in pseudofs. Moreover, PHOLD() may block between the p_candebug() access check and the actual operation.
* Fix the following race:das2004-10-011-3/+4
| | | | | | | | | | | 1. Process p1 is currently being swapped in. 2. Process p2 calls linux_ptrace(PTRACE_GETFPXREGS, p1_pid, ...) 3. After acquiring a reference to FIRST_THREAD_IN_PROC(p1), p2 blocks in faultin() while p1 finishes being swapped in. This means p2 won't get back the lock on p1 until after p1's threads are runnable. 4. After p1 is swapped in, the first thread in p1 exits. 5. p2 now uses its dangling reference to p1's first thread.
* (forced commit) Previous revision documented the "bcachestat" command.ru2004-10-010-0/+0
|
* The "autoboot" command also has a third (optional) parameter.ru2004-10-012-2/+9
|
* It turns out the ia64 architecture's disc2 overflows if we put thekensmith2004-09-301-2/+9
| | | | | | | | | | | | | | ports/ tree on it. This makes putting the ports/ tree on disc2 at all dependent on the NOPORTREADMES knob as well as the NOPORT knob (at the moment NOPORT may be set while NOPORTREADMES isn't, that should probably be revisited). And it hardcodes ia64 for NOPORTREADMES by request the ia64 release builder. While here really get rid of the temp file 'make index' leaves behind. Tested by: i386 and ia64 'make release' Reviewed by: marcel MFC after: 1 day
* Don't give instructions on how to disable ACPI in the MI section.ru2004-09-301-5/+0
| | | | | For novice users, beastie.4th can just do it. Expert users can read ACPI instructions by typing "help ACPI".
* Setting "kernel" to an absolute path is a bad idea becauseru2004-09-301-2/+2
| | | | | | | | | | | | | | after loading such a kernel, "module_path" will be set to an insane value. Fixed example by providing an equivalent setting. For the record, when automatically loading a kernel (commands "boot" and "boot-conf"), the following is tried, in this order: path=/boot/${kernel} file=${bootfile} path=/boot/${kernel} file=${kernel} path=${kernel} file=${bootfile} path=${kernel} file=${kernel} path=${module_path} file=${kernel}
* Make -t <tty> optional. If not specified use stdin/stdout.emax2004-09-302-14/+35
| | | | | | | | | | | Document this. These changes make it possible to write something like set device "!/usr/bin/rfcomm_sppd -a BD_ADDR" inside the /etc/ppp/ppp.conf file. Very convenient for the users :) Submitted by: Konstantin Stepanenkov <kstepanenkov AT oilspace DOT com> MFC after: 3 days
* Resurrect dump that broke with the last update.sos2004-09-301-5/+4
|
* Update descriptions of named-related knobs.dougb2004-09-301-25/+7
|
* Trade slattach for gpt. With all the tools to create new file systems,marcel2004-09-301-5/+3
| | | | | the tool one needs to partition a disk is more important than some poor man's network interface.
* Bring this file more up to date.ru2004-09-301-12/+29
|
* Retire now useless userconfig_script_*.ru2004-09-303-17/+2
|
* Fix a typo to fix the !DIAGNOSTIC build.jhb2004-09-301-1/+1
| | | | Submitted by: many
* Validate the action pointer to be within the rule size, so that trying togreen2004-09-301-0/+5
| | | | add corrupt ipfw rules would not potentially panic the system or worse.
* The value of $interpret is "OK", in uppercase.ru2004-09-301-1/+1
|
* Fixed the default value of the $prompt variable, document whatru2004-09-302-2/+6
| | | | happens if $prompt is unset.
* Setting dump device from loader(8) has not been supported since 2002.ru2004-09-302-8/+0
|
* This along with v1.6 of counter.c fixes some timecounter issues onkensmith2004-09-301-0/+19
| | | | | | | | | | | | | | | MP machines (hopefully). CPU timers are OK on UP machines but we don't keep the timers in sync on MP machines so if the CPU's timer is chosen as the primary timecounter it's possible for time to not be monotonically increasing because different CPU's counters may be used at different times. But the CPU's counters are otherwise one of the higher quality counters available. So, on UP machines we'll use a relatively high quality value but on MP machines we'll use a quality that should prevent the CPU's counters from being chosen. Requested by: green (who did the first version of the patch) Reviewed by: marius, green MFC after: 1 week
* Set the tc_quality field of the struct before calling tc_init(), sincekensmith2004-09-301-0/+2
| | | | | | | | | | | the structure space had been obtained from malloc() its contents is random garbage. The choice of value being set is part of a larger effort to solve some timecounter issues on MP machines (while working on that we noticed this problem). Noticed by: marius Reviewed by: marius, green MFC after: 3 days
* The default value of "bootfile" has been "kernel" since 2000.ru2004-09-301-1/+1
|
* Mention "help index" in the online help, and provide a help forru2004-09-301-1/+8
| | | | the `?' command.
* Added support for the -D boot option.ru2004-09-301-0/+3
|
* Document boot_cdrom, boot_multicons, and boot_serial.ru2004-09-305-9/+51
| | | | | Reduce diffs between help.common and loader(8). Mention that boot_userconfig is currently a no-op.
* Make it possible to rebuild degraded RAID5 plexes. Note that it isle2004-09-306-16/+261
| | | | | | currently not possible to do this while the volume is mounted. MFC in: 1 week
* `?' is not the same as "help index".ru2004-09-301-4/+2
|
* Assign a global unit number for the tty slave devices (init/lock) usingphk2004-09-302-6/+24
| | | | | | | the new subr_unit.c code. For now assert Giant in ttycreate() and ttyfree(). It is not obvious that it will ever pay off to lock these with anything else.
* Install namedb stuff to ${DESTDIR}/var/named/etc/namedb insteaddougb2004-09-301-1/+1
| | | | | | | | of relying on the symlink in ${DESTDIR}/etc/namedb. This is functionally equivalent, but doesn't rely on the symlink to work. Requested by: ru
* Fixed desctiptions of some options:ru2004-09-301-18/+6
| | | | | | | | | | - Document better what the -C option means. - The -c option is currently a no-op. - The -D and -h options do not allow switching between single/dual console modes and internal/video consoles. (This used to be true for the old biosdisk boot code, but now they just force the multiple consoles mode and serial console, respectively.)
* 1. Update the documentation references, and the warning about setting updougb2004-09-301-2/+14
| | | | | | | | | authoritative servers. 2. Add an IPv4 listen-on option for 127.0.0.1, which is appropriate for the default use as a local resolver. 3. Add a commented out listen-on-v6 option.
* Forward declare struct kaioinfo to un-void a pointer in struct proc.alfred2004-09-301-1/+2
|
* FreeBSD has full support for multiple consoles since 2001.ru2004-09-301-7/+1
|
* Hide all the devices in the chroot dev except for random and null.dougb2004-09-301-0/+3
|
* o Store timestamp in network byte order.maxim2004-09-301-4/+15
| | | | | | | | | o Remove an assumption sizeof(struct timeval) == 8 (this is not true on sparc64). Reviewed by: imp, -hackers Obtained from: NetBSD (rev. 1.75) MT5 after: 1 month
* Add a new API for allocating unit number (-like) resources.phk2004-09-303-0/+606
| | | | | | | | | | | | | | | Allocation is always lowest free unit number. A mixed range/bitmap strategy for maximum memory efficiency. In the typical case where no unit numbers are freed total memory usage is 56 bytes on i386. malloc is called M_WAITOK but no locking is provided (yet). A bit of experience will be necessary to determine the best strategy. Hopefully a "caller provides locking" strategy can be maintained, but that may require use of M_NOWAIT allocation and failure handling. A userland test driver is included.
* Document the Synaptics tunable. While I'm here, also mention thephilip2004-09-301-1/+49
| | | | | | | | | synapticshw_t structure and the MOUSE_SYN_GETHWINFO ioctl() which reads it. MT5 candidate Approved by: njl
* While calling perror() on send() failure was useful for debugging therwatson2004-09-302-3/+2
| | | | | if_em "wedging" problem, large numbers of perror() calls impacts send performance. As such, just count the error, don't print it.
* Add syscall_timing, a simple timing micro-benchmark for somerwatson2004-09-302-0/+195
| | | | | | characteristic system calls. I've been sending this to people for a while, and figured it would be more efficient to just put it in CVS.
* Remove extra */peter2004-09-301-1/+1
| | | | Submitted by: Manfred Antar <null@pozo.com>
* Add missing locking for secpolicy refcnt manipulations.sam2004-09-303-3/+16
| | | | Submitted by: Roselyn Lee
* Merge netipsec/key.c:1.17 into KAME pfkey implementation:rwatson2004-09-301-5/+0
| | | | | | | | | | | | | | | date: 2004/09/26 02:01:27; author: sam; state: Exp; lines: +0 -5 Correct handling of SADB_UPDATE and SADB_ADD requests. key_align may split the mbuf due to use of m_pulldown. Discarding the result because of this does not make sense as no subsequent code depends on the entire msg being linearized (only the individual pieces). It's likely something else is wrong here but for now this appears to get things back to a working state. Submitted by: Roselyn Lee This change was also made in the KAME CVS repository as key.c:1.337 by itojun.
* Introduce a tunable to disable support for Synaptics touchpads. A number ofphilip2004-09-292-2/+22
| | | | | | | | | | | people have reported problems (stickyness, aiming difficulty) which is proving difficult to fix, so this will default to disable until sometime after 5.3R. To enable Synaptics support, set the 'hw.psm.synaptics_support=1' tunable. MT5 candidate. Approved by: njl
* We *need* the pic libobjc library for amd64. It is needed for ia64 aspeter2004-09-291-0/+5
| | | | | | well, but I'll let Marcel decide whether he wants to build a .so or not. Without this, building certain ports that use objc have fatal errors.
* We seem to have occasions where sending an IPI takes significantlykensmith2004-09-291-1/+1
| | | | | | | | | | | longer than 'normal'. The cause is still being tracked down but in the meantime there are machines where raising IPI_RETRIES does help - it's not just a case of the machine staying locked up longer and then panic-ing anyway. Several helpful folks on sparc64@ tried a patch that helped figure out what to raise this number to. Discussed on: sparc64@ MFC after: 3 days
OpenPOWER on IntegriCloud