summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing library dependency.ru2008-03-291-0/+1
|
* Regen.ru2008-03-291-9/+19
|
* Change kgdb_parse() to use wrapped versions of parse_expression() andjhb2008-03-291-6/+9
| | | | | | | | | | evaluate_expression() so that any errors are caught and cause the function to return to 0. Otherwise the errors posted an exception (via longjmp()) that aborted the current operation. This fixes the kld handling for older kernels (6.x and 7.x) that don't have the full pathname stored in the kernel linker. MFC after: 3 days
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerru2008-03-2914-36/+14
| | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
* Change the order from SI_ORDER_FIRST to SI_ORDER_ANY (withinmarcel2008-03-291-1/+1
| | | | | | | SI_SUB_DRIVERS) to avoid loading schemes before all the GEOM classes have been loaded and initialized. Otherwise we may end up using mutexes that haven't been initialized (due to g_retaste() posting an event).
* Include math.h for the fmaf() prototype.das2008-03-291-0/+2
|
* Fix some rather obscene code that has ambiguous if...if...else...das2008-03-296-10/+36
| | | | constructs in it.
* Document modff() and modfl(). Technically, modff() and modfl()das2008-03-292-12/+23
| | | | | | live in libm, while modf() lives in libc due to historical mistakes. I'm claiming in the manpage that they all live in libm, since programmers should not rely on the mistake.
* Adding glabel alias killed gpart alias; fix it.ru2008-03-291-2/+1
|
* - Add a man page for cpuset_getaffinity() and cpuset_setaffinity() andjeff2008-03-292-2/+159
| | | | | | hook it up to the build. Reviewed by: brueffer (skeleton and formatting assistance)
* - Add a man page for cpuset(), cpuset_setid(), and cpuset_getid() and hookjeff2008-03-292-1/+227
| | | | | | it up to the build. Reviewed by: brueffer (skeleton and formatting assistance)
* - Use vm_object_reference_locked() directly fromjeff2008-03-291-15/+2
| | | | | | | | | vm_object_reference(). This is intended to get rid of vget() consumers who don't wish to acquire a lock. This is functionally the same as calling vref(). vm_object_reference_locked() already uses vref. Discussed with: alc
* Rewrite node to support multiple hooks, alike to ng_l2tp, to use one pairmav2008-03-291-5/+8
| | | | of pptpgre and ksocket nodes for all calls between two peers.
* Eliminate an #if 0/#endif that was unintentionally introducedalc2008-03-291-2/+0
| | | | by the previous revision.
* Initialize the head pointer in kld_current_sos() to NULL to avoid returningjhb2008-03-291-0/+1
| | | | | | | | a junk pointer and possibly causing a seg fault if we don't have any non-kernel klds (or are unable to walk the list due to core / kernel mismatch). MFC after: 1 week
* Make ALTQ cope with disappearing interfaces (particularly common with mpdmlaier2008-03-295-2/+167
| | | | | | | | | and netgraph in gernal). This also allows to add queues for an interface that is not yet existing (you have to provide the bandwidth for the interface, however). PR: kern/106400, kern/117827 MFC after: 2 weeks
* ARC-1680 is supported.brueffer2008-03-281-1/+3
| | | | | Submitted by: Steven Hartland <killing@multiplay.co.uk> MFC after: 3 days
* Forced commit to note that these files were repo copied.jb2008-03-280-0/+0
|
* Document lockmgr_waiters(9).brueffer2008-03-282-1/+9
| | | | Reviewed by: attilio
* Implement FSACTL_LNX_GET_FEATURES and FSACTL_GET_FEATURES ioctls. RAIDemaste2008-03-282-0/+64
| | | | | | tools (e.g. arcconf) need this to be able to create arrays larger than 2TB. Submitted by: Adaptec, via driver build 15317
* Add a couple of missing NIC driver modules.brueffer2008-03-281-0/+6
| | | | | Approved by: rwatson (mentor) MFC after: 3 days
* Add support for PC-9800 partition tables.marcel2008-03-286-0/+444
|
* Add Qualcomm, Inc. ZTE CDMA Technologies MSM to the list of supportedrpaulo2008-03-281-1/+3
| | | | | | devices. MFC after: 1 week
* If we're returning successfully from bus_dmamem_alloc, don't record a KTRemaste2008-03-281-1/+1
| | | | of error = ENOMEM.
* Add Qualcomm ZTE CMDMA MSM modem to the list of supported modems.rpaulo2008-03-282-0/+4
| | | | MFC after: 1 week
* Bump __FreeBSD_version in order to reflect BUF_LOCKWAITERS() reintegrationattilio2008-03-281-1/+1
| | | | and lockmgr_waiters() introduction.
* b_waiters cannot be adequately protected by the interlock because it isattilio2008-03-284-52/+24
| | | | | | | | | | | | | | | | dropped after the call to lockmgr() so just revert this approach using something similar to the precedent one: BUF_LOCKWAITERS() just checks if there are waiters (not the actual number of them) and it is based on newly introduced lockmgr_waiters() which returns if the lockmgr has waiters or not. The name has been choosen differently by old lockwaiters() in order to not confuse them. KPI results enriched by this commit so __FreeBSD_version bumping and manpage update will be happening soon. 'struct buf' also changes, so kernel ABI is disturbed. Bug found by: jeff Approved by: jeff, kib
* Minor changes to improve compatibility with older FreeBSD releases.dfr2008-03-2820-24/+45
|
* Use ; instead of : to end a line.brooks2008-03-281-1/+3
| | | | Submitted by: Niclas Zeising <niclas dot zeising at gmail dot com>
* Add support for hardwiring ppp sessions to particular devices with newbrooks2008-03-282-2/+17
| | | | | | | | | per-profile variables of the form ppp_<profile>_unit. No ppp_unit variable is supported since tying the same unit to more than one profile won't work. PR: conf/122127 MFC after: 1 week
* Support gif_interface values that don't follow the pattern gif###.brooks2008-03-281-9/+6
| | | | Remove ancient compatablity support for gif_interface="NO".
* When retasting, wither any existing GEOMs of the same class. Thismarcel2008-03-281-1/+7
| | | | | | | | | | | allows the class to create a different GEOM for the same provider as well as avoid that we end up with multiple GEOMs of the same class with the same name. For example, when a disk contains a PC98 partition table but only MBR is supported, then the partition table can be treated as a MBR. If support for PC98 is later loaded as a module, the MBR scheme is pre-empted for the PC98 scheme as expected.
* Add support to mincore for detecting whether a page is part of aps2008-03-284-2/+7
| | | | | | "super" page or not. Reviewed by: alc, ups
* _lockmgr_args() accepts a 'char *' string as file, so modify _BUF_LOCK()attilio2008-03-281-2/+2
| | | | and _BUF_TIMELOCK() prototypes accordingly with this.
* In revision 1.70, 1.71 and 1.84 re(4) tried to workaround checksumyongari2008-03-281-12/+14
| | | | | | | | | | | | | | | | | | offload bugs by manual padding for short IP/UDP frames. Unfortunately it seems that these workaround does not work reliably on newer PCIe variants of RealTek chips. To workaround the hardware bug, always pad short frames if Tx IP checksum offload is requested. It seems that the hardware has a bug in IP checksum offload handling. NetBSD manually pads short frames only when the length of IP frame is less than 28 bytes but I chose 60 bytes to safety. Also unconditionally set IP checksum offload bit in Tx descriptor if any TCP or UDP checksum offload is requested. This is the same way as Linux does but it's not mentioned in data sheet. Obtained from: NetBSD Tested by: remko, danger
* Remove the last 3 files I missed. These have been repo copied to the newjb2008-03-283-341/+0
| | | | location under a cddl part of the tree following the core@ license review.
* Instruments buffer lock objects in order to track correctly consumersattilio2008-03-281-38/+33
| | | | | consumers in locking operations. While here, operates some style(9) cleanups.
* Remove files that have been repo copied to their new locationjb2008-03-28319-128164/+0
| | | | in cddl-specific parts of the source tree.
* The sources covered by Sun's CDDL have been repo copied below thejb2008-03-2713-108/+108
| | | | | | | | src/cddl and src/sys/cddl directories per the core@ decision following the license review. This change modifies the affected Makefiles to reference the sources in their new location.
* Remove ng_setisr() call from ng_dequeue(). It is useless as we any waymav2008-03-271-11/+0
| | | | | | | | will never exit ngintr(), while there is some ready requests on the queue. It was made years ago with hope of parallel queue processing by several net threads. But even if we have several threads sometimes, we have no rights to process queue in parallel as it will break original requests serialization that is critically important for some setups.
* Remove option headers that do not exist and are not usedantoine2008-03-277-10/+10
| | | | | | | from the Makefiles in sys/modules. (opt_devfs.h, opt_bdg.h, opt_emu10kx.h and opt_uslcom.h) Approved by: rwatson (mentor)
* Switch from timeval to bintime, to use 1/(2^20) of seconds instead ofmav2008-03-271-22/+23
| | | | | microseconds. It allows to use bit shifts instead of some heavy 64bit mul/div math operations.
* Add IFF_NEEDSGIANT to IFF_CANTCHANGE, to prevent user-level codeiedowse2008-03-271-1/+2
| | | | | | | | | | from clearing the IFF_NEEDSGIANT flag on Giant-locked interfaces. In particular, wpa_supplicant was doing this on USB interfaces, causing panics when Giant-locked code was then called without Giant. Submitted by: Alexey Popov Reviewed by: rwatson MFC after: 3 days
* Remove the '-k' option.dfr2008-03-271-1/+1
|
* Add nfslockd and krpc modules.dfr2008-03-272-0/+67
|
* Add kernel module support for nfslockd and krpc. Use the module systemdfr2008-03-2722-11/+74
| | | | | | | to detect (or load) kernel NLM support in rpc.lockd. Remove the '-k' option to rpc.lockd and make kernel NLM the default. A user can still force the use of the old user NLM by building a kernel without NFSLOCKD and/or removing the nfslockd.ko module.
* When building a kernel module, define MAXCPU the same as SMP sojb2008-03-277-12/+12
| | | | that modules work with and without SMP.
* MFamd64 with few changes:alc2008-03-272-91/+1108
| | | | | | | | | | | | | | | | | | | | | | | | | 1. Add support for automatic promotion of 4KB page mappings to 2MB page mappings. Automatic promotion can be enabled by setting the tunable "vm.pmap.pg_ps_enabled" to a non-zero value. By default, automatic promotion is disabled. Tested by: kris 2. To date, we have assumed that the TLB will only set the PG_M bit in a PTE if that PTE has the PG_RW bit set. However, this assumption does not hold on recent processors from Intel. For example, consider a PTE that has the PG_RW bit set but the PG_M bit clear. Suppose this PTE is cached in the TLB and later the PG_RW bit is cleared in the PTE, but the corresponding TLB entry is not (yet) invalidated. Historically, upon a write access using this (stale) TLB entry, the TLB would observe that the PG_RW bit had been cleared and initiate a page fault, aborting the setting of the PG_M bit in the PTE. Now, however, P4- and Core2-family processors will set the PG_M bit before observing that the PG_RW bit is clear and initiating a page fault. In other words, the write does not occur but the PG_M bit is still set. The real impact of this difference is not that great. Specifically, we should no longer assert that any PTE with the PG_M bit set must also have the PG_RW bit set, and we should ignore the state of the PG_M bit unless the PG_RW bit is set.
* Remove the C flag from slip.log. The current slip userbase does notbrooks2008-03-271-1/+1
| | | | | justify the presence of a (usually empty) /var/log/slip.log on every FreeBSD box.
* Regen after makesyscalls.sh change.jb2008-03-271-0/+4767
|
OpenPOWER on IntegriCloud