ƒ¯n219158 209 197 397 201 319 125 151 259 174 115 138 172 222 162 229 115 1426 137 396 265 551 226 166 204 356 213 199 306 164 588 797 318 122 122 264 224 171 148 259 243 205 164 172 180 167 424 153 283 276 365 302 302 474 176 272 481 161 728 165 603 227 557 131 117 186 240 260 462 403 203 184 175 200 278 292 292 220 220 126 126 730 254 213 262 259 156 111 164 646 146 146 291 291 280 280 473 384 169 169 505 205 215 104 104 108 109 238 238 109 133 175 333 141 139 182 199 281 283 230 221 243 161 243 399 194 197 288 288 135 187 238 157 180 411 202 171 194 290 290 238 281 281 184 170 233 209 166 452 106 175 188 125 387 109 593 193 104 104 582 149 203 446 190 132 168 153 159 261 241 181 203 138 577 334 356 394 615 142 498 356 173 173 197 651 139 424 188 184 192 250 194 154 260 179 177 449 152 495 170 615 615 324 152 167 168 255 142 133 162 182 K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-03-02T00:29:14.554339Z K 7 svn:log V 100 Correct a typo. PR: bin/155175 Submitted by: Peter J. Philipp MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-02T00:36:28.249004Z K 7 svn:log V 304 MFC r218972: Move the max_threads_per_proc and max_threads_hits variables to the file where they are used. Declare the kern.threads sysctl node at the same location. Since no external use for the variables exists, make them static. MFC r218976 (by pluknet): Clean up the now unused #include statement. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:01:49.141088Z K 7 svn:log V 104 MFC r218028: To avoid excessive code duplication move struct rusage translation to a separate function. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:03:54.509120Z K 7 svn:log V 222 MFC r218030: Implement a variation of the linux_common_wait() which should be used by linuxolator itself. Move linux_wait4() to MD path as it requires native struct rusage translation to struct l_rusage on linux32/amd64. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:06:38.010703Z K 7 svn:log V 29 MFC r218031: Style(9) fixes. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:08:42.161682Z K 7 svn:log V 55 MFC r218059: Fix my style(9) bg introduced in r218028. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:09:52.474993Z K 7 svn:log V 162 MFC r218100: The kern_wait() code already removes the SIGCHLD signal for the waited process. Removing other SIGCHLD signals is not needed and may cause problems. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:11:41.994329Z K 7 svn:log V 78 MFC r218101: Change linux futex syscall definition to match actual linux one. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:13:03.990419Z K 7 svn:log V 19 Regen for r219165. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:18:21.867068Z K 7 svn:log V 42 MFC r218117: Implement a futex BITSET op. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:19:31.971505Z K 7 svn:log V 76 MFC r218118: Yet another unimplemented futex operation, print out about it. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:21:21.212121Z K 7 svn:log V 125 MFC r218646: The bitset field of freshly created futex should be initialized explicity. Otherwise, REQUEUE operations fails. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:22:18.592348Z K 7 svn:log V 66 MFC r218609: Remove unused since r134586 thr_exit1() declaration. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:23:19.768803Z K 7 svn:log V 132 MFC r218610: The fourth argument of linux_clone is a pointer to the TLS. Change clone syscall definition to match actual linux one. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T06:24:46.152727Z K 7 svn:log V 19 Regen for r219171. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-03-02T09:53:13.028002Z K 7 svn:log V 1327 MFC r215664: By using the 32-bit Linux version of Sun's Java Development Kit 1.6 on FreeBSD (amd64), invocations of "javac" (or "java") eventually end with the output of "Killed" and exit code 137. This is caused by: 1. After calling exec() in multithreaded linux program threads are not destroyed and continue running. They get killed after program being executed finishes. 2. linux_exit_group doesn't return correct exit code when called not from group leader. Which happens regularly using sun jvm. The submitters fix this in a similar way to how NetBSD handles this. I took the PRs away from dchagin, who seems to be out of touch of this since a while (no response from him). The patches committed here are from [2], with some little modifications from me to the style. PR: 141439 [1], 144194 [2] Submitted by: Stefan Schmidt , gk Reviewed by: rdivacky (in april 2010) MFC r215675: Do not take the process lock. The assignment to u_short inside the properly aligned structure is atomic on all supported architectures, and the thread that should see side-effect of assignment is the same thread that does assignment. Use a more appropriate conditional to detect the linux ABI. Suggested by: kib END K 10 svn:author V 3 osa K 8 svn:date V 27 2011-03-02T11:04:50.154091Z K 7 svn:log V 45 Fix beginning day of the Carnival. it starts END K 10 svn:author V 3 osa K 8 svn:date V 27 2011-03-02T11:09:34.134857Z K 7 svn:log V 303 Expand the name of Palm Sunday holiday with more canonical Entry of the Lord into Jerusalem. Merge the Pentecost and Trinity Sunday holidays, they are synonyms. Remove Body of Christ day, nonexistent holiday for Orthodox Church. Fix typo in the name of Ioann The Baptist, introduced in previous commit. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-03-02T13:06:47.923798Z K 7 svn:log V 167 Fix kernel build with MFC of r215706: Fix linux kernel module breakage introduced in r215675, by including . Pointyhat to: netchild Noticed by: kib END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-02T14:39:26.420866Z K 7 svn:log V 450 Improve the distributeworld target in Makefile.inc1 and update the release infrastructure to use it. make distributeworld can now be used without preparing its environment first and installs games into its distribution using the regular make distribute logic instead of post-processing with a script. Also add two new targets, packageworld and packagekernel, that tar up the results of distributeworld and distributekernel (also new), respectively. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-02T14:56:58.048195Z K 7 svn:log V 133 Fix a bug in the result of manual assembly. Reported by: Stefan Grundmann PR: kern/155118 MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-02T15:41:00.600290Z K 7 svn:log V 66 Make installations work when no optional components are selected. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-02T16:03:19.416184Z K 7 svn:log V 108 Migrate the sysctl related routines (statistics, debugging, etc) out of if_ath.c and into if_ath_sysctl.c . END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-02T16:06:57.394524Z K 7 svn:log V 255 Add additional release makefile for bsdinstall-based media, along with support files. This does not change the default behavior of anything. To make bsdinstall-based media, pre-build world and GENERIC, then run the release target in Makefile.bsdinstall. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-03-02T16:15:11.621064Z K 7 svn:log V 116 Add support for NetFlow version 9 into ng_netflow(4) node. Submitted by: Alexander V. Chernikov END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-03-02T16:16:09.051410Z K 7 svn:log V 102 Update manual: node now supports NetFlow v9. Submitted by: Alexander V. Chernikov END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-03-02T17:13:07.093058Z K 7 svn:log V 214 Prevent crashes from a race when (cloned) interfaces go away. PR: bin/152143 Submitted by: Przemyslaw Frasunek (przemyslaw frasunek.com) Tested by: Przemyslaw Frasunek (przemyslaw frasunek.com) MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-02T17:19:54.787600Z K 7 svn:log V 69 Break the keycache management functions out into if_ath_keycache.c . END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2011-03-02T18:53:12.495355Z K 7 svn:log V 490 This patch shrinks boot2 a little. o It switches kname to be just a pointer instead of an array thus avoiding a couple of memcpy()s. o It changes ioctl to unsigned from uint8_t. o It changes the second keyhit limit to 3 seconds from 5 so that constant propagation can take place. o It changes the ticks overflow computation as suggested by bde@. o It removes bi_basemem/bi_extmem/bi_memsizes_valid setting from bootinfo as it is unused. Reviewed by: jhb END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-02T19:09:49.749351Z K 7 svn:log V 703 MFC: r216634, r216673 Improve PCB flags handling and make it more robust. Add two new functions for manipulating pcb_flags. These inline functions are very similar to atomic_set_int(9) and atomic_clear_int(9) but without unnecessary LOCK prefix for SMP. Add comments about the rationale. Use these functions wherever possible. Although there are some places where it is not strictly necessary (e.g., a PCB is copied to create a new PCB), it is done across the board for sake of consistency. Turn pcb_full_iret into a PCB flag as it is safe now. Move rarely used fields before pcb_flags and reduce size of pcb_flags to four bytes. Fix some style(9) nits in pcb.h while I am in the neighborhood. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-02T19:27:01.173018Z K 7 svn:log V 225 MFC 217805: Fix a LOR by dropping the global ifnet locks while allocating a new ifnet table in if_grow(). The order of the SYSINIT's for ifnet state were swapped so that the various locks were initialized before being used. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-02T19:29:24.670776Z K 7 svn:log V 30 MFC 217858: Remove dead code. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-02T19:29:35.793829Z K 7 svn:log V 30 MFC 217858: Remove dead code. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:31:53.158537Z K 7 svn:log V 167 MFC r218612: In preparation for moving linux_clone () to a MI path move the TLS code in a separate function. Use function parameter instead of direct using register. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:33:46.858206Z K 7 svn:log V 127 MFC r218613: In preparation for moving linux_clone() to a MI path introduce linux_set_upcall_kse() which is used for MD works. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:36:06.171152Z K 7 svn:log V 75 MFC r218616: Move linux_clone(), linux_fork(), linux_vfork() to a MI path. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:38:13.822062Z K 7 svn:log V 52 MFC r218617: Remove bogus include END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:39:42.741828Z K 7 svn:log V 162 MFC r218618: Slightly rewrite linux_fork: 1) Remove bogus error checking. 2) A new process exit from kernel through fork_trampoline(), so remove bogus check. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:41:09.387850Z K 7 svn:log V 146 MFC r218621: Rename used_requeue and use it as bitwise field to store more flags. Reimplement used_requeue logic with LINUX_XDEPR_REQUEUEOP flag. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:43:31.300143Z K 7 svn:log V 108 MFC r218654, r218655: Stop printing the LOR, as this is expected behavior. Remove comment about 'ftlk' LOR. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:45:50.241376Z K 7 svn:log V 68 MFC r218658, r218668: Sort include files in the alphabetical order. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:46:45.573482Z K 7 svn:log V 76 MFC r218686: Style(9) fix. Do not initialize variables in the declarations. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:48:19.467270Z K 7 svn:log V 84 MFC r218717: Put the macro declaration in the relevant include file for future use. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T19:49:37.905419Z K 7 svn:log V 71 MFC r218718: Style(9) fix. Wrap long lines in linux_rt_sigtimedwait(). END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T20:01:24.274190Z K 7 svn:log V 327 MFC r218719 (by hand, depends on r209592): Make a linux_rt_sigtimedwait() system call is actually working. 1) Translate the native signal number in the appropriate Linux signal. 2) Remove bogus code, which can lead to a panic as it calls kern_sigtimedwait with the same ksiginfo. 3) Return the corresponding signal number. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T20:02:52.467256Z K 7 svn:log V 57 MFC r218720: For realtime signals fill the sigval value. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T20:04:54.601228Z K 7 svn:log V 186 MFC r218744: To avoid excessive code duplication create wrapper for fill regs from stack frame. Change the trap() code to use newly created function instead of explicit regs assignment. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T20:08:52.382463Z K 7 svn:log V 179 MFC r218879: Do not clobber %rdx. Before calling vfork() syscall the linux user-space stores the current PID in the %rdx and restore it when the parent process leaves the kernel. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-03-02T21:39:08.998475Z K 7 svn:log V 273 Hide the outer IP addresses of a tunnel interfaces (gif(4), gre(4)) from processes inside jails if the addresses do not belong to the jail. Originally reported by: Pieter de Boer via remko PR: kern/151119 Tested by: Piotr KUCHARSKI (nospam 42.pl) [gif] MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-02T21:50:59.915657Z K 7 svn:log V 209 MFC 217239: Add a nested include of to make the sysctl(9) manpage accurate. is one of the very few headers similar to for which nested includes is allowed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-02T21:51:22.431060Z K 7 svn:log V 209 MFC 217239: Add a nested include of to make the sysctl(9) manpage accurate. is one of the very few headers similar to for which nested includes is allowed. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-03-02T21:59:42.786459Z K 7 svn:log V 381 Unbreak .Aq for non-ASCII output like -Tps or -Tutf8. groff will try to produce fancy angle brackets like Foo ⟨foo@FreeBSD.org⟩ This is nice and well, but no email client will understand them. For ease of copy&paste keep the one-true pair of brackets 0x3c/0x3e. See: RFC 822, RFC 2822 PR: gnu/154822 Submitted by: Dominic Fandrey MFC after: 2 weeks END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-03-02T21:59:53.660972Z K 7 svn:log V 84 Fix some duplicate-word typos in manpages. Submitted by: arundel MFC after: 1 week END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-02T22:44:04.163914Z K 7 svn:log V 175 Direct commit: fix cryptodev module build when COMPAT_FREEBSD32 option is enabled. To avoid header pollution put trapframe declaration here. Noticed by: kib Pointyhat to: me END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-03T00:24:55.899752Z K 7 svn:log V 387 MFC: r217515, r217519, r217539 Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). Compile sys/dev/mem/memutil.c for all supported platforms and remove now unnecessary dev_mem_md_init(). Consistently define mem_range_softc from mem.c for all platforms. Add missing #include guards for machine/memdev.h and sys/memrange.h. Clean up some nearby style(9) nits. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-03T00:43:35.861563Z K 7 svn:log V 68 MFC: r218685, r218687 Copy just enough data for the resource type. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-03T03:02:06.442984Z K 7 svn:log V 632 Disable trying to do HT/40 and short-GI TX. These flags are just plain wrong - they're the node flags from negotiation, not the configured flags. I'll jump in later on and figure out exactly what should be done to properly set these two flags when in both STA mode (ie, what the AP says is possible and what's configured) and AP mode (ie, where the AP has a configuration, but then negotiates what's possible with each node, so per-node configuration can and will differ.) This allows the 11n 2.4ghz/ht20 mode to associate (but perform poorly still) and exchange MCS rates with atheros reference APs and a Cisco/Linksys E3000 AP. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-03T05:56:29.012594Z K 7 svn:log V 69 Unbreak the build. pksignal added by r209592. Pointyhat to: dchagin END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-03T08:09:49.323736Z K 7 svn:log V 507 Modify the sample rate module output to be (slightly) easier to understand. * add dot11rate_label() which returns Mb or MCS based on legacy or HT * use it everywhere dot11rate() is used * in the "current selection" part at the top of the debugging output, otuput what the rate itself is rather than the rix. The rate index (rix) has very little meaning to normal humans who don't know how to find the PHY settings for each of the chipsets; pointing out the rix rate and type is likely more useful. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-03T08:30:28.510846Z K 7 svn:log V 131 * fix the ar5416 check macros to be slightly more correct; * add some stubs for chipsets that we haven't yet obtained support for. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-03T08:38:31.365589Z K 7 svn:log V 461 Port over ar5416OverrideIni() from ath9k ar5008_hw_override_ini(). * change the BB gating logic to explicitly define which chips are covered; the ath9k method isn't as clear. * don't disable the BB gating for now, the ar5416 initvals have it, and the ar9160 initval sets it to 0x0. Figure out why before re-enabling this. * migrate the Merlin (ar9280) applicable WAR from the Kite (ar9285) code (which won't get called for Merlin!) and stuff it in here. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-03T09:44:30.621050Z K 7 svn:log V 40 MFC r219001: Update xz to release 5.0.1 END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-03T09:49:03.964995Z K 7 svn:log V 26 Delete wrong mergepoints. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-03-03T10:25:41.570080Z K 7 svn:log V 89 - Remove dependency to ucom from ulpt. MFC after: 14 days Approved by: thompsa (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-03T11:28:57.200134Z K 7 svn:log V 143 Add text string for ECAPMODE to libc. Discussed with: anderson Obtained from: Capsicum Project Sponsored by: Google, Inc. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-03T11:29:48.039750Z K 7 svn:log V 163 Add description of ECAPMODE to errno(2) man page. Discussed with: anderson Obtained from: Capsicum Project Sponsored by: Google, Inc. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-03T11:31:08.141773Z K 7 svn:log V 365 Make cap_new(2) and cap_getmode(2) symbols from libc public so applications can link against them. Add man pages for the new system calls, with one errant forward reference to changes not yet present in FreeBSD, but soon will be. Reviewed by: anderson Obtained from: Capsicum Project Sponsored by: Google, Inc. Discussed with: benl, kris, pjd MFC after: 3 months END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-03-03T11:45:54.984153Z K 7 svn:log V 309 MFi386: revision 219186 This patch shrinks boot2 a little. o It switches kname to be just a pointer instead of an array. o It changes ioctl to unsigned from uint8_t. o It changes the second keyhit limit to 3 seconds from 5. o It removes bi_basemem/bi_extmem/bi_memsizes_valid setting. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-03-03T11:52:07.668980Z K 7 svn:log V 109 MFC: revision 218843 To avoid excessive code duplication create wrapper for fill regs from stack frame. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-03T14:31:40.432554Z K 7 svn:log V 92 MFC 216074[1], 219086: Fix device name in usb_quirk(4). PR: 155074 Obtained from: ru [1] END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-03-03T15:27:06.674556Z K 7 svn:log V 78 Turn over releng/8.2 and releng/7.4 to secteam. Approved by: core (implicit) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-03-03T16:16:49.192750Z K 7 svn:log V 108 Unbreak the build for no options INET6. PR: kern/155227 Submitted by: Dmitry Afanasiev (KOT MATPOCKuH.Ru) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-03T16:57:59.458779Z K 7 svn:log V 181 Merge r211786 from head to stable/8: Port dtruss to FreeBSD. Sponsored by: The FreeBSD Foundation Reported by: Nikolay Denev Original commit by: rpaulo END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T16:58:58.772533Z K 7 svn:log V 199 MFC 218270: Use M_WAITOK rather than M_NOWAIT when creating taskqueues via the TASKQUEUE_DEFINE macros. All the places that use these macros to create taskqueues assume that the operation succeeds. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T16:59:20.043103Z K 7 svn:log V 199 MFC 218270: Use M_WAITOK rather than M_NOWAIT when creating taskqueues via the TASKQUEUE_DEFINE macros. All the places that use these macros to create taskqueues assume that the operation succeeds. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T17:04:45.240319Z K 7 svn:log V 127 MFC 200761,218272: Always assert that the turnstile chain lock is held in turnstile_wait() and remove a duplicate hash lookup. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T17:04:57.362765Z K 7 svn:log V 127 MFC 200761,218272: Always assert that the turnstile chain lock is held in turnstile_wait() and remove a duplicate hash lookup. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T17:10:48.993113Z K 7 svn:log V 34 MFC 218290: Correct include path. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T17:11:11.694857Z K 7 svn:log V 34 MFC 218290: Correct include path. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-03T17:12:24.329058Z K 7 svn:log V 638 MFC r216489: If dlclose() is called recursively from a _fini() function, the inner dlclose() call may unload the object of the outer call prematurely because objects are unreferenced before _fini() calls. Fix this by unreferencing objects after calling objlist_call_fini() in dlclose(). Therefore objlist_call_fini() now calls the fini function if the reference count of an object is 1. In addition we must restart the list_fini traversal after every _fini() call because another dlclose() call might have modified the reference counts. Add an XXX comment to objlist_call_fini() about possible race with dlopen(). PR: 133246, 149464 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-03T17:33:22.467594Z K 7 svn:log V 159 Make "struct pts_softc" point to ucred instead of uidinfo. This is no-op, required for resource containers. Reviewed by: kib (as part of a larger patch), ed END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T18:16:35.351998Z K 7 svn:log V 120 MFC 200597,200599: Docmuent NO_KERNEL{CLEAN,CONFIG,DEPEND,OBJ} as necessary. Update documentation on KERNFAST meaning. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-03T18:19:10.647181Z K 7 svn:log V 165 Switch PROCESS_SHARE to AUTO_SHARE (as umtx do). Even for SHARED, if page mapped MAP_ANON linux uses private algorithm too. Disscussed with: jhb MFC after: 3 Days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2011-03-03T18:28:21.152933Z K 7 svn:log V 163 Don't automatically send a START UNIT to sequential access devices- this might cause them to load the tape unintentionally. Reviewed by: gibbs MFC after: 1 month END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-03T18:29:55.319744Z K 7 svn:log V 60 Print out shared flag for debug purpose. MFC after: 1 Week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-03T18:42:53.899440Z K 7 svn:log V 19 s/reguild/rebuild/ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T18:49:46.520968Z K 7 svn:log V 72 MFC 217733: Properly document what the top-level `make tinderbox` does. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T18:52:11.993760Z K 7 svn:log V 553 MFC 216487,217754,218524: - Pass JFLAG as JFLAG from tinderbox to universe. - For `make tinderbox` there is no need to print the extra commands. - Add a new UNIVERSE_TARGET variable for 'make universe'. If it is set, then that target is invoked for each architecture rather than the default action of building world and kernels for each architecture. - Add a 'make toolchains' wrapper which uses UNIVERSE_TARGET to build toolchains for all architectures. - Document JFLAG, MAKE_JUST_KERNELS, and MAKE_JUST_WORLDS variables for 'make universe'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T19:55:15.875137Z K 7 svn:log V 54 MFC 218707: Properly check for errors from waitpid(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T19:55:22.882549Z K 7 svn:log V 54 MFC 218707: Properly check for errors from waitpid(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T19:57:38.684709Z K 7 svn:log V 198 MFC 218777: Save a copy of errno before invoking syslog() if accept() or select() fail. syslog() can trash the errno value causing nfsd to exit for non-fatal errors like ECONNABORTED from accept(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T19:57:49.948814Z K 7 svn:log V 198 MFC 218777: Save a copy of errno before invoking syslog() if accept() or select() fail. syslog() can trash the errno value causing nfsd to exit for non-fatal errors like ECONNABORTED from accept(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T20:13:44.005752Z K 7 svn:log V 187 MFC 218968: Properly handle BARs bigger than 4G. The '1' was treated as an int causing the size calculation to be truncated to the size of an int (32-bits on all current architectures). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T20:14:00.389083Z K 7 svn:log V 187 MFC 218968: Properly handle BARs bigger than 4G. The '1' was treated as an int causing the size calculation to be truncated to the size of an int (32-bits on all current architectures). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-03T20:41:59.807400Z K 7 svn:log V 377 The sample rate module currently does the slightly wrong thing when determining whether to use MRR or not. It uses the 11g protection mode when calculating 11n related stuff, rather than checking the 11n protection mode. Furthermore, the 11n chipsets can quite happily handle multi-rate retry w/ protection; the TX path and rate control modules need to be taught about that. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-03T21:56:08.121033Z K 7 svn:log V 292 MFC r212067, r214623 MFC r212067 (pjd): Eliminate confusing while () loop. In the first version of the code it was there to avoid gotos, but in the current version it serves no purpose. MFC r214623 (pjd): Fix ztest when it is executed by just 'ztest' and not by full path '/usr/bin/ztest'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T22:08:51.375423Z K 7 svn:log V 77 MFC 218969: Expose the umtx_key structure and API to the rest of the kernel. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-03T22:09:10.145097Z K 7 svn:log V 77 MFC 218969: Expose the umtx_key structure and API to the rest of the kernel. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-03T22:34:13.077800Z K 7 svn:log V 409 Fix some _POSIX minimum/maximum values in limits.h: * Some values changed in POSIX.1-2001; provide the former value if a program requests compliance to an earlier version of POSIX. [1] * Add missing _POSIX_CLOCKRES_MIN constant. This is a maximum value but otherwise works the same as the minimum values. PR: standards/104743 Submitted by: bde [1] (not exact #ifdefs, but the values) MFC after: 2 weeks END K 10 svn:author V 6 daichi K 8 svn:date V 27 2011-03-04T07:01:45.554424Z K 7 svn:log V 109 Add the Buffalo (Melco Inc.) WLI-UC-G301N PR: usb/155229 Submitted by: Yoshiaki UCHIKAWA MFC after: 1 week END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-03-04T09:03:54.075611Z K 7 svn:log V 117 - Add a FEATURE for capsicum (security_capabilities). - Rename mac FEATURE to security_mac. Discussed with: rwatson END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-04T09:18:34.169581Z K 7 svn:log V 12 MFH r219243 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-04T09:20:23.292358Z K 7 svn:log V 12 MFH r219243 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-04T10:57:17.793294Z K 7 svn:log V 16 MFbase @r219260 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-04T12:02:32.067050Z K 7 svn:log V 17 MFbase @r219261. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-03-04T12:18:50.598380Z K 7 svn:log V 141 MFC r219031: Fix division by zero, causing floating point exception in a drive progress command. Approved by: avg (mentor), kib (mentor) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-03-04T12:20:14.035920Z K 7 svn:log V 141 MFC r219031: Fix division by zero, causing floating point exception in a drive progress command. Approved by: avg (mentor), kib (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-04T12:42:40.300214Z K 7 svn:log V 17 MFbase @r219262. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-04T17:07:02.615112Z K 7 svn:log V 39 Make ACL tests slightly easier to run. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-04T17:10:39.348497Z K 7 svn:log V 81 Adapt NFSv4 ACL regression test to the fact that the new ZFS uses new semantics. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-04T17:23:10.606083Z K 7 svn:log V 238 Make acl_strip_np(3) use new trivial ACL format for NFSv4 ACls (three entries instead of six). This makes "setfacl -b" do the right thing for ACLs on ZFS. UFS recognizes both kinds of trivial ACLs; no change there. MFC after: 2 months END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-04T18:37:26.117612Z K 7 svn:log V 47 Adapt tools-crossfs.test to the new semantics. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-04T18:46:19.873008Z K 7 svn:log V 45 One more fix. Now all ACL tests pass again. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-04T19:28:27.642162Z K 7 svn:log V 87 POSIX.1-2008 moved some constants from the XSI option to the Base. MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-04T19:53:07.877981Z K 7 svn:log V 104 Make UFS use PSARC/2010/029 NFSv4 ACL semantics by default, just like ZFSv28 does. MFC after: 2 months END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-04T20:26:35.495240Z K 7 svn:log V 185 MFC r218966, r219124: Change the return type of vmspace_swap_count to a long to match the other vmspace_*_count functions. While here, clean up some style(9) issues. PR: kern/152200 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-04T20:30:18.361793Z K 7 svn:log V 187 MFC r218966, r219124: Change the return type of vmspace_swap_count to a long to match the other vmspace_*_count functions. While here, clean up some style(9) issues. PR: kern/152200 END K 10 svn:author V 3 eri K 8 svn:date V 27 2011-03-04T20:37:38.787572Z K 7 svn:log V 137 Fix a panic that can happen when trying to destroy a lagg(4) with scheduler set to none. Approved by: thompsa(mentor) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-04T22:26:41.036034Z K 7 svn:log V 128 Use ffs() to locate free bits in the inode bitmap rather than a loop with bit shifts. Reviewed by: mckusick MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-04T22:59:14.009034Z K 7 svn:log V 149 MFC: r219046 Set C1 "I/O then Halt" capability bit for Intel EIST. Some broken BIOSes refuse to load external SSDTs if this bit is unset for _PDC. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-04T23:12:14.823998Z K 7 svn:log V 68 MFC: r218685, r218687 Copy just enough data for the resource type. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-04T23:43:10.347906Z K 7 svn:log V 149 MFC: r219046 Set C1 "I/O then Halt" capability bit for Intel EIST. Some broken BIOSes refuse to load external SSDTs if this bit is unset for _PDC. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-05T00:17:34.506248Z K 7 svn:log V 305 - Tidy up endian conversions with input from bde. Consolidate casts, improve style, make the const macros more generic/mi friendly. This version keeps inlines and macros as this is the only combination that will work with gcc when byte order conversions are used in static initializations. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-05T00:18:21.730391Z K 7 svn:log V 100 - Rename libsdp libibsdp since there is an existing libsdp on BSD as part of bluetooth support. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2011-03-05T00:59:34.729717Z K 7 svn:log V 101 Flush both reads *and* writes to registers. Obtained from: Miod Vallat in OpenBSD MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-05T02:11:23.375598Z K 7 svn:log V 193 MFC r218961: Update how accounting log files are rotated, clean up the rc.d script a bit. MFC r218986: The new accounting file needs to be 644 so that unprivileged users can use lastcomm(1) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-05T02:12:36.095946Z K 7 svn:log V 193 MFC r218961: Update how accounting log files are rotated, clean up the rc.d script a bit. MFC r218986: The new accounting file needs to be 644 so that unprivileged users can use lastcomm(1) END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-05T03:01:14.023597Z K 7 svn:log V 44 Fix incorrect assertion. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-05T03:06:38.694756Z K 7 svn:log V 96 Resume tx immediately in response to an SGE egress update from the hardware. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-05T03:12:50.622200Z K 7 svn:log V 146 Upgrade the firmware on the card automatically if a better version is available. Downgrade only for a major version mismatch. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-05T03:18:56.333057Z K 7 svn:log V 66 A txpkts work request should have a valid FID. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-05T03:27:14.720463Z K 7 svn:log V 89 Store the ifnet rather than the port_info in each txq and rxq struct. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-05T03:42:03.959385Z K 7 svn:log V 319 Tweaks for rx: - everything related to LRO should be in #ifdef INET blocks - reorder sge_iq's fields so that the most frequently used are all together - pull all rx code into t4_intr_data directly - let go of the ingress queue lock when passing up data - refill the freelist only if it is short of at least 32 buffers END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-05T03:46:24.762802Z K 7 svn:log V 106 MFC r219096, r219126: r177626 broke some sentences. Reword them to avoid the duplicate "in". PR: 121490 END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-05T03:54:37.665633Z K 7 svn:log V 80 Calculate how many descriptors can be reclaimed before calling reclaim_tx_descs END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-05T04:04:23.160600Z K 7 svn:log V 102 There is no need to hold an ingress queue's lock while processing its descriptors. MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-05T04:06:12.208977Z K 7 svn:log V 195 MFC r218535: Synthesize the change from NetBSD's 1.33: "Do not crash if a date cannot be represented (localtime returning NULL), use the Epoch value instead." Obtained from: njoly@NetBSD.org END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-05T04:08:07.257506Z K 7 svn:log V 195 MFC r218535: Synthesize the change from NetBSD's 1.33: "Do not crash if a date cannot be represented (localtime returning NULL), use the Epoch value instead." Obtained from: njoly@NetBSD.org END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-05T04:11:06.617132Z K 7 svn:log V 142 MFC r177626, r219096, r219126: Fix some "in in" typos in comments. PR: 121490 Submitted by: Anatoly Borodin END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-05T04:15:46.360671Z K 7 svn:log V 185 MFC r219081: Merge fix from r1.108 of NetBSD's usr.bin/ftp/main.c: Only attempt to el_parse() a command unknown by the default parser if editing is enabled. PR: bin/100089 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-05T04:18:29.127556Z K 7 svn:log V 185 MFC r219081: Merge fix from r1.108 of NetBSD's usr.bin/ftp/main.c: Only attempt to el_parse() a command unknown by the default parser if editing is enabled. PR: bin/100089 END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-05T04:19:38.136336Z K 7 svn:log V 93 Be sure to stay within the bounds of the mod_str array when displaying the transceiver type. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-05T04:27:02.449752Z K 7 svn:log V 75 MFC r218965, 219055: Fix typos - remove duplicate "is". PR: docs/154934 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-05T04:33:42.229805Z K 7 svn:log V 137 MFC r218965, r219055: Fix typos - remove duplicate "is". PR: docs/154934 Submitted by: Eitan Adler END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-03-05T08:56:42.481567Z K 7 svn:log V 112 MFHead 219059: Connect uep.ko to build PR: kern/155044 Submitted by: Carl END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-05T09:42:00.995676Z K 7 svn:log V 74 MFC r219178: Fix a bug in the result of manual assembly. PR: kern/155118 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-05T12:40:35.492925Z K 7 svn:log V 357 Add two new system calls, setloginclass(2) and getloginclass(2). This makes it possible for the kernel to track login class the process is assigned to, which is required for RCTL. This change also make setusercontext(3) call setloginclass(2) and makes it possible to retrieve current login class using id(1). Reviewed by: kib (as part of a larger patch) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-05T12:46:24.094304Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-05T13:27:13.131601Z K 7 svn:log V 80 sh: Fix some warnings in code for arithmetic expressions. Submitted by: eadler END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-05T14:41:49.669699Z K 7 svn:log V 94 Export login class information via kinfo and make it possible to view it using "ps -o class". END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-03-05T15:18:11.662547Z K 7 svn:log V 31 Add two missing vertical bars. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-05T19:22:57.704686Z K 7 svn:log V 294 Please welcome Steve Kargl as a new src committer. Steve has been working on improvements to our math library for many years, and forcing him to commit his changes himself is long overdue. He has also been active on the mailing lists in other areas. I will be his mental. Approved by: core END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-05T20:15:32.103513Z K 7 svn:log V 17 Fix 32bit build. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-05T20:36:42.559899Z K 7 svn:log V 496 Partially reworked r219042. The reason for this is a bug at ktrops() where process dereferenced without having a lock. This might cause a panic if ktrace was runned with -p flag and the specified process exited between the dropping a lock and writing sv_flags. Since it is impossible to acquire sx lock while holding mtx switch to use asynchronous enqueuerequest() instead of writerequest(). Rename ktr_getrequest_ne() to more understandable name [1]. Requested by: jhb [1] MFC after: 1 Week END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-05T20:54:17.998998Z K 7 svn:log V 97 Style(9) fix. Fix indentation in comment, double ';' in variable declaration. MFC after: 1 Week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-05T20:57:29.060571Z K 7 svn:log V 12 MFH r219310 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-05T20:59:25.437824Z K 7 svn:log V 12 MFH r219310 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-05T21:20:18.393907Z K 7 svn:log V 486 Change HALDEBUG() to be a macro that conditionally calls the debug output routine. The earlier way of doing debugging would evaluate the function parameters before calling the HALDEBUG. In the case of detailed register debugging would mean a -lot- of unneeded register IO and other stuff was going on. This method evaluates the ath_hal_debug variable before the function parameters are evaluated, drastically reducing the amount of overhead enabling HAL debugging during compilation. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-05T22:24:31.522385Z K 7 svn:log V 57 Simplify zvol_remove_minors() a bit. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-05T22:31:03.366427Z K 7 svn:log V 110 Make renaming of a ZVOL, ZVOL's parent directory and ZVOL snapshot work. Reported by: avg MFC after: 1 month END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-06T00:30:43.959133Z K 7 svn:log V 350 Add an EEPROM op that extracts out the power table offset. It defaults to -5 dBm for eeproms earlier than v21. This apparently only applies to Merlin (AR9280) or later, earlier 11n chipsets have a power table offset of 0. All the code in ath9k which checks the power table offset and takes it into account first ensures the chip is Merlin or later. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2011-03-06T00:57:08.526449Z K 7 svn:log V 96 Obligatory first commit to the include myself in the list of committers list. Approved by: das END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-06T01:22:14.966747Z K 7 svn:log V 40 Fix libzpool build. MFC after: 1 month END K 10 svn:author V 6 andrew K 8 svn:date V 27 2011-03-06T03:12:45.039451Z K 7 svn:log V 73 Merge in binutils 2.17 from HEAD as it is required for userland ARM EABI END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-06T08:35:50.414730Z K 7 svn:log V 59 Add manual page for getloginclass(2) and setloginclass(2). END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-06T08:49:44.422092Z K 7 svn:log V 67 MFC r216210: refactor log(3) r216211: add log2(3) and log2f(3) END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-06T08:50:15.825955Z K 7 svn:log V 168 Bump __FreeBSD_version for the MFC of log2(), for the benefit of ports such as opencity and inkscape that have workarounds for the lack of a log2() in the base system. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-06T08:52:23.005908Z K 7 svn:log V 148 MFC r216137: Disable gcc's built-in rint() function when compiling s_nearbyint.c. It results in incorrect optimizations that break nearbyint(). END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-06T08:52:59.521109Z K 7 svn:log V 87 Add FBSD_1.2; syscalls added in 9-CURRENT are supposed to go there. Suggested by: kib END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-06T08:55:36.728382Z K 7 svn:log V 108 Move getloginclass(2) and setloginclass(2) to FBSD_1.2, where they should've been added in the first place. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-06T08:56:44.332810Z K 7 svn:log V 44 Mention setloginclass(2) in login_class(3). END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-06T09:01:29.978794Z K 7 svn:log V 485 MFC r218895: Backport svn r124339 from gcc 4.3 and add opteron-sse3, athlon64-sse3 and k8-sse3 cpu-types for -march=/-mtune= gcc options. These new cpu-types include the SSE3 instruction set that is supported by all newer AMD Athlon 64 and Opteron processors. All three cpu-types are supported by clang and all gcc versions starting with 4.3 SVN rev 124339 (at that time GPLv2 licensed). PR: gnu/154906 Discussed with: kib, kan, dim Obtained from: gcc 4.3 (r124339, GPLv2 licensed) END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-06T09:02:35.416945Z K 7 svn:log V 242 MFC r218896: Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk. - add "sse3" to MACHINE_CPU for the new cpu types - for i386, default to CPUTYPE=prescott for the new cpu types PR: gnu/154906 Discussed with: kib, kan, dim END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-06T10:32:58.280746Z K 7 svn:log V 264 MFC r218896 (share/examples part): Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk. - add "sse3" to MACHINE_CPU for the new cpu types - for i386, default to CPUTYPE=prescott for the new cpu types PR: gnu/154906 Discussed with: kib, kan, dim END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-06T11:43:02.195817Z K 7 svn:log V 298 - Use the correct DMA tag/map pair for synchronize the FC scratch area. - Allocate coherent DMA memory for the request/response queue area and and the FC scratch area. These changes allow isp(4) to work properly on sparc64 with usage of the IOMMU streaming buffers enabled. Approved by: mjacob END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-06T11:51:39.044596Z K 7 svn:log V 519 MFC: r216013, r216083 Several chipset drivers alter parameters relevant for the DMA tag creation, i.e. alignment, max_address, max_iosize and segsize (only max_address is thought to have an negative impact regarding this issue though), after calling ata_dmainit() either directly or indirectly so these values have no effect or at least no effect on the DMA tags and the defaults are used for the latter instead. So change the drivers to set these parameters up-front and ata_dmainit() to honor them. Reviewd by: mav END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-06T11:56:07.603667Z K 7 svn:log V 47 MFC: r218468 Set td_kstack_pages for thread0. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-06T12:48:15.732516Z K 7 svn:log V 402 - Allocate the DMA memory shared between the host and the controller as coherent. - Add some missing bus_dmamap_sync() calls. This includes putting such calls before calling reply handlers instead of calling bus_dmamap_sync() for the request queue from individual reply handlers as these handlers generally read back updates by the controller. Tested on amd64 and sparc64. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-06T12:54:00.859752Z K 7 svn:log V 260 - Allocate the DMA memory used for the work area as coherent as at least the ataahci(4) and atamarvell(4) drivers share it between the host and the controller. - Spell some zeros as BUS_DMA_WAITOK when used as bus_dmamem_alloc() flags. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-06T13:06:41.296000Z K 7 svn:log V 78 Add missing bus_dmamap_sync() calls for the work DMA map. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-06T13:08:25.395267Z K 7 svn:log V 78 Add missing bus_dmamap_sync() calls for the work DMA map. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-06T13:25:46.501782Z K 7 svn:log V 101 - Consistently abbreviate the names of the relocations. - End sentences with dots. - Fix whitespace. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-06T15:20:11.774928Z K 7 svn:log V 555 - With the addition of TLS support binutils started to make the addend values for resolved symbols relative to relocbase instead of sections so detect this case and handle as appropriate, which allows using kernel modules linked with affected versions of binutils. Actually I think this is a bug in binutils but given that apparently nobody complained for nearly six years and powerpc has basically the same workaround I decided to put it in for the sparc64 kernel, too. - Fix R_SPARC_HIX22 relocations. Apparently these are hardly ever used. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-06T16:10:39.019723Z K 7 svn:log V 47 Add some more IDs of HighPoint RocketRAID 64x. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-06T17:43:32.983686Z K 7 svn:log V 331 Fix various issues in how %#T is handled: - If precision is 0, don't print period followed by no digits. - If precision is 0 stop printing units as soon as possible (eg. if we have three years and five days and precision is 0 print only 3y5d). - If precision is not 0, print all units (eg. 3y0d0h0m0s.00). MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-06T17:45:37.282512Z K 7 svn:log V 96 Include stdio.h, so we can include printf.h in any order, as it needs FILE. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-06T17:46:06.933817Z K 7 svn:log V 92 expand_number() needs uint64_t, declare it here if not already declared. MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-06T18:43:59.112460Z K 7 svn:log V 100 MFC r208927 by mjacob: Try and narrow the gap in which you act on an event that has been canceled. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-06T19:47:46.282178Z K 7 svn:log V 157 Because we call __printf_out() with a on-stack buffer, also call __printf_flush() so we are sure it won't be referenced after we return. MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-06T19:50:47.448876Z K 7 svn:log V 99 Simplify various code that allowed for sys_signame being lower case. This was changed in r218285. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-06T20:12:09.705582Z K 7 svn:log V 60 Temporarily revert r219272; it breaks acl_is_trivial_np(3). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-06T21:19:33.592081Z K 7 svn:log V 159 Make this makefile a little more make-like (e.g. build only things that need to be rebuilt) and add an FTP-area target. Next will be docs and memstick builds. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-06T21:20:53.702776Z K 7 svn:log V 84 sh(1): Reduce excessive semicolon-separated sentences. Reported by: Benjamin Kaduk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-06T22:56:14.636000Z K 7 svn:log V 85 Allow to checksum on-the-wire data using either CRC32 or SHA256. MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-06T22:59:30.260661Z K 7 svn:log V 356 The execution of the shebang script requires putting interpreter path, possible option and script path in the place of argv[0] supplied to execve(2). It is possible and valid for the substitution to be shorter then the argv[0]. Avoid signed underflow in this case. Submitted by: Devon H. O'Dell PR: kern/155321 MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-06T23:01:02.471766Z K 7 svn:log V 58 mbone is no longer a physical category Submitted by: pav END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-06T23:09:33.636702Z K 7 svn:log V 402 Allow to compress on-the-wire data using two algorithms: - HOLE - it simply turns all-zero blocks into few bytes header; it is extremely fast, so it is turned on by default; it is mostly intended to speed up initial synchronization where we expect many zeros; - LZF - very fast algorithm by Marc Alexander Lehmann, which shows very decent compression ratio and has BSD license. MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-06T23:15:24.747135Z K 7 svn:log V 75 Add support for printing out the open-loop TX power control EEPROM fields. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-07T00:42:22.675528Z K 7 svn:log V 518 MFC r219102: Make sure changing ownership of RX descriptor to be done as last operation. Previously ownership was transferred to hardware before setting address of new RX buffer such that it was possible for hardware to use wrong RX buffer address. While here keep compiler from re-ordering instructions by declaring descriptor members volatile. Memory barriers would do the same job but volatile is supposed to be cheaper than using memory barriers, especially on MP systems. Submitted by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-07T00:44:00.470830Z K 7 svn:log V 518 MFC r219102: Make sure changing ownership of RX descriptor to be done as last operation. Previously ownership was transferred to hardware before setting address of new RX buffer such that it was possible for hardware to use wrong RX buffer address. While here keep compiler from re-ordering instructions by declaring descriptor members volatile. Memory barriers would do the same job but volatile is supposed to be cheaper than using memory barriers, especially on MP systems. Submitted by: marius END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-07T02:11:44.020997Z K 7 svn:log V 230 - Implement netdev_priv(). - Implement timer_pendiong(). - Implement spin_trylock(). - Add defines for bools used in Linux code. - Redefine dma mapping pci macros to avoid namespace pollution and add two missing routines. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-07T03:09:24.616921Z K 7 svn:log V 60 Add cexp() and cexpf(). Reviewed by: bde (earlier version) END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-07T03:11:27.655153Z K 7 svn:log V 75 Convert log10() to use __kernel_log(), which is more accurate and simpler. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-07T03:12:08.086534Z K 7 svn:log V 76 Convert log10f() to use __kernel_log(), which is more accurate and simpler. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-07T03:15:49.171986Z K 7 svn:log V 162 Add some tests for cexp() and cexpf(). (I need to clean up all of these tests some day, but in the mean time, they're a useful sanity check for future changes.) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2011-03-07T07:31:15.293344Z K 7 svn:log V 46 Remove unnecessary cast. Reviewed by: jilles END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-07T08:12:07.308753Z K 7 svn:log V 37 Remove dead code. MFC after: 1 Week END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-07T08:46:14.850458Z K 7 svn:log V 70 Remove part of an uncommitted change that snuck into the last commit. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-07T08:54:20.298186Z K 7 svn:log V 90 Add cexp() to the complex(3) manpage. Thanks to bde for pointing out that I missed this. END