summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug introduced in the per-CPU Cx states commit. The wrong loop varnjl2007-06-021-30/+27
| | | | | | | | (j/i) was being used and it was being incremented, not decremented as before. Factor out this code into a common function and call it from both the common and per-CPU case. MFC after: 1 day
* Mute the main audio during reboot/shutdown. This prevents a burst of staticnjl2007-06-021-2/+16
| | | | | on the speakers of my Panasonic Y4. It might make sense to do this in the mixer rc.d script as well.
* Remove a file that should have been removed as part of the hardware notesbmah2007-06-021-129/+0
| | | | reorganization.
* AcpiAcquireGlobalLock() can sometimes sleep if the mutex is contested.njl2007-06-021-13/+10
| | | | | | | | | | | | | | | | The global lock is a memory region shared with the BIOS and thus has some strange behavior like the fact that the sleep is 1 ms max. We use standard mutexes to synchronize with the SCI so acquiring the global lock after locking the mutex resulted in a witness warning. To deal with this for now, acquire the global lock before all other locks, similar to Giant. This should fix the witness "sleeping with mutex held" issue on boot that occurred after the last ACPI-CA import. In the future, we hope to move to the new mutex interface in ACPI-CA instead of the pseudo-semaphore version we have now. Reviewed by: jkim
* Don't lie about saved reports.philip2007-06-021-1/+1
| | | | | | PR: gnu/89777 Submitted by: edwin MFC after: 1 day
* Remove (accidentally) included types.h .ariff2007-06-021-1/+0
|
* Use standard pcm_get/setflags() rather than dereferencing softc whileariff2007-06-024-41/+26
| | | | enabling SD_F_SOFTPCMVOL or any flags.
* Separate license from comments.joel2007-06-024-7/+10
| | | | Approved by: ariff
* - fix initial pcb vrf setting when the initial vrf is not therrs2007-06-027-40/+36
| | | | | | | | default_vrf_id - Missing lock/unlock of inp added as well in the v6 side. - IFN hash table moves to sctppcbinfo since indexes are unique across systems (including different VRFs) this makes it easier to do ifn lookups.
* Clean up more obsolete shared threading libraries:ru2007-06-021-0/+4
| | | | | | | | | | | | | | - /lib/libpthread.so.2 was made obsolete by renaming libpthread to libkse (!sparc64, 2007/05/13). - /usr/lib/libthr.so.2 was made obsolete by moving the library to /lib (!sparc64, 2007/05/13). - /lib/libkse.so.2 existed for a few days before the version bump for those who had libpthread as their default threading library. Coding this "right" in ObsoleteFiles.inc is nearly impossible, so just add the missing obsolete libraries to the version bump block. Submitted by: deischen, ru
* New release notes:brueffer2007-06-021-12/+35
| | | | | | | | | | | | | | - GCC SSP enabled by default - X11BASE change - touch -A - fwip(4) and dcons(4) in GENERIC - FireWire/dcons support in the i386/amd64 loader Modified release notes: - MFCs noted: newly supported ftpd RFCs, lagg(4), mpt(4) changes, snd_atiixp(4) suspend/resume - sa(8) entry moved to the correct place - xorg 7.2 update
* fixed memory leak for IPv6 multicast membership information associatedjinmei2007-06-023-21/+29
| | | | | | | with interface addresses. Approved by: gnn (mentor) MFC after: 1 week
* simplified the fix in rev. 1.69 by replacing RT_REMREF+RT_UNLOCK withjinmei2007-06-021-6/+3
| | | | | | RTFREE_LOCKED. Approved by: gnn (mentor)
* Finish making resolv ordering deterministic by REQUIRE'ing it here.dougb2007-06-021-1/+1
|
* Add REQUIRE netif to make ordering more deterministic, and to make suredougb2007-06-021-5/+6
| | | | | | we have a fighting chance of having useful stuff from DHCP. Tighten up the code a little, and fix whitespace issues.
* remove pointless recursive acquisition of port lock in cxgb_init_lockedkmacy2007-06-021-2/+0
|
* Clean up audit comments--formatting, spelling, etc.rwatson2007-06-018-74/+70
|
* I understood the MLINK part incorrectly, it should be the other way aroundremko2007-06-012-2/+1
| | | | | | also remove the init mlink to securelevel. Discussed with and sharing pointyhat with: brueffer
* Revert my previous change, add an MLINK from securelevel.7 to security.7remko2007-06-012-2/+3
| | | | Discussed with: brueffer
* Change securelevel(7) to security(7). Yes i am awareremko2007-06-011-2/+2
| | | | | | | | | that this is within the contrib directory. PR: docs/104402 Submitted by: Dr. Markus Waldeck <waldeck at gmx dot de> Discussed with: mlaier
* More obsolete stuff from doing a 6.2 -> 7.0 upgrade.ru2007-06-011-0/+28
|
* - Added more obsolete stuff.ru2007-06-011-7/+65
| | | | - Undelete archive_entry_set_dev{major,minor}.3.
* s/tabs/spaces/ru2007-06-011-53/+53
|
* Revert previous, part of NFS that I didn't know about.trhodes2007-06-011-0/+20
|
* Break long linepav2007-06-011-2/+3
| | | | Submitted by: ru
* Add bsd.port.options.mk, a stub to include parts of bsd.port.mk that handlepav2007-06-012-1/+9
| | | | | | | | | | OPTIONS resolving. This will allow us to load bsd.port.mk in port Makefiles in three steps (options, pre, post), allowing us to manipulate USE_* flags conditionally on OPTIONS values. With hat: portmgr Reviewed by: ru MFC after: 1 week
* Garbage collect msdosfs_fhtovp; it appears unused and I have been usingtrhodes2007-06-011-20/+0
| | | | MSDOSFS without this function and problems for the last month.
* Change the VOP_OPEN(), vn_open() vnode operation and d_fdopen() cdev operationkib2007-06-016-8/+8
| | | | | | | | argument from being file descriptor index into the pointer to struct file: part 2. Convert calls missed in the first big commit. Noted by: rwatson Pointy hat to: kib
* Remove AUDIT_PRINTF() debugging statements and definition; clean up orrwatson2007-06-013-55/+10
| | | | | | | | | remove associated comments. Slip audit_file_rotate_wait assignment in audit_rotate_vnode() before the drop of the global audit mutex. Obtained from: TrustedBSD Project
* - Take out the broken table-id concept. Panda Routers have a M-VRFrrs2007-06-0114-158/+164
| | | | | | | | | concept that is NOT well thought out for a multi-homed transport protocol. So the useless table-id entries passed around need to be removed. - Add a event timer for the zero copy api. - Fix a bug in sctp_timer.c when searching for an alternate with the largest ssthresh (the compare was wrong).
* Partially back out rev. 1.127, to restore broken functionality. Thisglebius2007-06-011-5/+4
| | | | | | should be redesigned, but better enter RELENG_7 with a working ngctl(8). Agreed by: julian
* Change directory back to ${.CURDIR} when remaking Makefiles.fjoe2007-06-011-1/+9
| | | | Pointed out by: ru
* - Work-around the already partially broken rusage support in kvm byjeff2007-06-011-0/+2
| | | | | | completely disabling it until a full solution is agreed upon. Pointy hat to: me
* Markup fixes.delphij2007-06-011-12/+13
|
* Add on/off controls for VLAN_MTU and VLAN_HWTAGGING to bge(4).yar2007-06-011-2/+41
|
* Forced commit to describe changes in the last revision.jeff2007-06-010-0/+0
| | | | | | | - Move cpu limit handling to a callout that runs once per-second and sums up all threads tick times to check for violations. This removes all code from mi_switch() that touches the proc. This also cleans up ast() a bit by removing one large case.
* - Move rusage from being per-process in struct pstats to per-thread injeff2007-06-0126-163/+213
| | | | | | | | | | | | | | | | | | | td_ru. This removes the requirement for per-process synchronization in statclock() and mi_switch(). This was previously supported by sched_lock which is going away. All modifications to rusage are now done in the context of the owning thread. reads proceed without locks. - Aggregate exiting threads rusage in thread_exit() such that the exiting thread's rusage is not lost. - Provide a new routine, rufetch() to fetch an aggregate of all rusage structures from all threads in a process. This routine must be used in any place requiring a rusage from a process prior to it's exit. The exited process's rusage is still available via p_ru. - Aggregate tick statistics only on demand via rufetch() or when a thread exits. Tick statistics are kept in the thread and protected by sched_lock until it exits. Initial patch by: attilio Reviewed by: attilio, bde (some objections), arch (mostly silent)
* Fix a breakage with "MODULES_WITH_WORLD=true make buildworld".simokawa2007-06-011-2/+5
| | | | PR: kern/11320
* Couple of the fixes needed revising. The ICH8 autoneg was still broken,jfv2007-05-311-15/+14
| | | | | | | this change both simplifies the code and plugs a hole where the devise was reset without keeping the management controller at bay :) Second, the 82571 LAA reset problem was incomplete, this addition is necessary. Just one of those days :)
* Revert VMCNT_* operations introduction.attilio2007-05-3146-288/+263
| | | | | | | | Probabilly, a general approach is not the better solution here, so we should solve the sched_lock protection problems separately. Requested by: alc Approved by: jeff (mentor)
* Changes to my local build lead to my confusion - revert the last change, buttrhodes2007-05-311-5/+4
| | | | | | reword the original text a bit. Sorry for the churn. Quick jump: thompsa
* Document recent improvements to the sound infrastructure (virtual recordingjoel2007-05-311-9/+20
| | | | | | channels, changed sysctl's and device nodes etc). Reviewed by: ariff
* Correct two small typosdougb2007-05-311-2/+2
|
* The newfs_msdos utility does not store the boot signature in thetrhodes2007-05-311-6/+6
| | | | | | | | correct place on large sector disks. The boot signature should be at offset 0x1fe in the BPB; newfs_msdos currently stores it 2 bytes from the end of the sector. Taken from: NetBSD
* There is no pf module yet.trhodes2007-05-311-2/+4
|
* Take back the name 'bridge' now that we are the one and only. This can bethompsa2007-05-311-2/+2
| | | | | phased back in over the next few major releases. if_bridge is still the documented device name so nothing has changed yet.
* Make the interrupt handler wrapper capable of correctly support ↵piso2007-05-314-25/+42
| | | | | | filter+ithread handler. Discussed and reviewed with: bsdimp, simokawa
* In some particular cases (like in pccard and pccbb), the real devicepiso2007-05-318-19/+89
| | | | | | | | | | | handler is wrapped in a couple of functions - a filter wrapper and an ithread wrapper. In this case (and just in this case), the filter wrapper could ask the system to schedule the ithread and mask the interrupt source if the wrapped handler is composed of just an ithread handler: modify the "old" interrupt code to make it support this situation, while the "new" interrupt code is already ok. Discussed with: jhb
* Last major commit and updates for RELENG_7:ariff2007-05-3115-1044/+1813
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rework the entire pcm_channel structure: * Remove rarely used link placeholder, instead, make each pcm_channel as head/link of each own/each other. Unlock - Lock sequence due to sleep malloc has been reduced. * Implement "busy" queue which will contain list of busy/active channels. This greatly reduce locking contention for example while servicing interrupt for hardware with many channels or when virtual channels reach its 256 peak channels. - So I heard you like v chan ... O RLY? Welcome to Virtual **Record** Channels (vrec, rec vchans, vchans for recording, Rec-Chan, you decide), the ultimate solutions for your nagging O_RDWR full-duplex wannabe (note: flash plugins) monopolizing single record channel causing EBUSY. Vrec works exactly like Vchans (or, should I rename it to "Vplay" :) , except that it operates on the opposite direction (recording). Up to 256 vrecs (like vchans) are possible. Notes: * Relocate dev.pcm.%d.{vchans,vchanformat,vchanrate} to each of its respective node/direction: dev.pcm.%d.play.* for "play" (cdev = dsp%d.vp%d) dev.pcm.%d.rec.* for "record" (cdev = dsp%d.vr%d) * Don't expect that it will magically give you ability to split "recording source" (eg: 1 channel for cdrom, 1 channel for mic, etc). Just admit that you only have a *single* recording source / channel. Please bug your hardware vendor instead :) - Bump maxautovchans from 4 to 16. For a full-fledged multimedia desktop/workstation with too many soundservers installed (esound, artsd, jackd, pulse/polypaudio, ding-dong pling plong mudkip fuh fuh, etc), 4 seems inadequate. There will be no memory penalty here, since virtual channels are allocate only by demand. - Nuke/Rework the entire statically created cdev entries. Everything is clonable through snd own clone manager which designed to withstand many kind of abusive devfs droids such as: * while : ; do /bin/test -e /dev/dsp ; done * jot 16777216 0 | while read x ; do ls /dev/dsp0.$x ; done * hundreds (could be thousands) concurrent threads/process opening "/dev/dsp" (previously, this might result EBUSY even with just 3 contesting threads/procs). o Reusable clone objects (instead of creating new one like there's no tomorrow) after certain expiration deadline. The clone allocator will decide whether to reuse, share, or creating new clone. o Automatic garbage collector. - Dynamic unit magic allocator. Maximum attached soundcards can be tuned using tunable "hw.snd.maxunit" (Default to 512). Minimum is 16, and maximum is 2048. - ..other fixes, mostly related to concurrency issues. joel@ will do the manpage updates on sound(4). Have fun.
* Last major commit and updates for RELENG_7:ariff2007-05-315-0/+1254
| | | | | Add few new files. The _real_ commit will follow shortly, so fasten up your seatbelts, sit back and enjoy the ride..
OpenPOWER on IntegriCloud