summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Make KSE a kernel option, turned on by default in all GENERICjb2006-10-2662-242/+1348
| | | | | | | | | | | | | | kernel configs except sun4v (which doesn't process signals properly with KSE). Reviewed by: davidxu@
* | Adopt comments borrowed from aout_freebsd.c.ru2006-10-262-2/+2
| |
* | Restore support for -c and -d that were treacherously murdered inru2006-10-262-4/+8
| | | | | | | | | | | | | | rev. 1.58. (This only costs us four bytes.) Prodded by: bde MFC after: 3 days
* | Back out rev. 1.71 as it breaks directly loading (i386) kernels.ru2006-10-262-6/+6
| | | | | | | | | | | | OK'ed by: jhb PR: i386/96430, i386/104709 MFC after: 3 days
* | MF kmod.mk 1.176: Properly handle vnode_if.h dependencies.ru2006-10-261-1/+5
| | | | | | | | Instructed by: bde
* | Fixed high resolution profiling on arches that support it (amd64 andbde2006-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i386). Use -mprofiler-epilogue again, and don't use -finstrument-functions. The former has been fixed for arches that implement high-res profiling, and the latter has been useless for kernel profiling since gcc-3.4 when it started forcing -fno-inline. -fno-inline gives a kernel with performance characteristics too different from a normal kernel to be worth profiling, by turning off inlining of all the little optimized functions in headers. This interacts especially badly with FreeBSD's use of "static inline" for all inlines in headers, by creating many separate copies of the little functions, so not inlining tends to increase cache pressure where it should reduce it, and (since gprof(1) doesn't understand the copies) the statistics for the little functions are hard to interpret even if you want them.
* | The attempt to rename "." with MAC framework compiled in would cause attemptkib2006-10-262-2/+4
| | | | | | | | | | | | | | | | | | to twice unlock the vnode. Check that ni_vp and ni_dvp are different before doing second unlock. Reviewed by: rwatson Approved by: pjd (mentor) MFC after: 1 week
* | Better align output of "show uma" by moving from displaying the basicrwatson2006-10-261-5/+7
| | | | | | | | | | | | | | counters of allocs/frees/use for each zone to the same statistics shown by userspace "vmstat -z". MFC after: 3 days
* | Fix leak in NAMEI zone caused by nfs server when VOP_RENAME fails.kib2006-10-261-2/+2
| | | | | | | | | | | | | | Submitted by: Padma Bhooma <pbhooma at panasas com> Reviewed by: bde Approved by: pjd (mentor) MFC after: 1 week
* | Reduced the ifdef tangle for profiling by moving the unreachablebde2006-10-261-12/+2
| | | | | | | | | | | | never-working parts for icc to the attic. Fixed some nearby style bugs.
* | Increase usefulness of "show malloc" by moving from displaying the basicrwatson2006-10-261-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | counters of allocs/frees/use for each malloc type to calculating InUse, MemUse, and Requests as displayed by the userspace vmstat -m. This is more useful when debugging malloc(9)-related memory leaks, where the count of allocs/frees may not usefully reflect that current memory allocation (i.e., when highly variable size allocations occur with the same malloc type, such as with contigmalloc). MFC after: 3 days Limitations observed by: scottl
* | Optimize umtx_lock_pi() a bit by moving some heavy code out of the loop,davidxu2006-10-261-32/+27
| | | | | | | | make a fast path when a umtx_pi can be allocated without being blocked.
* | Re-sync'ing pf rules in post command as we already did for ipfilter.avatar2006-10-261-1/+2
| | | | | | | | | | | | | | | | With this patch, pf rules with dynamically created devices such like tun0 works without further intervention. Reviewed by: mlaier MFC after: 3 days
* | Fix a bug converting a variable from the numeric type to a string.ru2006-10-252-1/+23
| | | | | | | | | | PR: bin/104795 MFC after: 3 days
* | Let allow to teardown multiple irqs as well.cognet2006-10-251-1/+3
| |
* | Setup multiple interrupts if needed.cognet2006-10-251-2/+5
| |
* | Fix LEDs not working when atkbd is an active keyboard and the physicalru2006-10-251-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keyboard is attached only after the system has already booted. If USB keyboard is also present, and there's no kbdmux(4), the problem has been hiding itself because as soon as we get to multi-user, the USB keyboard becomes an active keyboard (see devd.conf), thus marking atkbd inactive and letting the old code initialize the keyboard. With kbdmux(4), or if there's no USB keyboard, the atkbd keyboard is always active, whether it's physically attached or not, thus it never initialized itself properly on a physical attach. To fix this, move block that initialized the keyboard on attach upper so it doesn't depend on the (KBD_IS_ACTIVE(kbd) && KBD_IS_BUSY(kbd)) condition. Also move KBD_FOUND_DEVICE() a few lines upper so that KDSETLED and KDSETREPEAT that follow it propagate to the controller. MFC after: 3 days
* | Remove extra _MAC_ from #ifdef guard.rwatson2006-10-251-1/+1
| |
* | Fix non-working CAPS LED under X by applying fix from atkbd.c,v 1.27:ru2006-10-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | : revision 1.27 : date: 2000/05/28 12:43:24; author: ache; state: Exp; lines: +3 -2 : Manipulate with AltGR Led (really CapsLock Led) only in K_XLATE mode, because : all other modes not set ALKED flag and it means that CapsLock always turned : off for them. : Real bug example is X11 which never turn on CapsLock with Russian keyboard. : : PR: 18651 : Submitted by: "Mike E. Matsnev" <mike@po.cs.msu.su> MFC after: 3 days
* | Force the use of the tbl(1) preprocessor.ru2006-10-252-1/+2
| |
* | - Don't pass an empty ``NM='' to lorder(1) when NM is unset.ru2006-10-251-3/+17
| | | | | | | | | | - Don't redundantly use "env". - Protect NM value with quotes, just in case.
* | Document the NM environment variable.ru2006-10-251-1/+9
| |
* | MFp4: Move the parameters that are basically dictated by the AT91imp2006-10-252-5/+5
| | | | | | | | organization to that file.
* | MFp4: Status register bitsimp2006-10-251-0/+14
| |
* | Fixed -mprofiler-epilogue. The garbage collector apparently doesn'tbde2006-10-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | understand that non-local variables can never be collected, and when it collected the static variable for mexitcount_libfunc, gcc aborted on the next use of this variable. This quick fix is to reinitialize the variable on every use and depend on garbage collection recovering the small amount of memory wasted by this, and not worry by the small amount of time wasted by this. It would be better to initialize the variable together with most of the other libfuncs in optabs.c and depend on whatever magic is there to prevent its collection, but we initialize it here to avoid taking at least 2 more files off the vendor branch.
* | In order to eliminate a branch, convert opcode to unsigned integer.davidxu2006-10-251-2/+2
| |
* | Eliminate an unnecessary `if' statement.davidxu2006-10-251-1/+2
| |
* | Move sigqueue_take() call into proc_reparent(), this fixed bugs wheredavidxu2006-10-252-9/+4
| | | | | | | | proc_reparent() is called but sigqueue_take() is forgotten.
* | - Update USB HID usage tables according to the following specs:markus2006-10-241-57/+709
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * USB HID Usage Tables, V1.12 * USB Monitor Control Class Specification, V1.0 * USB Usage Tables for HID Power Devices, V1.0 * USB Device Class Definition for Physical Devices, V1.0 * USB HID Point of Sale Usage Tables, V1.02 - Fix spelling of 'Microsoft' - Bring the so called Microsoft page, in line with the style of the rest of the file. - Remove NetBSD version string as it doesn't reflect reality any longer Approved by: emax (mentor)
* | Ooops, dump_avail[i] can be 0 if the RAM starts at 0x00000000, so check thatcognet2006-10-241-4/+4
| | | | | | | | | | dump_avail[i + 1] is == 0 as a stop condition instead. MFC after: 3 days
* | Bizet was only born once.grog2006-10-241-1/+0
| |
* | Two tiny style fixes.ru2006-10-241-3/+3
| |
* | Revert rev. 1.86 by jmallett@ as it breaks "ro" mounts specifiedru2006-10-241-6/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | in /etc/fstab. This has been happening due to the priority inversion; options specified on the command line should take precedence over options from fstab over default "noro" option, but since both the default "noro" and options specified on the command line (-w, -r, -o ...) were put into the same "options" variable, "noro" took precedence over fstab "ro" (this is easily visible with "mount -d"). PR: bin/100164
* | The AUTO_KEYBOARD_DETECT is useful on amd64 as well.ru2006-10-241-1/+3
| |
* | Remove hint.atkbd.0.flags="0x1" from the installation device.hints;ru2006-10-241-6/+0
| | | | | | | | | | kbdmux(4) is available during install and should take care of USB keyboards.
* | Fix the description of "media-type".ru2006-10-241-3/+14
| |
* | Flesh out the compatibility section a little bit. Bump doc date.trhodes2006-10-241-30/+20
| |
* | Backout previous change (SIGSYS related). The fix has been applied to thesobomax2006-10-241-2/+0
| | | | | | | | | | | | proper place. Pointed out by: rwatson
* | Regen.sobomax2006-10-244-54/+4
| |
* | Fix kernel breakage introduced in the previous commit (redeclatationsobomax2006-10-241-9/+9
| | | | | | | | of the audit functions).
* | Merge res_send.c of BIND9 9.3.3rc2 into main chunk. It includesume2006-10-241-6/+7
| | | | | | | | | | | | | | | | | | | | following fix: Retransmission timeouts should be based on which attempt it is to the nameserver and not the nameserver itself. Obtained from: ISC MFC after: 3 days
* | Regenerate.rwatson2006-10-244-22/+81
| |
* | Hook up audit functions in the freebsd32 compatibility code. It isrwatson2006-10-241-9/+15
| | | | | | | | | | | | | | believed these likely don't require wrappers. Reported by: sobomax MFC after: 3 days
* | Reduce our pointy-hat pool capacity by one (i.e. bump manpage date,keramida2006-10-241-1/+1
| | | | | | | | | | | | after the last change to this manpage). Reminded by: ru
* | Document NO_IGNORE and its interation with FORBIDDEN.keramida2006-10-241-0/+11
| | | | | | | | Triggered by: a question by Panagiotis Hadgis <hadgis@ceid.upatras.gr>
* | Protect sigqueue_take() call by child process's lock, it fixed adavidxu2006-10-241-2/+2
| | | | | | | | | | potential race with ptrace 'attach' which changes parent of the child process.
* | Ditch crummy fattime <--> timespec conversion functionsphk2006-10-241-149/+8
| |
* | Drop crummy fattime to timespec conversion routines.phk2006-10-241-163/+12
| | | | | | | | Leave a XXX here for anybody able to test.
* | (Forced commit.) Forgot to note that previous change wasru2006-10-240-0/+0
| | | | | | | | Submitted by: Stepan A. Baranov
* | Remove the non-standard and undocumented STAILQ_REMOVE_HEAD_UNTIL()ru2006-10-241-5/+0
| | | | | | | | macro now that we no longer use it.
OpenPOWER on IntegriCloud