summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use bus_dmamap_load_mbuf_sg() for loading rx buffers.scottl2005-01-151-19/+7
|
* Remove ip_fw.h and ip_dummynet.h from includes.glebius2005-01-151-2/+0
|
* Latest IERS Bulletin C (#29): no leap second on 2005-06-30.wollman2005-01-151-19/+29
| | | | Obtained from: http://hpiers.obspm.fr/eoppc/bul/bulc/bulletinc.dat
* Consider three objects, O, BO, and BBO, where BO is O's backing objectalc2005-01-151-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | and BBO is BO's backing object. Now, suppose that O and BO are being collapsed. Furthermore, suppose that BO has been marked dead (OBJ_DEAD) by vm_object_backing_scan() and that either vm_object_backing_scan() has been forced to sleep due to encountering a busy page or vm_object_collapse() has been forced to sleep due to memory allocation in the swap pager. If vm_object_deallocate() is then called on BBO and BO is BBO's only shadow object, vm_object_deallocate() will collapse BO and BBO. In doing so, it adds a necessary temporary reference to BO. If this collapse also sleeps and the prior collapse resumes first, the temporary reference will cause vm_object_collapse to panic with the message "backing_object %p was somehow re-referenced during collapse!" Resolve this race by changing vm_object_deallocate() such that it doesn't collapse BO and BBO if BO is marked dead. Once O and BO are collapsed, vm_object_collapse() will attempt to collapse O and BBO. So, vm_object_deallocate() on BBO need do nothing. Reported by: Peter Holm on 20050107 URL: http://www.holm.cc/stress/log/cons102.html In collaboration with: tegge@ Candidate for RELENG_4 and RELENG_5 MFC after: 2 weeks
* Convert if_em to the new bus_dmamap_load_sg() interface. The old callbackscottl2005-01-152-39/+22
| | | | was really just a waste of cycles, so this streamlines it considerably.
* Document bus_dmamap_load_mbuf_sg()scottl2005-01-151-0/+17
|
* Add bus_dmamap_load_mbuf_sg() to alpha.scottl2005-01-152-5/+42
|
* Fix an assignment that I missed in the last commit.scottl2005-01-151-1/+1
|
* Add bus_dmamap_load_mbuf_sg() to powerpc.scottl2005-01-152-0/+32
|
* Add support for KTR_BUSDMA.cognet2005-01-151-6/+43
|
* Add the prototype for bus_dmamap_load_mbuf_sg().cognet2005-01-151-0/+3
| | | | Spotted out by: scottl
* Add bus_dmamap_load_mbuf_sg() to ia64scottl2005-01-152-6/+41
|
* MFi386: add bus_dmamap_load_mbuf_sg().cognet2005-01-151-0/+36
|
* Add the 7 seg display.cognet2005-01-151-0/+1
|
* Add support for the IQ31244 7 seg display.cognet2005-01-154-0/+390
| | | | Obtained from: NetBSD
* Start the license statement with /*-cognet2005-01-151-1/+1
|
* Fix ACLs handling for the root file system.pjd2005-01-151-0/+5
| | | | | | | | | | | | | | | | Without this fix, when ACLs are set via tunefs(8) on the root file system, they are removed on boot when 'mount -a' is called, because mount(8) called for the root file system always add MNT_UPDATE flag and MNT_UPDATE flag isn't perfect. Now, one cannot remove ACLs stored in superblock (configured with tunefs(8)) via 'mount -a' nor 'mount -u -o noacls <file system>', but it is still possible to mount file system which doesn't have ACLs in superblock via 'mount -o acls <file system>' or /etc/fstab's 'acls' option. Reported by: Lech Lorens/pl.comp.os.bsd Discussed with: phk, rwatson Reviewed by: rwatson MFC after: 2 weeks
* Use device_set_desc().cognet2005-01-151-0/+2
|
* Add the i80321 watchdog.cognet2005-01-153-0/+3
|
* Add a driver for the i80321 watchdog.cognet2005-01-151-0/+149
| | | | Obtained from: NetBSD
* Move the LOCKING section to before the EXAMPLES section.jkoshy2005-01-151-18/+22
| | | | | | Make example locking calls in the EXAMPLES section. Reviewed by: keramida
* If USER of HOSTNAME is set to an empty value, use the fallback value.ru2005-01-151-1/+1
| | | | Submitted by: marck
* Fix arguments syntax.pjd2005-01-1514-123/+81
| | | | | Manual pages fixes by: ru MFC after: 3 days
* Fixed troff warnings.ru2005-01-152-76/+76
|
* Removed empty line.ru2005-01-151-1/+0
|
* Eliminate macro calls inside literal displays.ru2005-01-1512-64/+37
|
* Fixed display type.ru2005-01-152-2/+2
|
* Fixed markup.ru2005-01-151-3/+2
|
* Use lists where appropriate.ru2005-01-151-4/+10
|
* A shorter version of the format string.ru2005-01-151-21/+1
|
* Fixed macro abuse.ru2005-01-151-2/+2
|
* Fixed display types.ru2005-01-151-5/+5
|
* Fixed markup bug.ru2005-01-151-10/+22
|
* Markup: convert a display to a list.ru2005-01-151-10/+19
|
* Markup style.ru2005-01-153-7/+3
|
* Markup nits.ru2005-01-151-16/+14
|
* Markup nit.ru2005-01-151-2/+1
|
* Overhaul the markup.ru2005-01-151-105/+286
|
* Markup fixes.ru2005-01-152-19/+27
|
* Add the bus_dmamap_load_mbuf_sg() function to sparc64.scottl2005-01-153-15/+99
|
* Add a file missed in the previous commit:das2005-01-151-0/+5
| | | | | | Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc. The purpose of having a separate file involved an abandoned scheme that would have kept contrib/gdtoa out of the include path for the rest of libc.
* Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc.das2005-01-1514-38/+20
| | | | | The purpose of having a separate file involved an abandoned scheme that would have kept contrib/gdtoa out of the include path for the rest of libc.
* amd64 assembly versions of sqrt(), lrint(), and llrint() using SSE2.das2005-01-154-0/+77
|
* Most libm routines depend on the rounding mode and/or set exceptiondas2005-01-151-31/+29
| | | | | | | | | | | | | | flags, so they are not pure. Remove the __pure2 annotation from them. I believe that the following routines and their float and long double counterparts are the only ones here that can be __pure2: copysign is* fabs finite fmax fmin fpclassify ilogb nan signbit When gcc supports FENV_ACCESS, perhaps there will be a new annotation that allows the other functions to be considered pure when FENV_ACCESS is off. Discussed with: bde
* Add a cast to fix a warning.scottl2005-01-151-1/+1
|
* Note the deprecation of the abbreviation of a number of ipfw options.brooks2005-01-151-0/+9
|
* Deprecate unmaintainable uses of strncmp to implement abbreviations.brooks2005-01-151-60/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces those with two new functions that simplify the code and produce warnings that the syntax is deprecated. A small number of sensible abbreviations may be explicitly added based on user feedback. There were previously three types of strncmp use in ipfw: - Most commonly, strncmp(av, "string", sizeof(av)) was used to allow av to match string or any shortened form of it. I have replaced this with a new function _substrcmp(av, "string") which returns 0 if av is a substring of "string", but emits a warning if av is not exactly "string". - The next type was two instances of strncmp(av, "by", 2) which allowed the abbreviation of bytes to "by", "byt", etc. Unfortunately, it also supported "bykHUygh&*g&*7*ui". I added a second new function _substrcmp2(av, "by", "bytes") which acts like the strncmp did, but complains if the user doesn't spell out the word "bytes". - There is also one correct use of strncmp to match "table(" which might have another token after it without a space. Since I changed all the lines anyway, I also fixed the treatment of strncmp's return as a boolean in many cases. I also modified a few strcmp cases as well to be fully consistent.
* Braino. Revert rev 1.50.das2005-01-151-0/+7
| | | | Pointy hat to: das
* Remove numerous references to VAX floating-point and the setting ofdas2005-01-1412-204/+44
| | | | | | errno, replacing them with a discussion of IEEE exceptions where appropriate. Cross-reference fenv(3) whenever exceptions are mentioned.
* Fix a problem reported by Pierre Beyssac. Sometinmes when ndis_get_info()wpaul2005-01-144-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calls MiniportQueryInformation(), it will return NDIS_STATUS_PENDING. When this happens, ndis_get_info() will sleep waiting for a completion event. If two threads call ndis_get_info() and both end up having to sleep, they will both end up waiting on the same wait channel, which can cause a panic in sleepq_add() if INVARIANTS are turned on. Fix this by having ndis_get_info() use a common mutex rather than using the process mutex with PROC_LOCK(). Also do the same for ndis_set_info(). Note that Pierre's original patch also made ndis_thsuspend() use the new mutex, but ndis_thsuspend() shouldn't need this since it will make each thread that calls it sleep on a unique wait channel. Also, it occured to me that we probably don't want to enter MiniportQueryInformation() or MiniportSetInformation() from more than one thread at any given time, so now we acquire a Windows spinlock before calling either of them. The Microsoft documentation says that MiniportQueryInformation() and MiniportSetInformation() are called at DISPATCH_LEVEL, and previously we would call KeRaiseIrql() to set the IRQL to DISPATCH_LEVEL before entering either routine, but this only guarantees mutual exclusion on uniprocessor machines. To make it SMP safe, we need to use a real spinlock. For now, I'm abusing the spinlock embedded in the NDIS_MINIPORT_BLOCK structure for this purpose. (This may need to be applied to some of the other routines in kern_ndis.c at a later date.) Export ntoskrnl_init_lock() (KeInitializeSpinlock()) from subr_ntoskrnl.c since we need to use in in kern_ndis.c, and since it's technically part of the Windows kernel DDK API along with the other spinlock routines. Use it in subr_ndis.c too rather than frobbing the spinlock directly.
OpenPOWER on IntegriCloud