ƒ³k189737 185 573 186 183 906 135 144 135 220 225 201 416 322 434 563 146 166 149 308 204 317 235 178 210 339 276 150 214 372 952 313 145 152 235 149 390 141 206 167 144 205 159 173 171 119 577 344 308 149 229 170 503 212 199 423 248 701 257 250 249 128 1682 94 241 107 293 204 133 145 136 137 148 153 169 153 225 135 163 142 133 142 369 148 156 132 304 204 146 1065 203 145 214 474 180 429 284 129 135 405 129 133 129 111 116 112 133 122 554 228 934 165 212 833 181 274 960 233 293 185 835 301 267 159 179 206 183 186 1088 332 190 597 188 241 216 190 209 182 710 252 131 117 232 1990 617 114 268 444 277 348 354 256 238 199 492 687 549 294 184 190 740 181 194 313 150 251 229 420 303 143 185 480 354 223 161 161 153 134 192 156 200 168 191 1087 338 517 146 K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-12T12:43:56.607736Z K 7 svn:log V 480 The non-modifying EA VOPs are executed with only shared vnode lock taken. Provide a custom lock around initializing and tearing down EA area, to prevent both memory leaks and double-free of it. Count the number of EA area accessors. Lock protocol requires either holding exclusive vnode lock to modify i_ea_area, or shared vnode lock and owning IN_EA_LOCKED flag in i_flag. Noted by: YAMAMOTO, Taku Tested by: pho (previous version) MFC after: 2 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-03-12T13:03:33.223296Z K 7 svn:log V 92 o Sync synopsis with reality. Remove BUG section -- there is a batch mode in gpart(8) now. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-03-12T13:17:46.038188Z K 7 svn:log V 89 o Turn the batch mode on if stdout is not tty. Submitted by: vsevolod MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-12T13:45:55.411292Z K 7 svn:log V 813 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. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-03-12T14:32:29.197314Z K 7 svn:log V 43 Test case with simple load of tmpfs added. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-03-12T14:36:34.634162Z K 7 svn:log V 52 Added test of tmpfs with parallel mount and umount. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-03-12T16:55:16.383307Z K 7 svn:log V 38 Add myself. Approved by: ed (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-12T17:21:58.866455Z K 7 svn:log V 127 Export the current values of nbuf, ncallout, and nswbuf via read-only sysctls that match the tunable names. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-12T17:23:02.421107Z K 7 svn:log V 132 Change the sysctls for maxbcache and maxswzone from int to long. I missed this earlier since these sysctls don't exist in 7.x yet. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-12T17:32:04.794529Z K 7 svn:log V 108 MFC: Export hz, maxswzone, maxbcache, maxtsiz, dfldsiz, maxdsiz, dflssiz, maxssiz, and sgrowsiz via sysctl. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-12T18:18:28.175445Z K 7 svn:log V 323 preliminary ar9280 support: o add 9280 attach that sets up ini, cal, etc. o new rf backend for 9280 and later parts o split ini setup and spur mitigation support out to methods and provide 9280-specific support o minor fixups to shared code to handle 9280-specific work Obtained from: Atheros (ini values and some code) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-12T18:59:39.789883Z K 7 svn:log V 226 Add support for 10h and 11h family of processors. Also, make the sysctl look like a temperature. This driver will most likely be renamed to something more meaningful in the near future. Submitted by: nork MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-12T20:41:52.391809Z K 7 svn:log V 341 The recent change to use memory > 1MB for the heap by default broke CD booting because the CD driver did not use bounce buffers to ensure request buffers sent to the BIOS were always in the first 1MB. Copy over the bounce buffer logic from the BIOS disk driver (minus the 64k boundary code for floppies) to fix this. Reported by: kensmith END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-12T22:01:42.304410Z K 7 svn:log V 470 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). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-13T01:28:10.862230Z K 7 svn:log V 51 Catch up with the sx_object -> lock_object change. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-13T02:15:49.663560Z K 7 svn:log V 74 We need to initialize the console for dcons to work. Submitted by: nork@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-13T03:00:38.451259Z K 7 svn:log V 57 First cut at config file for mips alchemy based systems. END K 10 svn:author V 4 grog K 8 svn:date V 27 2009-03-13T03:51:41.678898Z K 7 svn:log V 214 Add menus to read install.cfg from any disk device sysinstall can see (eg USB key, CD) rather than just floppy. Handle \r\n line termination in a cfg file. Add keeprcconf variable. Submitted by: Daniel O'Connor END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-13T05:31:27.487605Z K 7 svn:log V 111 Minorly improved debugging. Use the DEVPRINTF macro and report the offset for memory when mapping in the CIS. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2009-03-13T06:06:20.577313Z K 7 svn:log V 220 1) Check NULL pointer before calling umtx_pi_adjust_locked(), this avoids a PANIC. 2) Rework locking for POSIX priority-mutex, this fixes a race where a thread may wait there forever even if the mutex is unlocked. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-03-13T06:28:20.052949Z K 7 svn:log V 142 Make MPC85xx LAW handling and reset routines aware of the MPC8548 variant. Inspired by discussion with Alexey V Fedorov on freebsd-powerpc@. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-03-13T07:09:20.503181Z K 7 svn:log V 82 Remove the null_islocked() overloaded vop because the standard one does the same. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-03-13T07:12:25.176237Z K 7 svn:log V 114 Add support for setting the debug flags on wlan interfaces after the are created using wlandebug_ variables. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-13T07:23:58.216427Z K 7 svn:log V 246 Implement the xdev target. When you define XDEV=arch XDEV_ARCH=arch, you can build the cross development tools and install them as $XDEV-freebsd-xxx for each tool. This allows one to use autoconf to find the tools for cross building scenarios. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-13T07:34:05.122372Z K 7 svn:log V 181 When using the -D option: 1. The new mtree file should be created in the "host" system /tmp 2. The existing mtree file in the "host" system should not be deleted Submitted by: scf END K 10 svn:author V 5 guido K 8 svn:date V 27 2009-03-13T08:13:51.894291Z K 7 svn:log V 56 Backout this commit whil a better solution is developed END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-13T08:48:33.971536Z K 7 svn:log V 119 1. Clean up usage() output a bit by grouping options that take an argument 2. Fix a comment to refer to the right loop END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-03-13T10:09:08.586111Z K 7 svn:log V 280 Don't put "install-info" to the list of install-tools if we're installing with -DWITHOUT_INFO, otherwise one can experience a failure trying to installworld on a system that is built with -DWITHOUT_INFO (i.e., without /usr/bin/install-info). Reported by: bland MFC after: 3 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-03-13T10:40:38.135492Z K 7 svn:log V 857 - Reenable Native Language Support in libc. This feature was disabled due to possible breakages in the catalog handling code. Since then, that code has been replaced by the secure code from NetBSD but NLS in libc remained turned off. Tests have shown that the feature is stable and working so we can now turn it on again. - Add several new catalog files: - ca_ES.ISO8859-1 - de_DE.ISO8859-1 - el_GR.ISO8859-7 (by manolis@ and keramida@) - es_ES.ISO8859-1 (kern/123179, by carvay@) - fi_FI.ISO8859-1 - fr_FR.ISO8859-1 (kern/78756, by thierry@) - hu_HU.ISO8859-2 (by gabor@) - it_IT.ISO8859-15 - nl_NL.ISO8859-1 (corrections by rene@) - no_NO.ISO8859-1 - mn_MN.UTF-8 (by ganbold@) - sk_SK.ISO8859-2 - sv_SE.ISO8859-1 (The catalogs without explicit source has been obtained from NetBSD.) Approved by: attilio END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-13T10:52:22.954956Z K 7 svn:log V 220 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. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-03-13T14:35:58.146747Z K 7 svn:log V 54 Switch to using official English short country names. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-13T16:08:08.659932Z K 7 svn:log V 57 Rename the k8temp driver to amdtemp. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-13T16:28:25.780434Z K 7 svn:log V 139 Rename all the variables/function names/structs/etc. to reflect the driver name change. While there, update copyright. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-13T16:30:33.601666Z K 7 svn:log V 54 Mention k8temp -> amdtemp rename. MFC after: 2 weeks END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-03-13T16:40:51.068397Z K 7 svn:log V 293 Implement new way of branding ELF binaries by looking to a ".note.ABI-tag" section. The search order of a brand is changed, now first of all the ".note.ABI-tag" is looked through. Move code which fetch osreldate for ELF binary to check_note() handler. PR: 118473 Approved by: kib (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-03-13T16:40:56.598504Z K 7 svn:log V 47 - Add an entry about enabling libc NLS support END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-13T16:42:24.993162Z K 7 svn:log V 110 Rename the k8temp(4) man page to amdtemp(4) and update its contents for the new families. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-13T16:43:31.445010Z K 7 svn:log V 72 Fix comment explaining where this driver came from. MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-13T19:05:34.220068Z K 7 svn:log V 52 fix portability; linux does not have sa_len/sun_len END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-13T22:28:37.334915Z K 7 svn:log V 108 HID usage minimum can be equal to the maximum. Submitted by: Hans Petter Selasky Tested by: Andreas Tobler END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-03-13T22:41:30.358930Z K 7 svn:log V 65 - Fix object directory creation when running threaded buildworld END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-13T23:42:34.402830Z K 7 svn:log V 77 Don't suggest mounting procfs in diskless configurations. MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-14T00:31:55.437274Z K 7 svn:log V 75 Remove branch, will recreate rather than track all the recent usb changes. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-14T00:33:08.477193Z K 7 svn:log V 23 Branch USB playground. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-14T01:12:35.003607Z K 7 svn:log V 484 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 END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T02:31:48.901256Z K 7 svn:log V 251 r189349 removed mktemp() from the XSI namespace when __XOPEN_SOURCE >= 700, since mktemp() was withdrawn from the standard. However, __XSI_VISIBLE is set to 700 in the default BSD envrionment, where mktemp() should still exist; hence, check for this. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-03-14T05:33:09.349760Z K 7 svn:log V 215 Correct accounting errors in _pmap_allocpte(). Specifically, the pmap's resident page count and the global wired page count were not correctly maintained when page table page allocation failed. MFC after: 6 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-14T06:48:50.137357Z K 7 svn:log V 55 - fix protosw size mismatch - disable superpage assert END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-03-14T08:28:02.698011Z K 7 svn:log V 136 Update the pmap's resident page count when a page table page is freed in pmap_remove_pde() and pmap_remove_pages(). MFC after: 6 weeks END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-14T08:34:45.667069Z K 7 svn:log V 78 Bump __FreeBSD_version to 701106 after the POSIX semaphore fix was committed. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-03-14T11:41:36.315127Z K 7 svn:log V 409 - Fix an error that occurs when mp_ncpu is an odd number. steal_thresh is calculated as 0 which causes errors elsewhere. Submitted by: KOIE Hidetaka - When sched_affinity() is called with a thread that is not curthread we need to handle the ON_RUNQ() case by adding the thread to the correct run queue. Submitted by: Justin Teller MFC after: 1 Week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-03-14T11:43:02.431509Z K 7 svn:log V 118 - Call lock_profile_release when we're transitioning a lock to be owned by LK_KERNPROC. Discussed with: attilio END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-03-14T11:43:38.569594Z K 7 svn:log V 105 - When a mutex is destroyed while locked we need to inform lock profiling that it has been released. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-03-14T13:42:13.973910Z K 7 svn:log V 330 Fixes several PR-SCTP releated bugs. - When sending large PR-SCTP messages over a lossy link we would incorrectly calculate the fwd-tsn - When receiving large multipart pr-sctp packets we would incorrectly send back a SACK that would renege improperly on already received packets thus causing unneeded retransmissions. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-14T14:02:53.033589Z K 7 svn:log V 155 MFC r189706: Do not double-free the struct inode when insmntque failed. Default insmntque destructor reclaims the vnode, and ufs_reclaim frees the memory. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-14T14:08:53.973118Z K 7 svn:log V 608 Two fixes: (1) Fix pcib_read/write_config prototypes. (2) When contrainting a resource request for a 'subtractive' bridge, it is important to select a range outside the base/limit registers, since those are the only values known to not possibly work. On my HP laptop, the base bridge excludes I/O ports 0xa000-0xafff, however that was the range we were passing up the tree. Instead, when a range spans the "hole" we now arbitrarily pick the range just above the hole to allocate from. All of my rl and xl cards, at a minimum, started working again on this laptop with those fixes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-14T15:25:05.664236Z K 7 svn:log V 164 Create sandbox for safe play with ATA driver. Nearest plans: improve port multipliers support, error recovery and hotplug. Further plans: command queueing support. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-14T15:32:04.818611Z K 7 svn:log V 157 Unify ata_sata_phy_reset() function to allow it be used for port multiplier ports. Make it's legacy behaviour of not resetting connected ports controllable. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-03-14T15:37:19.648615Z K 7 svn:log V 156 MFamd64 r189785 Update the pmap's resident page count when a page table page is freed in pmap_remove_pde() and pmap_remove_pages(). MFC after: 6 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-14T15:53:06.531105Z K 7 svn:log V 36 Add SiI 4726 Port Multiplier quirk. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-14T16:06:06.744352Z K 7 svn:log V 1584 Rework MAC Framework synchronization in a number of ways in order to improve performance: - Eliminate custom reference count and condition variable to monitor threads entering the framework, as this had both significant overhead and behaved badly in the face of contention. - Replace reference count with two locks: an rwlock and an sx lock, which will be read-acquired by threads entering the framework depending on whether a give policy entry point is permitted to sleep or not. - Replace previous mutex locking of the reference count for exclusive access with write acquiring of both the policy list sx and rw locks, which occurs only when policies are attached or detached. - Do a lockless read of the dynamic policy list head before acquiring any locks in order to reduce overhead when no dynamic policies are loaded; this a race we can afford to lose. - For every policy entry point invocation, decide whether sleeping is permitted, and if not, use a _NOSLEEP() variant of the composition macros, which will use the rwlock instead of the sxlock. In some cases, we decide which to use based on allocation flags passed to the MAC Framework entry point. As with the move to rwlocks/rmlocks in pfil, this may trigger witness warnings, but these should (generally) be false positives as all acquisition of the locks is for read with two very narrow exceptions for policy load/unload, and those code blocks should never acquire other locks. Sponsored by: Google, Inc. Obtained from: TrustedBSD Project Discussed with: csjp (idea, not specific patch) END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-03-14T16:57:56.122775Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-03-14T17:53:01.026747Z K 7 svn:log V 149 Move DIRDEP and SRCDIRDEP lines to a separate file to help keep them out of developers' way and avoid merge conflicts. Convert more dirs to jbuild. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-14T17:54:58.435507Z K 7 svn:log V 15 remove stray ; END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-03-14T17:55:16.137481Z K 7 svn:log V 195 Switch over to gnu99 compilation on default for userland. Tested by: make universe Tested by: ports exp build (done by pav) Reviewed by: ru Reviewed by: silence on arch Approved by: ed (mentor) END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T18:19:50.782674Z K 7 svn:log V 111 Partial MFC of r189131: Make sure %zd treats negative arguments properly on 32-bit platforms. PR: 131880 END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T18:24:15.434454Z K 7 svn:log V 41 Eliminate __real__ and __imag__ gccisms. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T18:55:51.328501Z K 7 svn:log V 53 Multibyte character support for cal(1). PR: 131578 END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T18:58:53.129807Z K 7 svn:log V 44 Namespace: scalb() is withdrawn from POSIX. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:00:16.252487Z K 7 svn:log V 45 Namespace: inet_ntoa_r() is a BSD extension. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:01:26.960492Z K 7 svn:log V 56 Namespace: _setjmp() and _longjmp() are XSI extensions. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:02:28.474870Z K 7 svn:log V 61 Namespace: dbm_forder() and dbm_dirfno() are BSD extensions. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:03:34.272358Z K 7 svn:log V 77 Namespace: memccpy() and memchr() are XSI, and memrchr() is a BSD extension. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-14T19:03:40.994804Z K 7 svn:log V 61 MFC r178585 (by pjd): Implement 'show mount' command in DDB. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:04:24.942285Z K 7 svn:log V 132 Don't prototype _tolower() and _toupper(). They're not supposed to be functions, and there's no implementation of them in any case. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:05:18.107336Z K 7 svn:log V 43 Namespace: setgrent() is an XSI extension. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:06:07.178244Z K 7 svn:log V 71 Use namespace visibility macros instead of checking for _POSIX_SOURCE. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:06:52.817678Z K 7 svn:log V 50 Namespace: semsys() and shmsys() aren't standard. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:07:25.767218Z K 7 svn:log V 41 Namespace: vsyslog() is a BSD extension. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:07:58.704864Z K 7 svn:log V 50 Namespace: preadv() and pwritev() are extensions. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:11:08.449935Z K 7 svn:log V 276 Various namespace cleanups, including exposing fchmod() and fchmodat() in the POSIX namespace, and hiding eaccess() and setproctitle(). Also move mknodat() from unistd.h to sys/stat.h where it belongs. The *at() syscalls are only in CURRENT, so this shouldn't cause problems. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:12:11.681828Z K 7 svn:log V 56 Namespace: dprintf() and getline() are in P1003.1-2008. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:13:01.069470Z K 7 svn:log V 64 Namespace: endpwent, getpwent, and setpwent are XSI extensions. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:13:30.981619Z K 7 svn:log V 40 Namespace: abort2() is a BSD extension. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:15:13.582719Z K 7 svn:log V 211 Namespace: adjtime(), futimes(), futimesat(), lutimes(), and settimeofday() are BSD extensions. Also include in user code, since this header is also supposed to define most of the symbols there. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:17:00.335767Z K 7 svn:log V 111 Namespace: aio_waitcomplete() is a BSD extension. Also, don't pollute the namespace by including . END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-14T19:35:13.042752Z K 7 svn:log V 54 MFC r179093 (by pjd): Be more friendly for DDB pager. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:36:13.192322Z K 7 svn:log V 972 Make gcc use C99 inline semantics in c99 and gnu99 mode. This was the original intent, but the functionality wasn't implemented until after gcc 4.2 was released. However, if you compiled a program that would behave differently before and after this change, gcc 4.2 would have warned you; hence, everything currently in the base system is unaffected by this change. This patch also adds additional warnings about certain inline function-related bogosity, e.g., using a static non-const local variable in an inline function. These changes were merged from a snapshot of gcc mainline from March 2007, prior to the GPLv3 switch. I then ran the regression test suite from a more recent gcc snapshot and fixed the important bugs it found. I also squelched the following warning unless -pedantic is specified: foo is static but used in inline function bar which is not static This is consistent with LLVM's behavior, but not consistent with gcc 4.3. Reviewed by: arch@ END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T19:44:13.951272Z K 7 svn:log V 110 Bump __FreeBSD_version to 800071 for gcc patch to add support for C99 inline functions in c99 and gnu99 mode. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T20:04:28.042211Z K 7 svn:log V 53 Hide numerous BSD extensions in the POSIX namespace. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T20:05:27.751638Z K 7 svn:log V 121 Hide dbopen() in the POSIX namespace, and use standard type names throughout so that this compiles in strict POSIX mode. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T20:10:14.265295Z K 7 svn:log V 381 Fix the visibility of several prototypes. Also move pthread_kill() and pthread_sigmask() to signal.h. In principle, this shouldn't break anything, since they're already in signal.h on other systems, and the FreeBSD manpage says that both pthread.h and signal.h need to be included to get these functions. Add a hack to declare pthread_t in the P1003.1-2008 namespace in signal.h. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T20:16:54.080470Z K 7 svn:log V 88 Namespace: Defining htonl() and friends here instead of arpa/inet.h is a BSD extension. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-03-14T20:40:06.382501Z K 7 svn:log V 336 - Correct logic in if statement - we want to allocate temporary buffer when someone is passing new rules, not when he only want to read them. Because of this bug, even if the given rules were incorrect, they ended up in rule_string. - Add missing protection for rule_string when coping it. Reviewed by: rwatson MFC after: 1 week END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2009-03-14T21:03:03.186719Z K 7 svn:log V 188 MFC: - r184733, r184742 Add -A and -B options - r184654, r184656 style(9) changes - r173387, r173431 (by kevlo) Check return value for setenv() In effect sync head and releng/7. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-03-14T21:54:19.174590Z K 7 svn:log V 37 Regression tests for mac_portacl(4). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-03-14T21:59:12.203023Z K 7 svn:log V 43 Oops. Correct comment in the LICENSE file. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-14T22:50:03.370699Z K 7 svn:log V 312 Fix build breakage due to the interplay between r189801 and r189824. In particular, vendor sources that aren't ready for gnu99 should still be compiled with gnu89. (Before r189824, these would have generated warnings if you tried to compile them in gnu99 mode, but the warnings went unheeded due to -Wno-error.) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-14T23:12:20.329543Z K 7 svn:log V 35 remove reference to ousrreq in ddb END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-03-14T23:13:16.392494Z K 7 svn:log V 41 Opps.. I missed a file on the commit :-) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-14T23:16:56.866016Z K 7 svn:log V 35 remove second reference to ousrreq END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-14T23:39:54.246467Z K 7 svn:log V 17 register rmlocks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-14T23:48:03.796376Z K 7 svn:log V 22 declare rm lock class END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-14T23:59:53.947703Z K 7 svn:log V 18 update lock types END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-15T01:38:37.127212Z K 7 svn:log V 41 remove gcc-ism; tsinfo isn't used anyway END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-15T01:39:16.455094Z K 7 svn:log V 30 no need to for gnu89 any more END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-15T02:31:34.393127Z K 7 svn:log V 461 Generalize the workaround for the Hitachi HT-4840-11. The Contec C-NET(PC) has a cfe at location 1 that has both an odd irq mask (it matches pc98 machines, so maybe it was a flag for pc98 operation) as well as a memory map. Since this driver doesn't know how to cope, we start with cfe2, which is purely an I/O space mapped and that seems to make it work. I say 'seems' here, because the card I have doesn't seem to have the right dongle for full testing... END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-15T06:40:57.850121Z K 7 svn:log V 135 Don't adjust ranges at all for subtractive bridges. The simple-minded stuff we're doing is too simple-minded, so back it out for now. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-03-15T06:41:47.489644Z K 7 svn:log V 840 - Implement a new mechanism for resetting lock profiling. We now guarantee that all cpus have acknowledged the cleared enable int by scheduling the resetting thread on each cpu in succession. Since all lock profiling happens within a critical section this guarantees that all cpus have left lock profiling before we clear the datastructures. - Assert that the per-thread queue of locks lock profiling is aware of is clear on thread exit. There were several cases where this was not true that slows lock profiling and leaks information. - Remove all objects from all lists before clearing any per-cpu information in reset. Lock profiling objects can migrate between per-cpu caches and previously these migrated objects could be zero'd before they'd been removed Discussed with: attilio Sponsored by: Nokia END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-03-15T08:03:54.941001Z K 7 svn:log V 72 - Wrap lock profiling state variables in #ifdef LOCK_PROFILING blocks. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-03-15T09:26:56.234705Z K 7 svn:log V 119 Added test programs used in the implementation of i386_get/set_ldt() for 32 bit processes on amd64. Submitted by: kib END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-15T09:58:31.737145Z K 7 svn:log V 736 Correct a number of evolved problems with inp_vflag and inp_flags: certain flags that should have been in inp_flags ended up in inp_vflag, meaning that they were inconsistently locked, and in one case, interpreted. Move the following flags from inp_vflag to gaps in the inp_flags space (and clean up the inp_flags constants to make gaps more obvious to future takers): INP_TIMEWAIT INP_SOCKREF INP_ONESBCAST INP_DROPPED Some aspects of this change have no effect on kernel ABI at all, as these are UDP/TCP/IP-internal uses; however, netstat and sockstat detect INP_TIMEWAIT when listing TCP sockets, so any MFC will need to take this into account. MFC after: 1 week (or after dependencies are MFC'd) Reviewed by: bz END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-15T10:43:48.475713Z K 7 svn:log V 89 MFC r189534: Document several notifications. MFC r189538 (by maxim): Spell. Sort .Xrs. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-03-15T13:14:06.276639Z K 7 svn:log V 179 - Create the buildworld object directories with mtree instead of various mkdir calls - Remove the ugly workaroung from libc NLS, which was to create some of these directories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-15T14:21:05.203730Z K 7 svn:log V 863 Remove IFF_NEEDSGIANT, a compatibility infrastructure introduced in FreeBSD 5.x to allow network device drivers to run with Giant despite the network stack being Giant-free. This significantly simplifies calls into ioctl() on network interfaces, especially in the multicast code, as well as eliminates deferred invocation of interface if_start routines. Disable the build on device drivers still depending on IFF_NEEDSGIANT as they no longer compile. They will be removed in a few weeks if they haven't been made MPSAFE in that time. Disabled drivers: if_ar if_axe if_aue if_cdce if_cue if_kue if_ray if_rue if_rum if_sr if_udav if_ural if_zyd Drivers that were already disabled because of tty changes: if_ppp if_sl Discussed on: arch@ END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-03-15T14:25:03.243557Z K 7 svn:log V 140 Test the implementation of i386_get_ldt() and i386_set_ldt() for 32 bit processes on amd64 by running wine and mplayer with a 32 bit codec. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-15T16:10:25.485862Z K 7 svn:log V 196 Bump __FreeBSD_version for the removal of IFF_NEEDSGIANT; network device drivers that require Giant to be held over calls to the ifnet interface are no longer supported in the FreeBSD 8.x kernel. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-15T16:12:50.036234Z K 7 svn:log V 89 Mention specifically in UPDATING that non-MPSAFE device drivers are no longer supported. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-15T17:20:28.453656Z K 7 svn:log V 738 Merge 189499,189557,189558 This is the radeon r600+ code with fixes. A few days early, but it seems to fix some other vblank related issues as well. 189499: Import support for ATI Radeon R600 and R700 series chips. Tested on an HD3850 (RV670) on loan from Warren Block. Currently, you need one of the following for this to be useful: x11-drivers/xf86-video-radeonhd-devel (not tested) xf86-video-ati from git (EXA works, xv is too fast) xf86-video-radeonhd from git (EXA works, xv works) There is no 3d support available from dri just yet. 189557: Call the right function for the right chipset. 189558: -Make the PCI(E)/AGP calculations consistent -Calculate the scratch address correctly END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-15T17:22:53.070103Z K 7 svn:log V 204 Merge 189559 Fix the flags to bus_dmamem_* to allow the allocation to sleep while waiting for resources. It is really the load that we can't defer. BUS_DMA_NOCACHE belongs on bus_dmamap_load() as well. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-15T17:23:46.581323Z K 7 svn:log V 170 Merge r189560 Change the flags to bus_dmamem around to allow it to sleep waiting for resources during allocation, but not during map load. Also, zero the buffers here. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-15T17:24:48.069890Z K 7 svn:log V 63 Merge r189561 There is no need to sync these buffers to swap. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-15T17:25:44.585620Z K 7 svn:log V 83 Merge r189562 Clean up the printing on amd64. Should also be consistent on i386. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-15T17:27:06.416703Z K 7 svn:log V 109 Merge r189563 Consistently use kdev for the kernel device. Submitted by: vehemens END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-03-15T19:16:12.760987Z K 7 svn:log V 87 Include linux_futex.h before linux_emul.h Approved by: kib (mentor) MFC after: 6 days END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-03-15T19:38:34.033536Z K 7 svn:log V 90 Ignore FUTEX_FD op, as it is done by linux. Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-15T20:17:44.343477Z K 7 svn:log V 991 Teach the loopback interface about checksum generation and validation avoidance: - Enable setting the RXCSUM and TXCSUM flags for loopback interfaces; set both by default. - When RXCSUM is set, flag packets sent over the loopback interface as having checked and valid IP, UDP, TCP checksums so that higher protocol layers won't check them. - Always clear CSUM_{IP,UDP_TCP} checksum required flags on transmit, as they will have gotten there as a result of TXCSUM being set. This is done only for packets explicitly sent over the loopback, not simulated loopback via if_simloop() due to !SIMPLEX interfaces, etc. Note that enabling TXCSUM but not RXCSUM will lead to unhappiness, as checksums won't be generated but will be validated. Kris reports that this leads to significant performance improvements in loopback benchmarking with TCP and UDP for throughput: RXCSUM RXCSUM+TXCSUM TCP 15% 37% UDP 10% 74% Update man page. Reviewed by: sam Tested by: kris MFC after: 1 week END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-03-15T22:33:18.782524Z K 7 svn:log V 237 Default to AF_LOCAL instead of AF_INET sockets for non-family-specific operations. This allows the query operations to work in non-IPv4 jails, and will be necessary in a future of possible non-INET networking. Approved by: bz (mentor) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-15T23:52:13.222469Z K 7 svn:log V 98 Restore missing OSREL definition that accidetnally dropped from an earlier version of this patch. END K 10 svn:author V 3 scf K 8 svn:date V 27 2009-03-16T03:11:02.381405Z K 7 svn:log V 504 Add the SIOCSIFMTU ioctl handling directly to tap(4) permitting it to have its MTU set higher than 1500 (ETHERMTU). Its new limit is now 65535 as enforced by ifhwioctl() in if.c This allows a tap(4) device to be added to a bridge, which requires all interface members to have the same MTU, with an interface configured for jumbo frames. QEMU may now connect to a network via tap(4) without requiring the real interface to have its MTU set to 1500 or lower. Reviewed by: rpaulo, bms MFC after: 1 week END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-03-16T05:39:37.548495Z K 7 svn:log V 92 Sort include files in the alphabetical order. Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-16T08:15:35.097958Z K 7 svn:log V 144 Fix R600 writeback across suspend/resume. This is likely a NOOP for us, since I haven't ported the suspend/resume code yet. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-16T08:19:11.394424Z K 7 svn:log V 119 Get rid of any remaining PZERO flags in mtx_sleep() Also, clean up some ifdef mess while I'm here. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-16T08:21:51.932023Z K 7 svn:log V 94 Teach psm about O_ASYNC This makes Xorg happy if you aren't using moused. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T09:22:34.851636Z K 7 svn:log V 112 if_hwassist should be initialized with CSUM, rather than IFCAP, flags. Submitted by: yongari MFC after: 1 week END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-03-16T10:36:24.048236Z K 7 svn:log V 86 Chase the k8temp->amdtemp rename in NOTES and loader.conf. Approved by: kib (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T10:56:50.726396Z K 7 svn:log V 613 Define and use two macros for loopback checksum offload: LO_CSUM_FEATURES - a bitmask of supported transmit offload features, which will be stored in if_hwassist if IFCAP_TXCSUM is enabled, and be cleared from mbuf packet header csum flags on transmit. (1) LO_CSUM_SET - a bitmask of supported receive offload features, which will be set on the mbuf packet header csum flags on transmit if IFCAP_RXCSUM is enabled. While here, fix SCTP offload for loopback: offer generation on the transmit side, don't just skip validation on the receive side. Obtained from: DragonflyBSD (1) MFC after: 1 week END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-16T11:19:07.784477Z K 7 svn:log V 155 use usb2_desc_foreach() to iterate the USB config descriptor instread of accessing structures directly to check some invalid descriptors. Pointed by: hps END K 10 svn:author V 3 des K 8 svn:date V 27 2009-03-16T12:16:17.140469Z K 7 svn:log V 39 cat(1) compiles fine at WARNS level 6. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-16T12:42:23.093724Z K 7 svn:log V 25 Fix spelling in message. END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-03-16T15:09:47.752581Z K 7 svn:log V 137 Added DLT_ENC to map list, so it is now possible to save dumps on enc0 Reviewed by: gnn(mentor) Obtained from: NETASQ MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-16T15:39:46.852380Z K 7 svn:log V 1896 Fix two issues with bufdaemon, often causing the processes to hang in the "nbufkv" sleep. First, ffs background cg group block write requests a new buffer for the shadow copy. When ffs_bufwrite() is called from the bufdaemon due to buffers shortage, requesting the buffer deadlock bufdaemon. Introduce a new flag for getnewbuf(), GB_NOWAIT_BD, to request getblk to not block while allocating the buffer, and return failure instead. Add a flag argument to the geteblk to allow to pass the flags to getblk(). Do not repeat the getnewbuf() call from geteblk if buffer allocation failed and either GB_NOWAIT_BD is specified, or geteblk() is called from bufdaemon (or its helper, see below). In ffs_bufwrite(), fall back to synchronous cg block write if shadow block allocation failed. Since r107847, buffer write assumes that vnode owning the buffer is locked. The second problem is that buffer cache may accumulate many buffers belonging to limited number of vnodes. With such workload, quite often threads that own the mentioned vnodes locks are trying to read another block from the vnodes, and, due to buffer cache exhaustion, are asking bufdaemon for help. Bufdaemon is unable to make any substantial progress because the vnodes are locked. Allow the threads owning vnode locks to help the bufdaemon by doing the flush pass over the buffer cache before getnewbuf() is going to uninterruptible sleep. Move the flushing code from buf_daemon() to new helper function buf_do_flush(), that is called from getnewbuf(). The number of buffers flushed by single call to buf_do_flush() from getnewbuf() is limited by new sysctl vfs.flushbufqtarget. Prevent recursive calls to buf_do_flush() by marking the bufdaemon and threads that temporarily help bufdaemon by TDP_BUFNEED flag. In collaboration with: pho Reviewed by: tegge (previous version) Tested by: glebius, yandex ... MFC after: 3 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-16T15:50:29.978789Z K 7 svn:log V 524 Remove CD input hack for ALC268 based Acer systems. Latest systems does not implement CD input in hardware, while unconditional showing it confuse users. Also it was made in the way that sometimes improper with present driver. Add patch for ALC268 based Acer TM5320 to make headphones jack sensing work. Default configuration defines two separate playback associations, which current driver unable to trace properly due to order they are defined and limited codec uniformity. Submitted by: G. Mirov END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-16T15:54:21.868399Z K 7 svn:log V 22 (finally) document -n END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2009-03-16T16:14:26.680375Z K 7 svn:log V 172 Please welcome Fabien Thomas (fabient) to the ranks of FreeBSD's "src" committers. Fabien will be working on PMC related things. I will be his mentor. Approved by: core END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-16T16:15:14.310663Z K 7 svn:log V 351 intpm: minor enhancements 1. fix nointr check in intsmb_start, matters only if ENABLE_ALART is defined (by default, it is not); 2. drop unnecessary inspection/reporting of power-management io registers base address; 3. in verbose mode report errors from SMBus host controller and their mapping to smbus(4) errors; Approved by: jhb (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-03-16T16:33:08.874812Z K 7 svn:log V 182 - Add Brazilian Portuguese catalog [1] - Fixes for German catalog [2] PR: kern/132694 [1], conf/80504 [2] Submitted by: Murilo Opsfelder [1], brueffer [2] END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-16T16:52:09.081334Z K 7 svn:log V 254 - Fixup plex synchronization. The start command on an unsynchronized plex in mirror with another plex will now start the synchronization from the good plex. - Cleanup the code and try to generalize the procedure of starting a plex synchronization. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-16T16:55:05.122044Z K 7 svn:log V 260 - Avoid prioritizing rebuilds to normal user bios, as it makes the volume unusable, which makes it pointless to support rebuild/resync etc. while the volume is mounted. Instead, put the internal requests into the main request queue to increase fairness. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T16:57:04.074749Z K 7 svn:log V 159 Merge r174894 from head to stable/7: Change "audit_pipe_preselect" to "audit_pipe_presel" to make it print with proper alignment in ddb(4) and vmstat(8). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T17:03:33.026243Z K 7 svn:log V 141 Merge r182750, r182754 from head to stable/7: If the process id specified is invalid, the system call returns ESRCH Unbreak the build. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T17:08:10.660125Z K 7 svn:log V 102 Merge r186662 from head to stable/7: Fix white space botch: use carriage returns rather than tabs. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T17:15:02.304251Z K 7 svn:log V 395 Merge r186822 from head to stable/7: In AUDIT_SYSCALL_EXIT(), invoke audit_syscall_exit() only if an audit record is active on the current thread--historically we may always have wanted to enter the audit code if auditing was enabled, but now we just commit the audit record so don't need to enter if there isn't one. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T17:25:09.181993Z K 7 svn:log V 590 Merge r189570 from head to stable/7: Add a new thread-private flag, TDP_AUDITREC, to indicate whether or not there is an audit record hung off of td_ar on the current thread. Test this flag instead of td_ar when auditing syscall arguments or checking for an audit record to commit on syscall return. Under these circumstances, td_pflags is much more likely to be in the cache (especially if there is no auditing of the current system call), so this should help reduce cache misses in the system call return path. Reported by: kris Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T17:30:38.135509Z K 7 svn:log V 452 Merge r189545 from head to stable/7: By default, don't compile in counters of calls to various time query functions in the kernel, as these effectively serialize parallel calls to the gettimeofday(2) system call, as well as other kernel services that use timestamps. Use the NetBSD version of the fix (kern_tc.c:1.32 by ad@) as they have picked up our timecounter code and also ran into the same problem. Reported by: kris Obtained from: NetBSD END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T17:46:55.792001Z K 7 svn:log V 197 Merge r189655 from head to stable/7: Prefer ENETDOWN to ENXIO when returning queuing errors due to a link down, interface down, etc, with if_cxgb's if_transmit routine. Reviewed by: kmacy END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T17:55:24.481792Z K 7 svn:log V 88 Merge r188545 from head to stable/7: Remove unused ifaddr and ifreq local variables. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T17:57:29.012584Z K 7 svn:log V 94 Merge r188546 from head to stable/7: Remove unused ifaddr local variable in ioctl routine. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T18:02:00.868079Z K 7 svn:log V 643 Merge r188962 from head to stable/7: In in_rtqkill(), assert the radix head lock, and pass RTF_RNH_LOCKED to in_rtrequest(); the radix head lock is already acquired before rnh_walktree is called in in_rtqtimo_one(). This avoids a recursive acquisition that is no longer permitted in 8.x due to use of an rwlock for the radix head lock. Reported by: dikshie While not strictly required in 7.x, I am merging this to keep locking as consistent as possible in the routing code between 7.x and 8.x. Note that because the rwlock change has not been merged, this becomes LOCK_ASSERT rather than WLOCK_ASSERT. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T18:05:31.842796Z K 7 svn:log V 85 Merge r188963 from head to stable/7: Assert the radix head lock in in6_rtqkill(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T18:07:23.776857Z K 7 svn:log V 98 Merge r189778 from head to stable/7: Don't suggest mounting procfs in diskless configurations. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T18:15:52.734758Z K 7 svn:log V 216 Merge adding RTF_RNH_LOCKED to the flags argument of rtrequest() in in6_rtqkill(), making it match in_rtqkill(). This change appeared in 8.x as part of the arpv2 merge (r186119) but that isn't appropriate to merge. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-16T19:09:59.189257Z K 7 svn:log V 54 Use the right MSI_REARM for RS600. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-03-16T19:31:08.724794Z K 7 svn:log V 158 Detach GELI providers on shutdown/reboot, which will allow providers underneath to close properly. Reported, reviewed and tested by: guido MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-16T23:08:38.047390Z K 7 svn:log V 132 Force 64-byte alignment of workstreams so that sequential arrays, indexed by CPU ID, are less likely to cause cache line thrashing. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-16T23:56:28.849819Z K 7 svn:log V 325 Add some notes and clarify a few sections: 1. Add a note to double-check the man page 2. Remove windows-specific items in the ctrl_interface section 3. Add a note that ap_scan must be set to 1 for use with wlan 4. Clarify the wording for scan_ssid related to APs that hide ssid 5. Clarify the wording for the priority option END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-03-17T00:48:11.952227Z K 7 svn:log V 209 Initial suspend/resume support for amd64. This code is heavily inspired by Takanori Watanabe's experimental SMP patch for i386 and large portion was shamelessly cut and pasted from Peter Wemm's AP boot code. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-17T01:38:51.162700Z K 7 svn:log V 47 Add Supertop IDE adapter and Quickcam entries. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-17T01:42:46.901775Z K 7 svn:log V 89 MFp4 //depot/projects/usb 159238,159275 Add umass quirks. Submitted by: Michael Gmelin END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-17T01:46:40.373421Z K 7 svn:log V 383 MFp4 //depot/projects/usb 159225,159241,159292 Fix regression issue in the USB file system interface. - Use cdev_privdata pointer as indicator of correct file handle. - Remove redundant FIFO opened flags. Don't send ZLP at close for ulpt and uscanner devices as this causes some models to stop working. This reverts back to the USB1 behaviour. Submitted by: Hans Petter Selasky END K 10 svn:author V 3 scf K 8 svn:date V 27 2009-03-17T02:32:36.945875Z K 7 svn:log V 261 Remove the splimp()/splx() calls around the setting of the MTU. They are no-op's that I inadvertently added. Even if locking is needed in general for the ioctl's, setting a single long will not need it due to the operation being atomic. Reported by: rwatson END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-17T03:32:12.763658Z K 7 svn:log V 126 Use flsl() here rather than ffsl() I discovered that we were computing page_order differently than linux. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-17T03:36:24.211079Z K 7 svn:log V 65 Change the logic around to match ati_pcigart. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-17T03:39:09.745050Z K 7 svn:log V 65 Cast register maps and offsets to vm_offset_t MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-17T03:44:36.742220Z K 7 svn:log V 57 We can have more than 3 pci resources MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-17T03:46:37.032813Z K 7 svn:log V 38 Minor code cleanup MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-17T03:49:24.497642Z K 7 svn:log V 96 Add list_for_each_prev to our linux compatibility. We need this for nouveau MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-17T03:50:35.864700Z K 7 svn:log V 60 Improve the debugging output of drm_mmap MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-17T03:53:44.751739Z K 7 svn:log V 103 Add support for matching solely on vendor id. We will use this method with nouveau MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-17T05:10:12.539352Z K 7 svn:log V 72 Cast to (unsigned long) to make printf happy on i386 MFC after: 3 days END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-17T05:57:43.782475Z K 7 svn:log V 95 grab NDIS USB lock instead of HAL preemption. This change should be happened in the previous. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-17T06:54:41.925018Z K 7 svn:log V 993 MFH: r186781 Merge support for CVSMode (aka. mirror mode) into csup. This means csup can now fetch a complete CVS repository. Support for rsync update of regular files are also included, but are not yet enabled. The change should not have an impact on existing csup usage, as little of the existing code has changed. r186871 - Update manpage now that cvs mode is supported. r188405 - Fix an issue where file attributes were not installed correctly during a Touch and SetAttrs operation. - SetAttrs and Touch were incorrectly switched. r188644 - Do not free the pattern lists immediately after use, as they might be needed again in case the connection is interrupted and csup have to reconnect. The lists will be freed after the collection has been completely processed. r189455 - Try to handle rcsfile write failures in the same way as cvsup, as they are not necessarily fatal. If the file was incorrectly written, the checksum will detect it and the file will be retransferred. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-17T09:50:40.293758Z K 7 svn:log V 245 Use the properly sized types for ELF object header and program headers. This fixes osrel fetching from the FreeBSD branding note for the 64bit platforms. Reported by: swell.k gmail com Reviewed by: dchagin Tested by: dchagin, swell.k gmail com END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-17T10:15:49.241357Z K 7 svn:log V 420 Merge r188992 from head to stable/7: In tcp_usr_shutdown() and tcp_usr_send(), I missed converting NULL checks for the tcpcb, previously used to detect complete disconnection, with INP_DROPPED checks. Correct that, preventing shutdown() from improperly generating a TCP segment with destination IP and port of 0.0.0.0:0. PR: kern/132050 Reported by: david gueluy END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-03-17T10:47:26.000330Z K 7 svn:log V 52 Vendor import of tzdata2009c - Cuba has DST again. END