ĵ207529 166 578 650 172 159 192 186 150 353 545 461 298 189 152 120 176 156 260 610 610 263 108 126 220 263 567 463 214 171 114 316 199 420 134 112 127 132 148 191 128 156 473 174 223 315 176 393 182 365 210 584 241 263 286 311 223 264 889 154 546 1233 131 317 273 148 357 309 356 288 186 247 805 170 113 578 200 152 172 132 2589 2589 322 220 155 198 306 129 219 246 243 121 122 444 222 189 587 316 183 385 351 579 1247 303 121 122 141 632 146 180 147 227 154 441 441 441 1332 269 239 271 240 165 267 106 264 258 301 163 300 204 177 451 235 328 337 182 116 250 298 298 298 255 567 340 385 186 159 172 193 235 154 842 320 258 320 307 418 677 677 677 185 251 398 200 435 113 137 573 K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:55:13.105685Z K 7 svn:log V 482 MFC: r207151 Add a TestFloat based test suite for floating-point implementations currently supporting sparc64. After a `make depend all` there are three programs; testsoftfloat for testing against the SoftFloat in src/lib/libc/softfloat for reference purposes, testemufloat for testing the emulator source in src/lib/libc/sparc64/fpu and testfloat for testing with the installed libc. Support for other architectures can be added as needed. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-02T17:33:46.614760Z K 7 svn:log V 557 It makes no sense for vm_page_sleep_if_busy()'s helper, vm_page_sleep(), to unconditionally set PG_REFERENCED on a page before sleeping. In many cases, it's perfectly ok for the page to disappear, i.e., be reclaimed by the page daemon, before the caller to vm_page_sleep() is reawakened. Instead, we now explicitly set PG_REFERENCED in those cases where having the page persist until the caller is awakened is clearly desirable. Note, however, that setting PG_REFERENCED on the page is still only a hint, and not a guarantee that the page should persist. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-02T18:09:33.897747Z K 7 svn:log V 80 Correct an error in r207410: Remove an unlock of a lock that is no longer held. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T19:05:57.630936Z K 7 svn:log V 64 Remove a soft member which was never used. Approved by: marcel END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T19:07:19.216220Z K 7 svn:log V 97 Remove redundant checking of sc_leaving (uart_intr() already handles this). Approved by: marcel END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-02T19:10:27.091316Z K 7 svn:log V 94 Properly synchronize access to the page's hold_count in vfs_vmio_release(). Reviewed by: kib END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-02T19:25:22.196167Z K 7 svn:log V 58 Lock the page around hold_count access. Reviewed by: alc END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-02T19:28:30.985074Z K 7 svn:log V 260 Import mvs(4) - Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA controllers driver for CAM ATA subsystem. This driver supports same hardware as atamarvell, ataadaptec and atamvsata drivers from ata(4), but provides many additional features, such as NCQ, PMP, etc. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T19:38:17.670737Z K 7 svn:log V 449 Add support for SPARC64 V (and where it already makes sense for other HAL/Fujitsu) CPUs. For the most part this consists of fleshing out the MMU and cache handling, it doesn't add pmap optimizations possible with these CPU, yet, though. With these changes FreeBSD runs stable on Fujitsu Siemens PRIMEPOWER 250 and likely also other models based on SPARC64 V like 450, 650 and 850. Thanks go to Michael Moll for providing access to a PRIMEPOWER 250. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-02T20:12:20.642273Z K 7 svn:log V 365 MFC r205398: Do not create *.gmon files for PIE executables on i386. Scrt1_c.o was accidentally compiled with -DGCRT (profiling), like gcrt1_c.o. This problem is i386-specific, the other architectures are OK. If you have problems with PIE executables such as samba and cups leaving behind gmon files, rebuild them after installing this change. PR: ports/143924 END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-02T20:24:25.897342Z K 7 svn:log V 205 Simplify vm_fault(). The introduction of the new page lock renders a bit of cleverness by vm_fault() to avoid repeatedly releasing and reacquiring the page queues lock pointless. Reviewed by: kib, kmacy END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-02T20:46:17.175574Z K 7 svn:log V 97 Defer the acquisition of the page and page queues locks in vm_pageout_object_deactivate_pages(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-02T21:04:59.822584Z K 7 svn:log V 60 Eliminate an assignment that was made redundant by r207410. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-05-02T21:11:47.560101Z K 7 svn:log V 26 Minor whitespace twiddles END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-05-02T22:48:27.940263Z K 7 svn:log V 81 Print IR_RESYNC updates informatively. Obtained from: pluknet MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-02T23:33:10.231513Z K 7 svn:log V 64 Add page lock assertions where we access the page's hold_count. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-03T00:56:26.376765Z K 7 svn:log V 163 Fix wrong dma tag usage. Previously it used TX descriptor ring dma tag which should be TX mbuf dma tag. Reported by: xclin cs dot nctu dot edu dot tw > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-03T01:04:44.968599Z K 7 svn:log V 513 MFC r207251: It seems ale(4) controllers do not like to see TCP payload in the first descriptor in TSO case. Otherwise controller can generate bad frames during TSO. To address it, make sure to pull up ethernet + IP + TCP header with options in first buffer. Also ensure the buffer length of the first descriptor for TSO covers entire ethernet + IP + TCP with options and setup additional Tx descriptor if the first buffer includes TCP payload. Tested by: Amar Takhar darkbeer dot org > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-03T01:13:37.560986Z K 7 svn:log V 513 MFC r207251: It seems ale(4) controllers do not like to see TCP payload in the first descriptor in TSO case. Otherwise controller can generate bad frames during TSO. To address it, make sure to pull up ethernet + IP + TCP header with options in first buffer. Also ensure the buffer length of the first descriptor for TSO covers entire ethernet + IP + TCP with options and setup additional Tx descriptor if the first buffer includes TCP payload. Tested by: Amar Takhar darkbeer dot org > END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-03T05:41:50.779258Z K 7 svn:log V 170 This is the first step in transitioning responsibility for synchronizing access to the page's wire_count from the page queues lock to the page lock. Submitted by: kmacy END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-03T06:25:36.055904Z K 7 svn:log V 16 branch for masq END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-03T06:26:52.830696Z K 7 svn:log V 34 Kernel branch for masq project... END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-03T07:00:50.130597Z K 7 svn:log V 127 Assert that the page queues lock is held in vm_page_remove() and vm_page_unwire() only if the page is managed, i.e., pageable. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-03T07:08:16.077064Z K 7 svn:log V 170 The pages allocated by kmem_alloc_attr() and kmem_malloc() are unmanaged. Consequently, neither the page lock nor the page queues lock is needed to unwire and free them. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-05-03T07:32:24.343381Z K 7 svn:log V 475 Implement the no_user_check option to pam_krb5. This option is available in the Linux implementation of pam_krb5 and allows to authorize a user not known to the local system. Ccache is not used as we don't have a secure uid/gid for the cache file. Usable for authentication of external kerberos users (e.g Active Directory) via PAM from applications like Cyrus saslauthd, PHP or perl. PR: bin/146186 Submitted by: myself Approved by: deplhij (mentor) MFC after: 2 weeks END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2010-05-03T07:32:50.257577Z K 7 svn:log V 366 Add new tunable 'net.link.ifqmaxlen' to set default send interface queue length. The default value for this parameter is 50, which is quite low for many of today's uses and the only way to modify this parameter right now is to edit if_var.h file. Also add read-only sysctl with the same name, so that it's possible to retrieve the current value. MFC after: 1 month END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-05-03T07:39:51.349083Z K 7 svn:log V 122 Code indent according to style(9). PR: bin/146186 Submitted by: myself Approved by: delphij (mentor) MFC after: 2 weeks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-03T08:57:48.933240Z K 7 svn:log V 74 Print bus handles with uintmax_t casts and %#jx not pointer casts and %p. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-03T09:28:10.747549Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 3 bms K 8 svn:date V 27 2010-05-03T09:31:51.529048Z K 7 svn:log V 223 MFC r207275: Fix a regression where DVMRP diagnostic traffic, such as that used by mrinfo and mtrace, was dropped by the IGMP TTL check. IGMP control traffic must always have a TTL of 1. Submitted by: Matthew Luckie END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-03T09:35:40.495963Z K 7 svn:log V 102 MFC r207383: Add FreeBSD 8.1 to known list as it's being referenced by a couple of manpages already. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-03T09:46:47.438782Z K 7 svn:log V 323 MFC r206838: Partially MFp4 #176265 by pjd@: - Properly initialize and destroy system_taskq. - Add a dummy implementation of taskq_create_proc(). Note: We do not currently use system_taskq in ZFS so this is mostly a no-op at this time. Proper system_taskq initialization is required by newer ZFS code. Ok'ed by: pjd END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-03T09:49:42.457150Z K 7 svn:log V 38 Bump .Dd date. Forgotten by: delphij END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-03T10:07:06.210236Z K 7 svn:log V 15 Fix n32 build. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-03T12:06:40.842321Z K 7 svn:log V 35 MFC r203822: Remove unused macros. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-03T12:36:06.284842Z K 7 svn:log V 40 MFC r203868: Some cleanups from NetBSD. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-03T12:37:33.873017Z K 7 svn:log V 56 MFC r203869: Rename variables to match msdosfs headers. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-03T12:39:27.803298Z K 7 svn:log V 99 MFC r203871: License changes from NetBSD. Move to 2 clause license, approved by Wolfgang Solfrank. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-03T12:41:27.950764Z K 7 svn:log V 36 MFC r203872: Bug fixes from NetBSD. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-03T12:43:17.950023Z K 7 svn:log V 64 MFC r203874: Rename fields to match better the msdosfs headers. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-05-03T14:19:58.594109Z K 7 svn:log V 375 - #ifdef out the cliplist part, skype seems like using an uninitialized variable and can cause problems, without the cliplist handling it works without problems - improve the cliplist error handling - fix VIDIOCGTUNER and VIDIOCSMICROCODE (still no hardware available to test) Submitted by: J.R. Oldroyd X-MFC after: soon (together with all the v4l stuff) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-03T14:30:49.180941Z K 7 svn:log V 82 Style and comment adjustements. Suggested and reviewed by: bde MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-03T15:51:59.883271Z K 7 svn:log V 130 Neither the page lock nor the page queues lock is required to unwire and free a VM_ALLOC_NOOBJ page. (Such pages are unmanaged.) END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-05-03T16:08:24.094893Z K 7 svn:log V 222 When destroying a vnet, shut down all netgraph nodes tied to that vnet before proceeding with dismantling other protocol domains. This change only affects options VIMAGE builds. Reviewed by: julian, bz MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-03T16:41:11.544549Z K 7 svn:log V 84 Acquire the page lock around vm_page_unwire() and vm_page_wire(). Reviewed by: kib END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-03T16:55:50.825331Z K 7 svn:log V 300 Acquire the page lock around vm_page_unwire(). For consistency, extend the scope of the object lock in agp_i810.c. (In this specific case, the scope of the object lock shouldn't matter, but I don't want to create a bad example that might be copied to a case where it did matter.) Reviewed by: kib END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-03T17:34:12.156817Z K 7 svn:log V 86 MFC r196432 (partial, kensmith@) and 207383: Add definition for FreeBSD 8.1 and 9.0. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-03T17:35:31.669308Z K 7 svn:log V 272 It makes more sense for the object-based backend allocator to use OBJT_PHYS objects instead of OBJT_DEFAULT objects because we never reclaim or pageout the allocated pages. Moreover, they are mapped with pmap_qenter(), which creates unmanaged mappings. Reviewed by: kib END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-03T17:55:32.450183Z K 7 svn:log V 117 Acquire the page lock around vm_page_wire() in vm_page_grab(). Assert that the page lock is held in vm_page_wire(). END K 10 svn:author V 3 kan K 8 svn:date V 27 2010-05-03T18:04:17.604033Z K 7 svn:log V 491 Do not encode more than CTF_MAX_VLEN(1023) enum members. CTF can not represent enums with more than CTF_MAX_VLEN members, but ctfconvert will happily ignore that limitation and create CTF section no other tool can interpret. This change is different from similar change from upstream, which just returns an error if big enum is encountered. Doing that means that every FreeBSD kernel with compiled in hwpmc will have no useable CTF information due to pmc_event enum having 1236+ members. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-03T18:39:40.156633Z K 7 svn:log V 145 On sparc64 obtain the initiator ID from the Open Firmware device tree in order to match what the PROM built-in driver uses. Approved by: mjacob END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-03T19:19:58.864697Z K 7 svn:log V 170 Handle busy status of the page in a way expected for pager_getpage(). Flush requested page, unbusy other pages, do not clear m->busy. Reviewed by: alc MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-05-03T19:38:59.677265Z K 7 svn:log V 185 MFC r206881: Add gpart and glabel to the release CD mfsroot. Even if sysinstall cannot partition disks on powerpc, this will allow the user to. PR: powerpc/93203 Obtained from: ia64 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-03T19:48:21.572168Z K 7 svn:log V 214 MFC r147906-201389, this sync'ed daemon(8) with -HEAD except the WARNS change. The most important change is the newly added privilege dropping feature by trhodes and others. Requested by: glarkin PR: bin/146266 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-05-03T19:56:52.925103Z K 7 svn:log V 127 MFC r205073 Regen: * Hart: rev 671 of pcidevs.txt; 22-01-2008 (D-M-Y). * Boemler: vendors.txt (2010-03126) PR: kern/133733 END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-03T20:31:13.805462Z K 7 svn:log V 171 Lock the page around vm_page_activate() and vm_page_deactivate() calls where it was missed. The wrapped fragments now protect wire_count with page lock. Reviewed by: alc END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-03T20:57:16.518435Z K 7 svn:log V 793 - Don't set CAS_PCS_DATAPATH to anything except CAS_PCS_DATAPATH_SERDES on Cassini using the external PCS SERDES otherwise unaligned access traps and other strange effects happen with some machines. Don't touch the MIF which is unused in that case either. These changes require the PHY type to use to be determined via the OFW device tree or from the VPD in machines without the former. - Disable the SERDES pins of Saturn when not used in order to save power and ensure they are enabled otherwise. - In cas_attach() use the correct register offset for CAS_PCS_CONF_EN. - Add some bus space barriers missing in the PCS code path. These changes make the Sun GigaSwift Ethernet 1.0 MMF cards as well as the on-board interfaces found in Sun Fire B100s Blade Server work. PR: 144867 END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-03T20:59:27.305141Z K 7 svn:log V 59 Sun GigaSwift Ethernet 1.0 MMF work with r207585 in place. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-03T22:09:06.001350Z K 7 svn:log V 449 MFC r202668 and r200806 [1]: Add a new option, -P, which reverts newsyslog(8) to the old behavior, which stops to proceed further, as it is possible that processes which fails to create PID file get screwed by rotation. ---- Don't consider non-existence of a PID file an error, we should be able to proceed anyway as this most likely mean that the process has been terminated. PR: bin/140397 Submitted by: Dan Lukes END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-05-03T22:10:54.448082Z K 7 svn:log V 1137 Remove no longer necessary local variable in version() Add a --no-index-fetch option for people who want to use the --index* options but do not want portmaster to do the fetching. Rework how some initial variables are set. Deriving the values via make works, but is very slow. So try to be more intelligent about recognizing the standard values for the ones we always need to have. * For PORTSDIR and PKG_DBDIR if those variables are not in the environment and the standard directories exist, use them. * Move the setting of pd (PORTSDIR) up to before the INDEX-related items so that we can use ${INDEXDIR:-$pd} * The derivation of the INDEX-related stuff wasn't working (since we didn't know $pd) and no one has complained, so just use the default values from bsd.port.mk unless the user specifies others. * If /var/db/ports exists, use it for port_dbdir In the test to see if we downloaded a new INDEX.bz2 file supply a default value for index_time so that if the file did not exist previously the test will not fail. Indicate that the -[lL] options are not compatible with -FRaefnors, updates, or installs END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-05-03T22:14:06.517986Z K 7 svn:log V 37 Document the --no-index-fetch option END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-05-03T22:32:26.326352Z K 7 svn:log V 221 Update GRANDPARENTED text to match the contents of tzdata/factory r19879. This eliminates "warning: time zone abbreviation differs from POSIX" on installworld to an empty filesystem. Reviewed by: edwin MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-04T00:42:03.565585Z K 7 svn:log V 176 MFC r195724 (mav): Limit IOCATAREQUEST ioctl data size to controller's maximum I/O size. It fixes kernel panic when requested size is too large (0xffffffff), PR: kern/136726 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-05-04T01:46:58.263041Z K 7 svn:log V 54 Make address assignment via ipv6_prefix_IF work again END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-04T03:56:25.170352Z K 7 svn:log V 264 MFC: r207461 sparc64, and possibly other architectures, pads the length of the section holding the config file to sh_addralign bytes using NULs. This bogusly triggers an assert. Break out of the loop when we hit an NUL within that many bytes of the end. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-04T04:02:43.031582Z K 7 svn:log V 216 MFC r188214 (by wkoszek): Make config -x only return non-zero characters, so that: config -x | grep just works. Reported by: Danny Braniss END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-04T04:04:37.468399Z K 7 svn:log V 263 MFC r207461: sparc64, and possibly other architectures, pads the length of the section holding the config file to sh_addralign bytes using NULs. This bogusly triggers an assert. Break out of the loop when we hit a NUL within that many bytes of the end. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-04T05:14:43.823211Z K 7 svn:log V 195 MFC r206264: When OOM searches for a process to kill, ignore the processes already killed by OOM. When killed process waits for a page allocation, try to satisfy the request as fast as possible. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-04T05:17:11.190894Z K 7 svn:log V 90 Fixup MFC. I should have done test build before committing this. Pointy hat to: delphij END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-04T05:25:48.038804Z K 7 svn:log V 154 MFC r206894: The cache_enter(9) function shall not be called for doomed dvp. Assert this. Verify that dvp is not reclaimed before calling cache_enter(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-04T05:34:18.058777Z K 7 svn:log V 712 MFC r206893: Slightly modernize realpath(3). SUSv4 requires that implementation returns EINVAL if supplied path is NULL, and ENOENT if path is empty string [1]. Bring prototype in conformance with SUSv4, adding restrict keywords. Allow the resolved path buffer pointer be NULL, in which case realpath(3) allocates storage with malloc(). MFC r206898: Free() is not allowed to modify errno, remove safety brackets around it. Add small optimization, do not copy a string to the buffer that is to be freed immediately after. MFC r206997: Move realpath(3) prototype to a POSIX section. MFC r206998: Add standards section, improve wording, taking into account the handling of NULL and changed type in declaration. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-04T05:47:17.386209Z K 7 svn:log V 78 Move definition of struct rusage_ext before struct thread. MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-04T05:55:19.265795Z K 7 svn:log V 21 Add lock assertions. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-04T05:55:37.250799Z K 7 svn:log V 485 Implement RUSAGE_THREAD. Add td_rux to keep extended runtime and ticks information for thread to allow calcru1() (re)use. Rename ruxagg()->ruxagg_locked(), ruxagg_tlock()->ruxagg() [1]. The ruxagg_locked() function no longer clears thread ticks nor td_incruntime. Requested by: attilio [1] Discussed with: attilio, bde Reviewed by: bde Based on submission by: Alexander Krizhanovsky MFC after: 1 week X-MFC-Note: td_rux shall be moved to the end of struct thread END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-04T06:00:39.428843Z K 7 svn:log V 107 Use td_rux.rux_runtime for ki_runtime instead of redoing calculation. Submitted by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-04T06:01:25.775231Z K 7 svn:log V 60 Document RUSAGE_THREAD. Reviewed by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-04T06:04:33.808232Z K 7 svn:log V 80 Remove a comment that merely repeats code. Submitted by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-04T06:06:01.358613Z K 7 svn:log V 40 Fix typo in comment. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-04T06:13:17.859905Z K 7 svn:log V 2495 Go ahead and merge the work edwin@ on tftpd into the tree. It is a lot better than what's in the tree now. Edwin tested it at a prior employer, but can't test it today. I've found that it works a lot better with the various uboot versions that I've used in my embedded work. Here's the pkg-descr from the port that describes the changes: It all started when we got some new routers, which told me the following when trying to upload configuration or download images from it: The TFTP server doesn't support the blocksize option. My curiousity was triggered, it took me some reading of RFCs and other documentation to find out what was possible and what could be done. Was plain TFTP very simple in its handshake, TFTP with options was kind of messy because of its backwards capability: The first packet returned could either be an acknowledgement of options, or the first data packet. Going through the source code of src/libexec/tftpd and going through the code of src/usr.bin/tftp showed that there was a lot of duplicate code, and the addition of options would only increase the amount of duplicate code. After all, both the client and the server can act as a sender and receiver. At the end, it ended up with a nearly complete rewrite of the tftp client and server. It has been tested against the following TFTP clients and servers: - Itself (yay!) - The standard FreeBSD tftp client and server - The Fedora Core 6 tftp client and server - Cisco router tftp client - Extreme Networks tftp client It supports the following RFCs: RFC1350 - THE TFTP PROTOCOL (REVISION 2) RFC2347 - TFTP Option Extension RFC2348 - TFTP Blocksize Option RFC2349 - TFTP Timeout Interval and Transfer Size Options RFC3617 - Uniform Resource Identifier (URI) Scheme and Applicability Statement for the Trivial File Transfer Protocol (TFTP) It supports the following unofficial TFTP Options as described at http://www.compuphase.com/tftp.htm: blksize2 - Block size restricted to powers of 2, excluding protocol headers rollover - Block counter roll-over (roll back to zero or to one) From the tftp program point of view the following things are changed: - New commands: "blocksize", "blocksize2", "rollover" and "options" - Development features: "debug" and "packetdrop" If you try this tftp/tftpd implementation, please let me know if it works (or doesn't work) and against which implementaion so I can get a list of confirmed working systems. Author: Edwin Groothuis END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-04T06:19:19.994818Z K 7 svn:log V 2495 Go ahead and merge the work edwin@ on tftpd into the tree. It is a lot better than what's in the tree now. Edwin tested it at a prior employer, but can't test it today. I've found that it works a lot better with the various uboot versions that I've used in my embedded work. Here's the pkg-descr from the port that describes the changes: It all started when we got some new routers, which told me the following when trying to upload configuration or download images from it: The TFTP server doesn't support the blocksize option. My curiousity was triggered, it took me some reading of RFCs and other documentation to find out what was possible and what could be done. Was plain TFTP very simple in its handshake, TFTP with options was kind of messy because of its backwards capability: The first packet returned could either be an acknowledgement of options, or the first data packet. Going through the source code of src/libexec/tftpd and going through the code of src/usr.bin/tftp showed that there was a lot of duplicate code, and the addition of options would only increase the amount of duplicate code. After all, both the client and the server can act as a sender and receiver. At the end, it ended up with a nearly complete rewrite of the tftp client and server. It has been tested against the following TFTP clients and servers: - Itself (yay!) - The standard FreeBSD tftp client and server - The Fedora Core 6 tftp client and server - Cisco router tftp client - Extreme Networks tftp client It supports the following RFCs: RFC1350 - THE TFTP PROTOCOL (REVISION 2) RFC2347 - TFTP Option Extension RFC2348 - TFTP Blocksize Option RFC2349 - TFTP Timeout Interval and Transfer Size Options RFC3617 - Uniform Resource Identifier (URI) Scheme and Applicability Statement for the Trivial File Transfer Protocol (TFTP) It supports the following unofficial TFTP Options as described at http://www.compuphase.com/tftp.htm: blksize2 - Block size restricted to powers of 2, excluding protocol headers rollover - Block counter roll-over (roll back to zero or to one) From the tftp program point of view the following things are changed: - New commands: "blocksize", "blocksize2", "rollover" and "options" - Development features: "debug" and "packetdrop" If you try this tftp/tftpd implementation, please let me know if it works (or doesn't work) and against which implementaion so I can get a list of confirmed working systems. Author: Edwin Groothuis END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-05-04T08:06:53.901283Z K 7 svn:log V 227 MFC of r201613, r201627 Be able to specify a certain date and/or time for which to calculate the phase of the moon. While not worlds best improvements, it will help calendar(1) later on. Also closed bin/79008 PR: bin/79008 END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-05-04T08:37:28.696496Z K 7 svn:log V 128 MFC r207480: Change description of tunable group vfs.zfs.txg to be more understandable. Approved by: pjd, delphij (mentor) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-05-04T10:14:05.793503Z K 7 svn:log V 61 Add support for FA626TE. Tested on GM8181 development board. END K 10 svn:author V 4 nork K 8 svn:date V 27 2010-05-04T11:25:04.457715Z K 7 svn:log V 104 Add support run services_mkdb(8). Approved by: dougb, imp (mentor) Reviewed by: ume MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-05-04T11:34:13.811855Z K 7 svn:log V 210 Restore historical behaviour of only executing chflags on files that exist. This eliminates cosmetic errors of the form "chflags: ...: No such file or directory" during an installworld to an empty destination. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-04T13:07:40.189391Z K 7 svn:log V 37 Bring in new files from edwin's tftp END K 10 svn:author V 4 csjp K 8 svn:date V 27 2010-05-04T15:29:07.820649Z K 7 svn:log V 125 Add a case to make sure that internal audit records get converted to BSM format for lpathconf(2) events. MFC after: 2 weeks END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-05-04T15:52:17.171881Z K 7 svn:log V 150 MFC r205073 Regen: * Hart: rev 671 of pcidevs.txt; 22-01-2008 (D-M-Y). * Boemler: vendors.txt (2010-03126) PR: kern/133733 END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-04T15:55:41.706163Z K 7 svn:log V 150 Add page locking to the vm_page_cow* functions. Push down the acquisition and release of the page queues lock into vm_page_wire(). Reviewed by: kib END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-04T16:11:02.642560Z K 7 svn:log V 24 Update LLVM to r103004. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-04T16:12:48.403306Z K 7 svn:log V 25 Update clang to r103004. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-04T16:56:59.993249Z K 7 svn:log V 350 - Remove more dead code[1]. Since r207330, we only need to check division by zero of the second argument 'from'. - Prefer u_int32_t over unsigned int to make its intention more clearer. - Move the function to a header file and make it a static inline function. Pointed out by: Andrew Reilly (areilly at bigpond dot net dot au)[1] MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-04T17:00:18.193688Z K 7 svn:log V 129 Doh! Add another new file forgotten by the importer of edwin@'s tftp improvements. MFC after: 1 week Pointy Hat: imp-o-rama... END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-04T17:02:34.121905Z K 7 svn:log V 93 Drop driver lock before exiting from interrupt handler. Submitted by: jhb MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-04T17:12:36.803743Z K 7 svn:log V 490 Make sure to check whether driver is running before processing received frames. Also check driver has valid ifp pointer before calling msk_stop() in device_shutdown handler. While I'm here remove unnecessary accesses to interrupt mask registers in device_shutdown handler because driver puts the controller into reset state. With these changes, msk(4) now survive from heavy RX traffic(1byte UDP frame) while reboot is in progress. Reported by: Mark Atkinson < atkin901 <> gmail dot com > END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-05-04T17:30:07.313128Z K 7 svn:log V 224 Fix deadlock during zfs receive. OpenSolaris onnv revision: 9299:8809e849f63e PR: kern/146296 Submitted by: myself Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6783818, 6826836) MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-04T17:34:00.855521Z K 7 svn:log V 87 Remove clearing RxHashTable2 register. The register is reprogrammed in sge_rxfilter(). END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-05-04T17:40:24.209337Z K 7 svn:log V 293 Speed up ZFS list operation with objset prefetching. Partial import of OpenSolaris onnv revisions: 8415:8809e849f63e, 10474:0e96dd3b905a PR: kern/146297 Submitted by: myself Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6386929, 6755389, 6847118) MFC after: 2 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-05-04T17:44:40.415991Z K 7 svn:log V 259 Enable "zfs list" to list explicitly requested snapshots. Partial import of OpenSolaris onnv revision: 8415:8809e849f63e PR: kern/146297 Submitted by: myself Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6758338) MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-04T19:04:51.471230Z K 7 svn:log V 482 Enable multi-descriptor transmisstion for fragmented mbufs. There is no more need to defragment mbufs. After transmitting the multi-fragmented frame, the controller updates only the first descriptor of multi-descriptor transmission so it's driver's responsibility to clear OWN bits of remaining descriptor of multi-descriptor transmission. It seems the controller behaves much like jme(4) controllers in descriptor handling. Tested by: xclin cs dot nctu dot edu dot tw > END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-04T19:18:00.719281Z K 7 svn:log V 1149 MFC r196981, r200844, r201630, r203977, r203978, r204352: r196981 (rdivacky): Add C/c/f/p/v switches plus a bunch of minor fixes and cleanups. Obtained from: NetBSD r200844 (jh): Don't print the archive name with -p and -q options. PR: bin/141280 r201630 (kientzle): When restoring files, use the mode for the mode. Thanks to: Jun Kuriyama for pointing this out r203977 (gavin): Implement the rename query, for when a file with the same name as the one about to be extracted already exists. The question, and interpretation of the response is deliberately compatible with Info-Zip. This change was originally obtained from NetBSD, but has three changes: - better compatibility with Info-Zip in the handling of ^D - Use getdelim() rather than getline() - bug fix: != changed to == in the "file rename" code I suspect the latter is also a bug in NetBSD, but I can't easily confirm this. PR: bin/143307 Reviewed by: rdivacky (change to unzip.c only) Obtained from: NetBSD src/usr.bin/unzip/unzip.c 1.8 r203978 (gavin): Bump .Dd for r203977 r204352 (ru): Fixed static linkage. == Requested by: Alex Kozlov END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-04T19:58:55.854557Z K 7 svn:log V 206 Remove if_ar, if_ray, if_sr, if_ppp, if_sl to reflect the current modules available, they were removed due to NEEDSGIANT. While I'm there, add if_et which was missed quite a while ago. MFC after: 2 weeks END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-04T20:50:39.398629Z K 7 svn:log V 24 Update LLVM to r103052. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-04T20:51:19.975374Z K 7 svn:log V 25 Update clang to r103052. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-05-04T21:16:01.096890Z K 7 svn:log V 45 MFC r201797 Remove unused uhci_dump_qhs(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-05-04T21:21:05.229793Z K 7 svn:log V 539 MFC: 202767,202774 Add a timeout for the negative name cache entries in the NFS client. This avoids a bogus negative name cache entry from persisting forever when another client creates an entry with the same name within the same NFS server time of day clock tick. Unlike 8.x and later, the timeout is only adjustable via a system-wide sysctl (vfs.nfs.negative_name_timeout) rather than a mount option. Setting the timeout to 0 disables negative name caching. I also fixed one obvious typo where args.timeo should be args.maxgrouplist. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-04T21:23:59.547880Z K 7 svn:log V 50 Free entire mbuf chain instead of the first mbuf. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-04T21:56:16.038933Z K 7 svn:log V 85 MFC r207153: stat: Allow -f %Sf to display the file flags symbolically. PR: 124349 END K 10 svn:author V 3 wes K 8 svn:date V 27 2010-05-04T22:22:31.080031Z K 7 svn:log V 55 Update my email address. Approved by: core (implicit) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-04T22:24:19.619171Z K 7 svn:log V 130 When VLAN hardware tagging is disabled, make sure to disable VLAN checksum offloading as well as TSO over VLAN. Reported by: jhb END K 10 svn:author V 2 np K 8 svn:date V 27 2010-05-04T23:55:08.159943Z K 7 svn:log V 63 Add IFCAP_LINKSTATE to cxgb's capabilities. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-05T00:38:20.072831Z K 7 svn:log V 344 MFC r206973: When CPUTYPE is defined to any value, on amd64 platform "mmx" is available through MACHINE_CPU, indicating the CPU supports that feature, as done by revision 138685. This changeset adds "mmx" into the default amd64 MACHINE_CPU list when no CPUTYPE is specified to provide consistent behavior. PR: amd64/145593 Submitted by: mm END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-05T00:39:06.496694Z K 7 svn:log V 344 MFC r206973: When CPUTYPE is defined to any value, on amd64 platform "mmx" is available through MACHINE_CPU, indicating the CPU supports that feature, as done by revision 138685. This changeset adds "mmx" into the default amd64 MACHINE_CPU list when no CPUTYPE is specified to provide consistent behavior. PR: amd64/145593 Submitted by: mm END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-05T00:39:50.060541Z K 7 svn:log V 344 MFC r206973: When CPUTYPE is defined to any value, on amd64 platform "mmx" is available through MACHINE_CPU, indicating the CPU supports that feature, as done by revision 138685. This changeset adds "mmx" into the default amd64 MACHINE_CPU list when no CPUTYPE is specified to provide consistent behavior. PR: amd64/145593 Submitted by: mm END K 10 svn:author V 2 np K 8 svn:date V 27 2010-05-05T00:41:40.714613Z K 7 svn:log V 1239 Add support for hardware filters to cxgb(4). The T3 chip can inspect L2/3/4 headers and can drop or steer packets as instructed. Filtering based on src ip, dst ip, src port, dst port, 802.1q, udp/tcp, and mac addr is possible. Add support in cxgbtool to program these filters. Some simple examples: Drop all tcp/80 traffic coming from the subnet specified. # cxgbtool cxgb2 filter 0 sip 192.168.1.0/24 dport 80 type tcp action drop Steer all incoming UDP traffic to qset 0. # cxgbtool cxgb2 filter 1 type udp queue 0 action pass Steer all tcp traffic from 192.168.1.1 to qset 1. # cxgbtool cxgb2 filter 2 sip 192.168.1.1 type tcp queue 1 action pass Drop fragments. # cxgbtool cxgb2 filter 3 type frag action drop List all filters. # cxgbtool cxgb2 filter list index SIP DIP sport dport VLAN PRI P/MAC type Q 0 192.168.1.0/24 0.0.0.0 * 80 0 0/1 */* tcp - 1 0.0.0.0/0 0.0.0.0 * * 0 0/1 */* udp 0 2 192.168.1.1/32 0.0.0.0 * * 0 0/1 */* tcp 1 3 0.0.0.0/0 0.0.0.0 * * 0 0/1 */* frag - 16367 0.0.0.0/0 0.0.0.0 * * 0 0/1 */* * * MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-05T03:45:46.394038Z K 7 svn:log V 176 Push down the acquisition of the page queues lock into vm_page_unwire(). Update the comment describing which lock should be held on entry to vm_page_wire(). Reviewed by: kib END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-05-05T04:37:45.156020Z K 7 svn:log V 145 Fix DDB backtrace involving kernel modules. We can no longer assume that all valid program counter values reside within the kernel object file. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-05T05:11:12.534756Z K 7 svn:log V 178 MFC r207490: Add xpt_schedule_dev_sendq() call, lost at r203108. It is not needed in usual operation, but required in some conditions to make queue running after being shrinked. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-05T05:18:08.714520Z K 7 svn:log V 147 MFC r207282: Update device identify data and serial number when device change detected. Reprobe immediately following this should have fresh data. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-05T07:40:54.966895Z K 7 svn:log V 73 Push down the acquisition of the page queues lock into vm_page_unwire(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-05T07:47:40.547549Z K 7 svn:log V 174 Use an OBJT_PHYS object and thus PG_UNMANAGED pages to implement the TSB. The TSB is not a pageable structure, so there is no point in using managed pages. Reviewed by: kib END K 10 svn:author V 6 danger K 8 svn:date V 27 2010-05-05T08:43:47.276347Z K 7 svn:log V 11 - fix typo END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2010-05-05T08:55:26.162779Z K 7 svn:log V 169 Update SA's NAT-T stuff before calling key_mature() in key_update(), as SA may be used as soon as key_mature() has been called. Obtained from: NETASQ MFC after: 1 week END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2010-05-05T08:58:58.630079Z K 7 svn:log V 163 Set SA's natt_type before calling key_mature() in key_add(), as the SA may be used as soon as key_mature() has been done. Obtained from: NETASQ MFC after: 1 week END K 10 svn:author V 5 marck K 8 svn:date V 27 2010-05-05T09:01:15.882307Z K 7 svn:log V 206 MFC r207068: Allow to modify directory's content even if the ZFS_NOUNLINK (SF_NOUNLINK, sunlnk) flag is set. We only deny dirctory's removal or rename. PR: kern/143343 Approved by: pjd END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-05T09:29:34.074821Z K 7 svn:log V 71 MFC r207009: C language does not has references, it provides pointers. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-05-05T12:37:07.418799Z K 7 svn:log V 205 Merge r203684 from head (mainly to make future merges easier for people): Update .Dt on these man pages: the kernel modules and corresponding man pages are installed on more platforms than just i386. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-05-05T12:38:22.757529Z K 7 svn:log V 109 Merge r205155 from head: Add extra Xrefs PR: docs/114184 Submitted by: Julian Stacey END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-05-05T12:39:44.544100Z K 7 svn:log V 83 Merge r205386 from head: Fix command example, presumed leftovers of old markup. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-05-05T12:48:30.935506Z K 7 svn:log V 356 Merge r203310,203547,203717 from head: Implement the "-i" option to sysctl(8), to ignore failures while retrieving individual OIDs. This allows the same list of OIDs to be passed to sysctl(8) across different systems where particular OIDs may not exist, and still get as much information as possible from them. PR: bin/123644 Submitted by: dhw END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-05T16:05:51.210053Z K 7 svn:log V 142 Fix a mistake in r207603. td_rux.rux_runtime still needs conversion. Reported and tested by: nwhitehorn Pointy hat to: kib MFC after: 6 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-05-05T16:25:57.191210Z K 7 svn:log V 230 Merge r206422: > Pass the HTTP_PROXY and FTP_PROXY environment variables through in addition > to FTP_PASSIVE_MODE so release building works for a machine that needs > to use a proxy. PR: misc/137688 Submitted by: Michael Leun END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-05-05T16:41:14.768615Z K 7 svn:log V 239 Merge r206422: > Pass the HTTP_PROXY and FTP_PROXY environment variables through in addition > to FTP_PASSIVE_MODE so release building works for a machine that needs > to use a proxy. PR: misc/137688 Submitted by: Michael Leun END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-05-05T16:44:25.847865Z K 7 svn:log V 88 Move checking against RLIMIT_FSIZE into one place, vn_rlimit_fsize(). Reviewed by: kib END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-05T16:47:33.182382Z K 7 svn:log V 19 Merge from vendor. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-05T16:57:02.874080Z K 7 svn:log V 152 Make libstdc++ compilable with access control enabled. This is necessary because clang++ does these checks while g++ does not (it's a bug on g++ side). END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-05-05T16:58:29.967679Z K 7 svn:log V 200 Merge r206423: > Shift the version of perl used by the release build process over to > perl-5.10. This aligns the release build process with the current > default version of perl in the ports tree. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-05-05T17:01:03.642573Z K 7 svn:log V 200 Merge r206423: > Shift the version of perl used by the release build process over to > perl-5.10. This aligns the release build process with the current > default version of perl in the ports tree. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-05-05T17:13:53.567540Z K 7 svn:log V 200 Merge r206423: > Shift the version of perl used by the release build process over to > perl-5.10. This aligns the release build process with the current > default version of perl in the ports tree. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-05-05T17:17:19.441399Z K 7 svn:log V 160 Spell "Hz" correctly in arlcontrol. Direct commit to stable/7 as this code no longer exists in head. PR: bin/142566 Submitted by: N.J. Mann END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-05T18:16:06.684358Z K 7 svn:log V 474 Acquire the page lock around all remaining calls to vm_page_free() on managed pages that didn't already have that lock held. (Freeing an unmanaged page, such as the various pmaps use, doesn't require the page lock.) This allows a change in vm_page_remove()'s locking requirements. It now expects the page lock to be held instead of the page queues lock. Consequently, the page queues lock is no longer required at all by callers to vm_page_rename(). Discussed with: kib END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-05-05T18:22:29.882567Z K 7 svn:log V 248 Introduce hardforce export option (-F) for "zpool export". When exporting with this flag, zpool.cache remains untouched. OpenSolaris onnv revision: 8211:32722be6ad3b Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID: 6775357) END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-05-05T18:53:24.726371Z K 7 svn:log V 293 Fix deadlock between GEOM class unloading and withering. Withering can't proceed while g_unload_class() blocks the event thread. Fix this by not running g_unload_class() as a GEOM event and dropping the topology lock when withering needs to proceed. PR: kern/139847 Silence on: freebsd-geom END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-05-05T18:57:55.359873Z K 7 svn:log V 95 Forced commit to set MFC period for r207670. Approved by: delphij (mentor) MFC after: 2 weeks END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-05-05T20:39:02.177944Z K 7 svn:log V 66 Switch to our preferred 2-clause BSD license. Approved by: kmacy END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-05T20:43:40.611083Z K 7 svn:log V 75 Make clang -print-multi-os-directory return . on amd64. Requested by: kwm END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-05-05T20:54:16.735508Z K 7 svn:log V 99 Fix merge botch. Submitted by: Sofian Brabez Pointy hat: Earned and deserved. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-05T21:07:47.659992Z K 7 svn:log V 142 Add definitions for Intel AESNI CPUID bits and print the capabilities on boot. Hardware provided by: Sentex Communications MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-05T21:24:18.555404Z K 7 svn:log V 58 Move SCCS tags to comments as they were already #if 0'ed. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-05T21:48:40.367201Z K 7 svn:log V 746 sh: Apply locale vars on builtins, recognize LC_MESSAGES as a locale var. This allows doing things like LC_ALL=C some_builtin to run a builtin under a different locale, just like is possible with external programs. The immediate reason is that this allows making printf(1) a builtin without breaking things like LC_NUMERIC=C printf '%f\n' 1.2 This change also affects special builtins, as even though the assignment is persistent, the export is only to the builtin (unless the variable was already exported). Note: for this to work for builtins that also exist as external programs such as /bin/test, the setlocale() call must be under #ifndef SHELL. The shell will do the setlocale() calls which may not agree with the environment variables. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-05T22:00:57.559926Z K 7 svn:log V 224 MFC r207186: sysctl(3): Update description of various kern.* variables. Also add xrefs for confstr(3) (as sysconf(3) but for strings) and kvm(3) (which is a more convenient way to access some of the variables). PR: 116480 END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-05-05T22:06:05.908918Z K 7 svn:log V 165 Add an optional "persistent" flag to ng_hub and ng_bridge, which if set, disables automatic node shutdown when the last hook gets disconnected. Reviewed by: julian END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-05T22:07:28.625804Z K 7 svn:log V 224 MFC r207186: sysctl(3): Update description of various kern.* variables. Also add xrefs for confstr(3) (as sysconf(3) but for strings) and kvm(3) (which is a more convenient way to access some of the variables). PR: 116480 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-05T22:12:56.546557Z K 7 svn:log V 211 MFC r207190: unlinkat(2): unlinkat(AT_REMOVEDIR) fails with ENOTEMPTY like rmdir() for non-empty directories. POSIX permits both ENOTEMPTY and EEXIST, but we use the clearer ENOTEMPTY, following BSD tradition. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-05T22:15:20.653936Z K 7 svn:log V 322 - Fix broken symlinks on cross platform zfs send/recv. [1] - Enable zfs_ace_byteswap() on FreeBSD as it works just fine (tested between amd64 and sparc64 in both directions by Michael Moll). PR: 146272 Approved by: mm, pjd Obtained from: OpenSolaris (onnv rev. 8283:1ca59f393041; Bug ID 6764193) [1] MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-05T22:17:17.746576Z K 7 svn:log V 581 MFC r206760: getcwd(3): Clarify that EACCES may or may not be checked. POSIX permits but does not require checking access on the current and parent directories. Because various programs do not like it if getcwd(3) fails, it seems best to avoid checking access as much as possible. There are various reports in GNATS about this (search for getcwd). Our getcwd(3) implementation first queries the kernel for the pathname directly, which does not check any permissions but sometimes fails, and then falls back to reading all parent directories for the names. PR: standards/44425 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-05T22:19:52.641661Z K 7 svn:log V 581 MFC r206760: getcwd(3): Clarify that EACCES may or may not be checked. POSIX permits but does not require checking access on the current and parent directories. Because various programs do not like it if getcwd(3) fails, it seems best to avoid checking access as much as possible. There are various reports in GNATS about this (search for getcwd). Our getcwd(3) implementation first queries the kernel for the pathname directly, which does not check any permissions but sometimes fails, and then falls back to reading all parent directories for the names. PR: standards/44425 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-05T22:23:29.032541Z K 7 svn:log V 581 MFC r206760: getcwd(3): Clarify that EACCES may or may not be checked. POSIX permits but does not require checking access on the current and parent directories. Because various programs do not like it if getcwd(3) fails, it seems best to avoid checking access as much as possible. There are various reports in GNATS about this (search for getcwd). Our getcwd(3) implementation first queries the kernel for the pathname directly, which does not check any permissions but sometimes fails, and then falls back to reading all parent directories for the names. PR: standards/44425 END K 10 svn:author V 2 np K 8 svn:date V 27 2010-05-05T22:29:54.537951Z K 7 svn:log V 94 Do not hold the T3 firmware in memory all the time. firmware(9) can load/unload it as needed. END K 10 svn:author V 2 np K 8 svn:date V 27 2010-05-05T22:52:06.810342Z K 7 svn:log V 159 Don't ring the tx doorbell for every frame when we know more frames will follow. Adjust the freelist and response queue doorbells too. Discussed with: kmacy END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-05-06T00:24:08.774984Z K 7 svn:log V 300 If the "-alldirs" export option was used for the V4: line, mountd would crash in check_options() since dp == NULL for the V4: line. This patch moves the check for options allowed on the V4: line to ahead of where dp is used to avoid this crash. Reported by: mamalos AT eng.auth.gr MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-05-06T00:49:10.551472Z K 7 svn:log V 102 MFC: r207349 Delete a diagnostic statement that is no longer useful from the experimental NFS client. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-05-06T01:08:36.603327Z K 7 svn:log V 337 MFC: r207350 For the experimental NFS client, it should always flush dirty buffers before closing the NFSv4 opens, as the comment states. This patch deletes the call to nfscl_mustflush() which would return 0 for the case where a delegation still exists, which was incorrect and could cause crashes during recovery from an expired lease. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-06T04:23:52.398423Z K 7 svn:log V 21 Eliminate dead code. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-06T04:57:10.750082Z K 7 svn:log V 45 MFC r207570: Style and comment adjustements. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-06T04:57:33.168202Z K 7 svn:log V 480 Add a helper function vm_pageout_page_lock(), similar to tegge' vm_pageout_fallback_object_lock(), to obtain the page lock while having page queue lock locked, and still maintain the page position in a queue. Use the helper to lock the page in the pageout daemon and contig launder iterators instead of skipping the page if its lock is contested. Skipping locked pages easily causes pagedaemon or launder to not make a progress with page cleaning. Proposed and reviewed by: alc END