summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Mark ntp_gettime() as MSTD, since its system call path will acquirerwatson2005-05-281-1/+1
| | | | Giant if required.
* Explicitly acquire Giant around the ntp_gettime() and assert it in therwatson2005-05-281-0/+4
| | | | | | | sysctl path. While this code is close to MPSAFE, it may require some additional locking. Mark ntp_gettime1() as GIANT_REQUIRED for now. Suggested by: phk
* Change the spkr_set_pitch() function to a macro to fix low level profiling.nyan2005-05-284-28/+20
|
* Regenerate for updated syscalls.master.rwatson2005-05-285-13/+13
|
* Mark the following compatability system calls as MCOMPAT or MCOMPAT4 basedrwatson2005-05-281-8/+8
| | | | | | | | | | | | | | | | | | on the their simply wrapping MPSAFE implementations of existing MPSAFE system calls: getfsstat() lseek() stat() lstat() truncate() ftruncate() statfs() fstatfs() Note that ogetdirentries() is not marked MPSAFE because it does not share the MPSAFE implementation used for getdirentries(), and requires separate locking to be implemented.
* Fix use of uninitialized variable len in ngd_send.bz2005-05-281-3/+7
| | | | | | | | | Note: len gets intialized to 0 for sap == NULL case only to make compiler on amd64 happy. This has nothing todo with the former uninitialized use of len in sap != NULL case. Reviewed by: glebius Approved by: pjd (mentor)
* Regenerate from syscalls.master.rwatson2005-05-285-6/+6
|
* Mark quotactl() as MSTD.rwatson2005-05-281-1/+1
|
* Acquire Giant explicitly in quotactl() so that the syscalls.masterrwatson2005-05-282-4/+20
| | | | entry can become MSTD.
* Regenerate from updated syscalls.master.rwatson2005-05-285-6/+6
|
* Mark kenv(2) as MPSAFE, since it appears to be properly locked down.rwatson2005-05-281-1/+1
|
* Regenerate system call tables from syscalls.master.rwatson2005-05-285-9/+9
|
* Also mark the COMPAT4 version of fhstatfs() as MPSAFE.rwatson2005-05-281-1/+1
|
* Mark fhopen(), fhstat(), and fhstatfs() as MSTD, since they nowrwatson2005-05-281-3/+3
| | | | acquire Giant themselves.
* Acquire Giant explicitly in fhopen(), fhstat(), and kern_fhstatfs(),rwatson2005-05-282-20/+72
| | | | | so that we can start to eliminate the presence of non-MPSAFE system call entries in syscalls.master.
* Add 6300ESB, which should be treated as ICH4.tanimura2005-05-281-1/+9
| | | | | | PR: kern/81573 Submitted by: OOTOMO Hiroyuki <ootomo@za.wakwak.com> MFC after: 1 week
* Let OSPFv3 go through ipfw. Some more additional checks would betanimura2005-05-281-0/+5
| | | | desirable, though.
* Update refrenced URL for SNMP list of ifTypes to refer to iana.orgbrooks2005-05-281-1/+1
| | | | instead of a dead location on ftp.isi.edu.
* Move AVM USB Bluetooth-Adapter BlueFritz! from "broken" devices listemax2005-05-281-4/+6
| | | | | | | (where I incorrectly put it initially) to "ignored" devices list (where it should be). Pointy hat goes to me. MFC after: 3 days
* - Add support to the loader for multiple consoles.jhb2005-05-275-53/+146
| | | | | | | | | | | | | - Teach the i386 and pc98 loaders to honor multiple console requests from their respective boot2 binaries so that the same console(s) are used in both boot2 and the loader. - Since the kernel doesn't support multiple consoles, whichever console is listed first is treated as the "primary" console and is passed to the kernel in the boot_howto flags. PR: kern/66425 Submitted by: Gavin Atkinson gavin at ury dot york dot ac dot uk MFC after: 1 week
* Fix a warning by adding a missing 'const'.jhb2005-05-272-2/+2
| | | | MFC after: 1 week
* Print out the commands from /boot.config after parsing them so that theyjhb2005-05-273-3/+3
| | | | | | | | output is sent to the correct console(s). PR: kern/66425 Submitted by: Gavin Atkinson gavin at ury dot york dot ac dot uk MFC after: 1 week
* Remove (now) unused argument 'td' from bsd_to_linux_statfs().pjd2005-05-271-4/+3
|
* Remove (now) unused argument 'td' from cvtstatfs().pjd2005-05-272-14/+12
|
* Sync locking in freebsd4_getfsstat() with getfsstat().pjd2005-05-272-0/+6
| | | | Giant is probably also needed in kern_fhstatfs().
* Use consistent style in functions I want to modify in the near future.pjd2005-05-272-18/+30
|
* In the current world order, each socket has two mutexes: a mutexrwatson2005-05-272-26/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that protects socket and receive socket buffer state, and a second mutex to protect send socket buffer state. In some places, the mutex shared between the socket and receive socket buffer will be acquired twice, once by each layer, resulting in some inconsistency, but providing the abstraction benefit of being able to more easily separate the two mutexes in the future if desired. When transitioning a socket to the SS_ISDISCONNECTING or SS_ISDISCONNECTED states, grab the socket/receive socket buffer lock once rather than grabbing it as the socket lock, modifying socket state, then grabbing a second time as the receive lock in order to modify the socket buffer state to indicate no further data can be read. This change is believed to close a race between the change in socket state and the change in socket buffer state, which for a remotely initiated close on a UNIX domain socket, resulted in soreceive() returning ENOTCONN rather than an EOF condition. A similar race still exists in the case of send, however, and is harder to fix as the socket and send socket buffer mutexes are not the same, and we would like to avoid holding combinations of socket mutexes over sb_upcall until we've finished clarifying the locking protocol for upcalls. This change has the side affect of reducing the number of mutex operations to initiate disconnect or perform disconnect on a socket by two. PR: 78824 Rerported by: Marc Olzheim <marcolz@stack.nl> MFC after: 2 weeks
* Remove thread_upcall_check, it was used to avoid race bug in earlierdavidxu2005-05-273-16/+1
| | | | | day's sleep queue code, today the bug no longer exists. please see 04/25/2004 freebsd-threads@ mailing list archive.
* Back out ipx.h:1.18, which introduced a Linux API compatibility field inrwatson2005-05-271-3/+0
| | | | | | | | | | | | | | | | | | the ipx_net data structure. Doing so introduced a stronger alignment requirement for the address structure, which in turn propagated into other dependent data structures, which turns out not to be suported by the available IPX source code. As a result, a number of user space applications, such as IPX routing components, failed to operate correctly. RELENG_5_3 candidate? PRs: 74059, 80266 Pointy hat to: bms Fix by: bde Tested by: Keith White <Keith dot White at site dot uottawa dot ca> MFC after: 1 week Suffering: great
* Remove sleep queue hack, it is no longer needed with current sleep queue.davidxu2005-05-271-8/+0
| | | | | | Actually, it causes process to hang when it is being debugged. PR: gnu/77818
* Remove pmap_deactivate(), we do not use it.cognet2005-05-271-6/+0
|
* Latest README to correspond to latest Intel version 2.1.7tackerman2005-05-261-143/+124
|
* Changes to update driver with latest Intel driver version 2.1.7tackerman2005-05-265-529/+2504
| | | | | | | | | | | - Changed from using explicit devices id to using descriptive labels. - Added support for 82573 and 82546 Quad adapters. - Corrected support for 82547EI and 82541ER (mac_type was not assigned) - Removed #ifdef DBG_STATS and extraneous code. if_em_hw.c/if_em_hw.h - Added support for 82573 and 82546 Quad adapters. - Brought forward Intel's most current mac and phy changes.
* s/_KLD_MODULE/KLD_MODULE/cognet2005-05-261-1/+1
|
* Don't enable interrupts in the dispatcher, there's no need to do so.cognet2005-05-261-2/+1
|
* Don't call vm_page_dirty() in pmap_nuke_pv(), it's not the place to do so, andcognet2005-05-261-2/+1
| | | | it leads to funny things, such as pmap_remove_all() marking the page as dirty.
* Plug mbuf leak, that I have introduced in 1.85. Also restore important commentglebius2005-05-261-5/+13
| | | | | | | from if_ethersubr.c:1.178. While here adjust formatting, to make code more readable. Reported by: Alexey Kamyshev, rwatson
* This is conform with the terminology inps2005-05-254-20/+18
| | | | | | | | M.Mathis and J.Mahdavi, "Forward Acknowledgement: Refining TCP Congestion Control" SIGCOMM'96, August 1996. Submitted by: Noritoshi Demizu, Raja Mukerji
* After provider creation!!pjd2005-05-251-6/+6
|
* Separate out address-detaching part of if_detach into if_purgeaddrs,peadar2005-05-253-46/+45
| | | | | | | | | so if_tap doesn't need to rely on locally-rolled code to do same. The observable symptom of if_tap's bzero'ing the address details was a crash in "ifconfig tap0" after an if_tap device was closed. Reported By: Matti Saarinen (mjsaarin at cc dot helsinki dot fi)
* Remove bits specific to CPUs we won't support (< armv4).cognet2005-05-255-538/+15
|
* Increase the refresh rate.cognet2005-05-251-1/+1
|
* Add a missing comma which prevents compilation with debugging enabled.harti2005-05-251-1/+1
| | | | Spotted by: Donatas <donatas@lrtc.net>
* - Call root_mount_rel() when provider IS created, not earlier.pjd2005-05-251-8/+20
| | | | | This should close the race observed by Daniel Eriksson. - Remove redundant wakeup().
* MFi386: Add ReiserFSnyan2005-05-253-0/+18
|
* For ISA DMA maps, the chipsets scatter/gather feature is used. Asmarcel2005-05-251-0/+3
| | | | | | | | | | | such, the segments pointer in the DMA tag will always be NULL. In bus_dmamap_load(), temporarily point the segments pointer in the DMA tag to a local variable so that we don't dereference a NULL pointer. Reset the segments pointer to NULL after calling the callback function with it. PR: alpha/30486 MFC after: 1 week
* MFp4: Setup arm9 to write back by default.cognet2005-05-241-13/+17
| | | | Obtained from: NetBSD
* Remove kcopy(), we don't use it.cognet2005-05-242-630/+0
|
* make stat return an zero'd struct, and be a FIFO again... This is onlyjmg2005-05-241-1/+10
| | | | | | | | | to fix libc_r since it requires stat to close fd's, and so commented in the code... PR: threads/75795 Reviewed by: ps MFC after: 1 week
* We need to decrease p->p_lock after vm_fault() has been called.cognet2005-05-241-1/+1
|
OpenPOWER on IntegriCloud