summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* regennetchild2006-03-203-15/+45
|
* Fix tinderbox on alpha.netchild2006-03-202-15/+14
| | | | Tested by: cross-compile
* Drop some unneeded casts since we program the kernel in C rather than C++.jhb2006-03-204-4/+4
|
* regen: fix of linuxolator with testing in a cross-buildnetchild2006-03-203-9/+15
|
* Fix the linuxolator on amd64 (cross-build).netchild2006-03-201-2/+3
|
* Extend coverage of the MK_IPX build option to the following:ru2006-03-201-0/+4
| | | | | | | | | | | | | | | | | | | | | - <netipx> headers [1] - IPX library (libipx) - IPX support in ifconfig(8) - IPXrouted(8) - new MK_NCP option New MK_NCP build option controls: - <netncp> and <fs/nwfs> headers - NCP library (libncp) - ncplist(1) and ncplogin(1) - mount_nwfs(8) - ncp and nwfs kernel modules User knobs: WITHOUT_IPX, WITHOUT_IPX_SUPPORT, WITHOUT_NCP. [1] <netsmb/netbios.h> unconditionally uses <netipx> headers so they are still installed. This needs to be dealt with.
* Restore fd optimization with a few minor tweaks, to quote tegge:csjp2006-03-201-2/+5
| | | | | | | | | | | | | | | | | | | | | "fdinit() fails to initialize newfdp->fd_fd.fd_lastfile to -1. This breaks fdcopy() which will incorrectly set newfdp->fd_freefile to 1 if no files are open and the last file descriptor marked as unused for fdp was 0. This later causes descriptor 0 to be unavailable in newfdp when the optimization is enabled. When the last file descriptor previously marked as used is nonzero and marked as unused, fdunused() incorrectly sets fdp->fd_lastfile to fd - 1 due to fd_last_used() returning (size - 1). This hides the problem that breaks the optimization." This allows us to keep the optimization, while un-breaking it. This is a RELENG_6 candidate. PR: kern/87208 MFC after: 1 week Submitted by: tegge
* Allow compilation when not using softupdates.tegge2006-03-191-2/+0
|
* Let snapshots make a copy of old contents for all buffers taking part in ategge2006-03-192-16/+39
| | | | | | | | cluster instead of just the first buffer. Delay buf_start() calls until snapshots have a copy of old content. PR: kern/93942
* Add kludge to avoid deadlock when unlinking snapshot.tegge2006-03-191-0/+16
|
* Reduce probability of unmount failing after having unmounted snapshots.tegge2006-03-191-0/+1
|
* Ensure that vnode for directory isn't reclaimed before ffs_snapshot() hastegge2006-03-191-4/+3
| | | | | completed expunging unlinked files. It could come back at another memory location causing a lock order reversal.
* Call vn_start_write() before locking vnode.tegge2006-03-191-2/+2
|
* Don't call vn_finished_write() if vn_start_write() failed.tegge2006-03-193-12/+18
|
* - Correct an assert in vop_rename_pre. fdvp may be locked if it is eitherjeff2006-03-191-1/+1
| | | | | | | the target directory or file. This case should fail in the filesystem anyway and perhaps kern_rename() should catch it. Sponsored by: Isilon Systems, Inc.
* Merge Perforce change 93581 from TrustedBSD audit3 branch:rwatson2006-03-199-526/+541
| | | | | | Mega-style patch. Obtained from: TrustedBSD Project
* Merge Perforce changes 93512, 93514, 93515 from TrustedBSD audit3rwatson2006-03-194-495/+617
| | | | | | | | | | | | | | | | | | | | | | | | | | branch: Integrate audit.c to audit_worker.c, so as to migrate the worker thread implementation to its own .c file. Populate audit_worker.c using parts now removed from audit.c: - Move audit rotation global variables. - Move audit_record_write(), audit_worker_rotate(), audit_worker_drain(), audit_worker(), audit_rotate_vnode(). - Create audit_worker_init() from relevant parts of audit_init(), which now calls this routine. - Recreate audit_free(), which wraps uma_zfree() so that audit_record_zone can be static to audit.c. - Unstaticize various types and variables relating to the audit record queue so that audit_worker can get to them. We may want to wrap these in accessor methods at some point. - Move AUDIT_PRINTF() to audit_private.h. Addition of audit_worker.c to kernel configuration, missed in earlier submit. Obtained from: TrustedBSD Project
* Merge Perforce change 93570 from TrustedBSD audit3 branch:rwatson2006-03-191-0/+10
| | | | | | | Add audit pipe ioctls to query minimum and maximum audit queue lengths. Obtained from: TrustedBSD Project
* Merge Perforce change 93567 from TrustedBSD audit3 branch:rwatson2006-03-191-1/+1
| | | | | | | Bump default queue limit for audit pipes from 32 to 128, since 32 is pretty small. Obtained from: TrustedBSD Project
* Merge Perforce change 93568 from TrustedBSD audit3 branch:rwatson2006-03-192-6/+6
| | | | | | Normalize nested include guards. Obtained from: TrustedBSD Project
* Merge Perforce change 93506 from TrustedBSD audit3 branch:rwatson2006-03-192-2/+98
| | | | | | | | Add ioctls to audit pipes in order to allow querying of the current record queue state, setting of the queue limit, and querying of pipe statistics. Obtained from: TrustedBSD Project
* Actually I wanted 'nolockd' here instead of 'lockd'.pjd2006-03-191-1/+1
| | | | MFC after: 2 days
* Update copyright for 2006.pjd2006-03-195-5/+5
|
* Make net.inet.ip.portrange.reservedhigh anddwmalone2006-03-192-1/+4
| | | | | | | | | | | | | | net.inet.ip.portrange.reservedlow apply to IPv6 aswell as IPv4. We could have made new sysctls for IPv6, but that potentially makes things complicated for mapped addresses. This seems like the least confusing option and least likely to cause obscure problems in the future. This change makes the mac_portacl module useful with IPv6 apps. Reviewed by: ume MFC after: 1 month
* kern.geom.raid3.sync_requests=2 seems to be a better default - it stillpjd2006-03-191-3/+3
| | | | | | keeps disks very busy, but makes system much more responsive. While here, kill extra space.
* Regen.ru2006-03-193-3/+4
|
* Unbreak COMPAT_LINUX32 option support on amd64.ru2006-03-1913-0/+19
| | | | Broken by: netchild
* kern.geom.mirror.sync_requests=2 seems to be a better default - it stillpjd2006-03-191-2/+2
| | | | | | keeps disks very busy, but makes system much more responsive. While here, kill extra space.
* implements section 2.2 of RFC4191, regarding the reserved preference value (10)suz2006-03-191-12/+2
| | | | | Obtained from: KAME MFC after: 1 day
* updates net.inet6.ip6.kame_version as the proof of the latest KAME mergesuz2006-03-191-1/+1
| | | | | Reviewed by: KAME MFC after: 2 days
* Back out fd optimization introduced in revision 1.280 as it appears to becsjp2006-03-181-3/+1
| | | | | | | | | | | | | | | | | | really breaking things. Simple "close(0); dup(fd)" does not return descriptor "0" in some cases. Further, this change also breaks some MAC interactions with mac_execve_will_transition(). Under certain circumstances, fdcheckstd() can be called in execve(2) causing an assertion that checks to make sure that stdin, stdout and stderr reside at indexes 0, 1 and 2 in the process fd table to fail, resulting in a kernel panic when INVARIANTS is on. This should also kill the "dup(2) regression on 6.x" show stopper item on the 6.1-RELEASE TODO list. This is a RELENG_6 candidate. PR: kern/87208 Silence from: des MFC after: 1 week
* Add reference to PR to TOSHIBA TransMemory quirk entry.joerg2006-03-181-0/+1
|
* regennetchild2006-03-187-12/+23
|
* Fixup some problems in my previous commit (COMPAT_43).netchild2006-03-1813-25/+4
| | | | Pointyhat to: netchild
* Enable global pages TLB extension on Application Processors.ups2006-03-181-0/+7
| | | | MFC after: 3 days
* Merge perforce 93507:rwatson2006-03-181-2/+2
| | | | | | | Correct comment: this print is now from audit_record_write(), not audit_worker(). Obtained from: TrustedBSD Project
* Merge perforce change 93199:rwatson2006-03-184-7/+8
| | | | | | | | | | Change send_trigger() prototype to return an int, so that user space callers can tell if the message was successfully placed in the trigger queue. This isn't quite the same as it being successfully received, but is close enough that we can generate a more useful warning message in audit(8). Obtained from: TrustedBSD Project
* - Add a PR number for future reference.flz2006-03-181-1/+1
| | | | Approved by: njl
* regen after COMPAT_43 removalnetchild2006-03-1815-46/+88
|
* Get rid of the need of COMPAT_43 in the linuxolator.netchild2006-03-1812-61/+227
| | | | | Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Obtained from: DragonFly (some parts)
* Oops - fix the build in the !USB_DEBUG case.iedowse2006-03-181-0/+2
|
* Let the EHCI hardware track the toggle state for bulk and interruptiedowse2006-03-181-50/+27
| | | | | | | | | | transfers. This fixes some cases where the software toggle tracking was not doing the right thing. For example, a short transfer that transferred 0 bytes of the requested qTD transfer size does cause a toggle change, but the existing code was assuming it didn't. Reported and tested by: pav MFC after: 2 weeks
* Properly use the sense key infosos2006-03-182-3/+5
|
* When deconfiguring a log, only stop PMCs that are in the RUNNINGjkoshy2006-03-181-1/+2
| | | | state.
* MFp4:imp2006-03-181-0/+199
| | | | | | Add bus attachment for the ohci device on this chip. The bus and hub are detected correctly, but the children devices aren't detected correctly for reasons unknown.
* Add ohci controller mapping.imp2006-03-181-19/+30
|
* MFp4:imp2006-03-181-112/+151
| | | | | | | | | | | | | | | | | o update TODO list o Better use of busdma o mark RX dtors as COHERENT. This helps performance a lot by not requiring so many EXPENSIVE cache flushes. The cost of accessing it non-cached is much smaller. o Copy data from Rx buffers to make IP header 4 byte aligned. o CRC length included in reported length, so cope o Don't free TX buffer twice o Manage TX buffers better. o Enable just the interrupts we want. o Manage OACTIVE better # Some of these done by cognet # These changes let us get to # via NFS root.
* MFP4:imp2006-03-181-6/+6
| | | | Gratuitously sort alphabetically.
* MFP4:imp2006-03-181-317/+28
| | | | | | GC and fix definitions. # some of this may have been done by cognet
* MFp4:imp2006-03-181-49/+195
| | | | | | | | | | | o Add memory barrier to bus space o Allow for up to 3 IRQs per device o Move to table driven population of children devices. o Add support for usb ohci memory mapped controller resource allocation. o Clean up a bunch of extra writes to disable interrupts that are now done elsewhere. o Force all system interrupt handlers be fast. We get deadlock if they aren't.
OpenPOWER on IntegriCloud