メンテナンス
param.hが急に更新されたので、r189424 -> r189786へ7-Stableを更新。
以下ログ。
------------------------------------------------------------------------ r189425 | emax | 2009-03-06 10:27:51 +0900 (Fri, 06 Mar 2009) | 4 lines MFC r188132 Allow unprivileged users to run l2ping(8). ------------------------------------------------------------------------ r189426 | emax | 2009-03-06 10:34:30 +0900 (Fri, 06 Mar 2009) | 4 lines MFC r188130 Clenup code a bit and do not call fork(2) before dameon(3) where not needed. ------------------------------------------------------------------------ r189498 | nwhitehorn | 2009-03-08 05:39:42 +0900 (Sun, 08 Mar 2009) | 4 lines MFC r188860,188879,188923,188951: Altivec support for PowerPC. ------------------------------------------------------------------------ r189502 | luigi | 2009-03-08 09:11:26 +0900 (Sun, 08 Mar 2009) | 13 lines MFC rev.188571 Clarify and reimplement the bioq API so that bioq_disksort() has the correct behaviour (sorting by distance from the current head position in the scan direction) and bioq_insert_head() and bioq_insert_tail() have a well defined (and useful) behaviour, especially when intermixed with calls to bioq_disksort(). See the original commit log for more details. NO API/ABI changes (except from fixing bugs and defining unspecified behaviour that no code should rely on). ------------------------------------------------------------------------ r189530 | dchagin | 2009-03-08 20:12:23 +0900 (Sun, 08 Mar 2009) | 6 lines MFC r189232, r189313: Fix range-check error introduced in r182292. Panic in case the ncpus == 0. it helps to catch bugs in the callers. Approved by: kib (mentor) ------------------------------------------------------------------------ r189531 | rwatson | 2009-03-08 20:20:54 +0900 (Sun, 08 Mar 2009) | 10 lines Merge missed routing lock fix r186061 from head to stable/7: Dont leak the rnh lock on error. Original change was from thompsa. This may correct routing-related panics seen by uses of ppp, including the following PRs: PR: 132215, 132222, 132404 Reported by: Ethan <hsiao.ethan at gmail.com> ------------------------------------------------------------------------ r189536 | nwhitehorn | 2009-03-09 01:19:29 +0900 (Mon, 09 Mar 2009) | 5 lines Fix a mismerge from head that I somehow missed last night. This caused builds with KDB enabled to fail. Pointy hat to: me ------------------------------------------------------------------------ r189568 | rnoland | 2009-03-09 17:18:40 +0900 (Mon, 09 Mar 2009) | 14 lines Merge r189285 Disable INTx when enabling MSI/MSIX This addresses interrupt storms that were noticed after enabling MSI in drm. I think this is due to a loose interpretation of the PCI 2.3 spec, which states that a function using MSI is prohibitted from using INTx. It appears that some vendors interpretted that to mean that they should handle it in hardware, while others felt it was the drivers responsibility. This fix will also likely resolve interrupt storm related issues with devices other than drm. ------------------------------------------------------------------------ r189569 | rnoland | 2009-03-09 17:25:05 +0900 (Mon, 09 Mar 2009) | 10 lines Merge r189367,189447 Extend the management of PCIM_CMD_INTxDIS. We now explicitly enable INTx during bus_setup_intr() if it is needed. Several of the ata drivers were managing this bit internally. This is better handled in pci and it should work for all drivers now. We also mask INTx during bus_teardown_intr() by setting this bit. ------------------------------------------------------------------------ r189582 | brueffer | 2009-03-09 23:04:18 +0900 (Mon, 09 Mar 2009) | 4 lines MFC: r189298 Xref glxsb(4). ------------------------------------------------------------------------ r189586 | ru | 2009-03-10 02:07:27 +0900 (Tue, 10 Mar 2009) | 2 lines MFC: Spell 'Yugoslav' correctly. ------------------------------------------------------------------------ r189591 | rnoland | 2009-03-10 02:42:34 +0900 (Tue, 10 Mar 2009) | 4 lines Manual merge of r189368 due to different ata layout in stable. Remove the local management of INTx as this is now taken care of by pci. ------------------------------------------------------------------------ r189634 | jhb | 2009-03-11 02:28:23 +0900 (Wed, 11 Mar 2009) | 2 lines MFC: Push down Giant inside sysctl. ------------------------------------------------------------------------ r189638 | jhb | 2009-03-11 03:16:03 +0900 (Wed, 11 Mar 2009) | 2 lines MFC: Add sysctl_rename_oid() and use it in device_set_unit(). ------------------------------------------------------------------------ r189640 | jhb | 2009-03-11 03:57:10 +0900 (Wed, 11 Mar 2009) | 7 lines MFC: Expand the scope of the sysctllock sx lock to protect the sysctl tree itself. This also includes changes to the ia64 machine check code to defer adding machine check records to the sysctl tree, removing Giant from the CAM code that created dynamic sysctls, and tweaking the teardown of da(4) and cd(4) peripheral devices to not hold locks when freeing the sysctl tree. ------------------------------------------------------------------------ r189644 | jhb | 2009-03-11 04:33:50 +0900 (Wed, 11 Mar 2009) | 19 lines MFC: Add a flag to tag individual sysctl leaf nodes as MPSAFE. Tag the following nodes as MPSAFE: - All standalone INT/LONG sysctls. - kern.proc.* - All name-cache related sysctls. - vm.loadavg - vm.vmtotal - vm.stats.(sys|vm).* - sysctl.name2oid - kern.ident, kern.osrelease, kern.version, etc. - kern.arandom - security.jail.jailed - kern.devname Other changes: - Remove GIANT_REQUIRED from vmtotal(). - Add conditional Giant locking around the vrele() in sysctl_kern_proc_pathname(). ------------------------------------------------------------------------ r189658 | thompsa | 2009-03-11 09:58:22 +0900 (Wed, 11 Mar 2009) | 6 lines MFC r188548 Check the exit flag at the start of the taskqueue loop rather than the end. It is possible to tear down the taskqueue before the thread has run and the taskqueue loop would sleep forever. ------------------------------------------------------------------------ r189659 | thompsa | 2009-03-11 10:03:32 +0900 (Wed, 11 Mar 2009) | 6 lines MFC r189360 Add Mobile Action MA-620 Infrared Adapter. Manually merged due to different codebase. ------------------------------------------------------------------------ r189661 | rnoland | 2009-03-11 10:47:32 +0900 (Wed, 11 Mar 2009) | 4 lines Merge r189045 Remove the PZERO priority from mtx_sleep. ------------------------------------------------------------------------ r189662 | rnoland | 2009-03-11 10:49:22 +0900 (Wed, 11 Mar 2009) | 7 lines Merge r189046 There is no reason to hold the lock here. When I was LOCK_PROFILING this was pretty high up and there is no reason for it. ------------------------------------------------------------------------ r189663 | rnoland | 2009-03-11 10:50:53 +0900 (Wed, 11 Mar 2009) | 4 lines Merge r189047 The vblank_swap ioctl was fundamentally race prone. Get rid of it. ------------------------------------------------------------------------ r189664 | rnoland | 2009-03-11 10:53:21 +0900 (Wed, 11 Mar 2009) | 7 lines Merge 189048 The i915 driver was the only consumer of locked task support. Now that it doesn't use it anymore, get right of the taskqueue and locked task support. ------------------------------------------------------------------------ r189665 | rnoland | 2009-03-11 10:54:41 +0900 (Wed, 11 Mar 2009) | 8 lines Merge r189049 This was part of a sync to the code that Intel is shipping in linux. - Remove the old TTM interface - Move register definitions to i915_reg.h - Overhaul the irq handler ------------------------------------------------------------------------ r189666 | rnoland | 2009-03-11 10:56:17 +0900 (Wed, 11 Mar 2009) | 5 lines Merge r189050 Add some vblank related debugging and replace the DRM_WAIT_ON macro with a localized version. ------------------------------------------------------------------------ r189667 | rnoland | 2009-03-11 10:57:20 +0900 (Wed, 11 Mar 2009) | 4 lines Merge r189051 Prepare the radeon driver for MSI support. ------------------------------------------------------------------------ r189668 | rnoland | 2009-03-11 10:58:37 +0900 (Wed, 11 Mar 2009) | 5 lines Merge r189052 Turn on MSI if the card supports it. There is a blacklist for chips which report that they are capable of MSI, but don't work correctly. ------------------------------------------------------------------------ r189669 | rnoland | 2009-03-11 11:00:13 +0900 (Wed, 11 Mar 2009) | 4 lines Merge r189053 Remove D_NEEDGIANT ------------------------------------------------------------------------ r189670 | rnoland | 2009-03-11 11:13:46 +0900 (Wed, 11 Mar 2009) | 4 lines Merge r189054 The GM45 handles vblank differently. Pull the changes from Intel in. ------------------------------------------------------------------------ r189671 | rnoland | 2009-03-11 11:36:20 +0900 (Wed, 11 Mar 2009) | 6 lines Merge r189099 Fix up some ioctl permissions issues long overlooked. Submitted by: jkim@ ------------------------------------------------------------------------ r189672 | rnoland | 2009-03-11 11:37:52 +0900 (Wed, 11 Mar 2009) | 4 lines Merge r189128 Add a tuneable to allow disabling msi on drm at runtime. ------------------------------------------------------------------------ r189673 | rnoland | 2009-03-11 11:39:02 +0900 (Wed, 11 Mar 2009) | 11 lines Merge 189130 Initialize the vblank structures at load time. Previously we did this at irq install/uninstall time, but when we vt switch, we uninstall the irq handler. When the irq handler is reinstalled, the modeset ioctl happens first. The modeset ioctl is supposed to tell us that we can disable vblank interrupts if there are no active consumers. This will fail after a vt switch until another modeset ioctl is called via dpms or xrandr. Leading to cases where either interrupts are on and can't be disabled, or worse, no interrupts at all. ------------------------------------------------------------------------ r189709 | jhb | 2009-03-12 07:13:12 +0900 (Thu, 12 Mar 2009) | 3 lines MFC: Make cd9660 MPSAFE and able to use shared vnode locks for pathname lookups. Also, disable operations on character device nodes. ------------------------------------------------------------------------ r189720 | bms | 2009-03-12 12:09:11 +0900 (Thu, 12 Mar 2009) | 12 lines Merge the open source Atheros HAL from HEAD to STABLE. This adds support for the AH_SUPPORT_AR5416 kernel configuration option, and removes the ath_rate* and ath_hal modules. Their kernel options are not however removed -- please see UPDATING. Tested on an IBM/Lenovo T43 and ASUS EeePC 701 in both STA and HostAP modes. Submitted by: sam ------------------------------------------------------------------------ r189740 | kib | 2009-03-12 22:45:55 +0900 (Thu, 12 Mar 2009) | 21 lines MFC r189283: Correct types of variables used to track amount of allocated SysV shared memory from int to size_t. Implement a workaround for current ABI not allowing to properly save size for and report more then 2GB sized segment of shared memory. This makes it possible to use > 2 GB shared memory segments on 64bit architectures. Please note the new BUGS section in shmctl(2) and UPDATING note for limitations of this temporal solution. MFC r189398: Systematically use vm_size_t to specify the size of the segment for VM KPI. Do not overload the local variable size in kern_shmat() due to vm_size_t change. Fix style bug by adding explicit comparision with 0. MFC r189399: Improve the grammar and wording in the changes to shmctl(2) manpage. Put an UPDATING entry and bump __FreeBSD_version for the change. ------------------------------------------------------------------------ r189746 | jhb | 2009-03-13 02:32:04 +0900 (Fri, 13 Mar 2009) | 3 lines MFC: Export hz, maxswzone, maxbcache, maxtsiz, dfldsiz, maxdsiz, dflssiz, maxssiz, and sgrowsiz via sysctl. ------------------------------------------------------------------------ r189750 | jhb | 2009-03-13 07:01:42 +0900 (Fri, 13 Mar 2009) | 9 lines Disable the vm_page_startup assertion for now. It always fails on platforms with superpages currently because the pages used by vm_reserv_startup() are incorrectly included in the 'npages' count. I haven't removed the assertion as I think this is a real bug, but the side effect is just that some memory is wasted on never-used vm_page structures. The assertion was removed from HEAD which is why the bug wasn't noticed there (and thus this is a direct commit to 7). ------------------------------------------------------------------------ r189766 | kib | 2009-03-13 19:52:22 +0900 (Fri, 13 Mar 2009) | 6 lines MFC r189450: Extract the no_poll() and vop_nopoll() code into the common routine poll_no_poll(). Return a poll_no_poll() result from devfs_poll_f() when filedescriptor does not reference the live cdev, instead of ENXIO. ------------------------------------------------------------------------ r189781 | bms | 2009-03-14 10:12:35 +0900 (Sat, 14 Mar 2009) | 12 lines MFC rev: 189736 Ensure that the semaphore value is re-checked after sem_lock is re-acquired, after the condition variable is signalled. Early MFC, as the test case in the PR is fairly complete and the submitter also re-ran test case on -STABLE. It also bites Python fairly hard, which will otherwise try to use POSIX sems for its internal thread synchronization; this needs more in-depth testing. PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/127545 Reviewed by: attilio ------------------------------------------------------------------------ r189786 | bms | 2009-03-14 17:34:45 +0900 (Sat, 14 Mar 2009) | 3 lines Bump __FreeBSD_version to 701106 after the POSIX semaphore fix was committed. ------------------------------------------------------------------------