ƒ¯n195204 203 743 183 166 200 119 252 167 209 213 182 173 138 145 131 109 124 167 147 152 120 156 140 144 120 172 198 176 315 324 170 165 178 426 521 218 706 205 394 190 1243 224 502 695 422 542 1201 217 155 298 122 133 228 432 415 134 538 284 219 167 155 269 306 132 220 130 176 183 122 249 265 192 277 249 265 139 142 731 214 226 481 176 196 188 142 140 147 105 207 132 205 447 371 319 220 1316 412 274 202 126 99 161 116 129 190 155 140 181 159 114 221 161 162 241 299 502 147 363 180 133 110 113 974 144 194 230 392 430 193 183 149 293 94 286 339 173 431 110 112 108 109 158 160 191 233 125 135 421 152 226 193 149 280 438 156 277 163 207 255 205 169 318 534 173 169 160 184 198 289 172 263 236 240 428 620 1080 906 261 147 205 205 393 1251 157 388 298 590 160 216 173 242 198 227 184 122 205 127 305 170 173 557 276 399 162 K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-30T19:23:44.175139Z K 7 svn:log V 647 General cleanup: * use LE_WRITE * fix add_meshconf() to be reentrant * add a mesh seq number type Pointed out by: sam Sponsored by: The FreeBSD Foundation > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M ieee80211_output.c M ieee80211_mesh.c M ieee80211_mesh.h END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-30T19:30:58.341432Z K 7 svn:log V 88 Add mesh seq modulo 2^32 operations and use them. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-30T19:35:50.346083Z K 7 svn:log V 71 Add some stats. Submited by: sam Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-30T19:38:33.441641Z K 7 svn:log V 104 Move some code from mesh_input() to mesh_forward() and add stats. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-30T19:39:15.360320Z K 7 svn:log V 24 Remove unused variable. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-30T19:39:17.674020Z K 7 svn:log V 159 Remove a stale comment. The very same revision (r85511) that introduced this comment also implemented the proposed change to the code. Approved by: re (kib) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-30T19:44:23.110257Z K 7 svn:log V 72 Add some stats to mesh_forward(). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-06-30T20:53:56.884238Z K 7 svn:log V 114 Make it clear where to look for for protocol-specific socket options. Reviewed by: rwatson Approved by: re (kib) END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-06-30T20:53:57.947653Z K 7 svn:log V 118 Don't imply that only FTP urls are supported when we can't fetch a package. Approved by: re (kib) MFC after: 3 weeks END K 10 svn:author V 3 mbr K 8 svn:date V 27 2009-06-30T22:09:47.322861Z K 7 svn:log V 90 Compiles without higher warn level M wake/Makefile Approved by: re (previous commit) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-30T22:26:26.070188Z K 7 svn:log V 78 Avoid side effects. Pointed out by: sam Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-30T22:31:50.877720Z K 7 svn:log V 44 set ret_nrt if we're not returning an error END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-30T22:48:28.852874Z K 7 svn:log V 51 fix type and add reference to route being returned END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-30T22:59:38.213905Z K 7 svn:log V 37 acquire lock to bump refcnt on route END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-01T00:07:55.935646Z K 7 svn:log V 15 skip to delete END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-01T01:22:28.599269Z K 7 svn:log V 30 add ppacket to the flags mask END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-01T01:24:58.234183Z K 7 svn:log V 75 o remove unused stat o correct spare count so struct size remains the same END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-01T01:26:51.288089Z K 7 svn:log V 55 pack ieee80211_meshcntl structs so sizeof works on arm END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-01T01:27:27.121283Z K 7 svn:log V 60 hack ALIGNED_POINTER so we re-align mesh data frames on arm END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-01T01:29:06.324585Z K 7 svn:log V 28 update bpf/radiotap support END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-01T01:31:14.209735Z K 7 svn:log V 64 move debug msg for drop due to mesh seq# and make it consistent END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-01T01:32:33.347869Z K 7 svn:log V 48 add stat+msg on drop due to mis-addressed frame END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-01T01:34:17.802315Z K 7 svn:log V 52 move work down so it's not done for dropped packets END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-01T01:35:37.170681Z K 7 svn:log V 28 leave marker for open issue END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-07-01T07:34:28.666672Z K 7 svn:log V 80 Don't include rpcv2.h - it has been removed. Submitted by: ed@ Approved by: re END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-07-01T07:35:57.251829Z K 7 svn:log V 105 Add an entry documenting removal of the NFS_LEGACYRPC option. Submitted by: Steve Kargl Approved by: re END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-07-01T07:37:21.109276Z K 7 svn:log V 84 Add usr/include/nfs/rpcv2.h Submitted by: pluknet at gmail dot com Approved by: re END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-07-01T08:08:56.169070Z K 7 svn:log V 222 Fix infinite loop in ng_iface, that happens when packet passes out via two different ng interfaces sequentially due to tunnelling. PR: kern/134557 Submitted by: Mikolaj Golub Approved by: re (kensmith) MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-07-01T08:43:05.785677Z K 7 svn:log V 231 MFC rev.194699: Mark ng_ether node hooks as HI_STACK. It is usually the last point when netgraph may unroll the call stack, and I have found that in some cases 2K guarantied there for i386 may be not enough for NIC driver and BPF. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-01T10:15:04.136016Z K 7 svn:log V 75 Add setup scripts for mesh networks. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-01T10:16:10.524156Z K 7 svn:log V 70 Revert something that snuck in. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-01T12:36:10.194962Z K 7 svn:log V 82 udit the 'options' argument to wait4(2). Approved by: re (kib) MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-07-01T12:44:23.063624Z K 7 svn:log V 333 MFC 185586 (kan): Change nfsserver slightly so that it does not trip over the timestamp validation code on ZFS. This should fix O_CREAT|O_EXCL open on NFS where a server is 64-bit with v13 ZFS code. PR: kern/135412 Pointed out by: Jaakko Heinonen Tested by: Jaakko Heinonen, Danny Braniss END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-01T13:07:02.276924Z K 7 svn:log V 427 - Fix the bug in write(2) called with incorrect parameters resulting in writes always started from the start of the packet. - Fix usage string (multiple addresses can be specified). - Make the source more style(9) compliant. - Improve error reporting (do not silently fail if something goes wrong). - Make functions static. - Use warns level 6. Approved by: re (kib) Discussed with: Marc Balmer , brian, mbr END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-01T13:22:08.817522Z K 7 svn:log V 121 Fix link(2) auditing: use the second audit record path for the new object name. Approved by: re (kib) MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-07-01T13:30:01.328480Z K 7 svn:log V 608 Create a set of CC related hook function wrappers around the algorithm specific hook function calls. These wrappers provide a place to do various asserts and place code that is algorithm agnostic. There is scope to move more code into some of these wrappers than has been done so far. It may also be beneficial to optimise for the case where the system default algorithm is in use for the connection and there are no other algorithms available e.g. don't indirect through the tcpcb and call the default algorithm's function directly. Not sure what savings could be made if any, but probably worth exploring. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-01T14:43:06.951195Z K 7 svn:log V 109 Complete prep processing by checking path metric, seq no and hopcount. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-07-01T15:11:23.566586Z K 7 svn:log V 296 Checkpoint commit part way through rename of cwnd_init hook to conn_init, which will now cover cwnd initialisation along with other bits and pieces. I think the newly named newreno_conn_init function can now be removed and all the code that's in it placed in the cc_conn_init() wrapper function. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-01T15:37:23.442028Z K 7 svn:log V 94 Audit the file descriptor number passed to lseek(2). Approved by: re (kib) MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-07-01T15:52:19.447674Z K 7 svn:log V 1147 With NFSv4 ACLs, it is possible that applying a mode to an ACL which is identical to the mode computed from that ACL will modify the ACL. For example, mode computed from the following ACL is 0600: user:kamila:rwx--------C--:------:allow owner@:--x-----------:------:deny owner@:rw-p---A-W-Co-:------:allow group@:rwxp----------:------:deny group@:--------------:------:allow everyone@:rwxp---A-W-Co-:------:deny everyone@:------a-R-c--s:------:allow However, applying that mode (chmod 0600) changes the ACL into this: user:kamila:rwx-----------:------:deny user:kamila:rwx--------C--:------:allow owner@:--x-----------:------:deny owner@:rw-p---A-W-Co-:------:allow group@:rwxp----------:------:deny group@:--------------:------:allow everyone@:rwxp---A-W-Co-:------:deny everyone@:------a-R-c--s:------:allow In chmod(1) utility, there is an optimisation, which makes it not call chmod(2) if the mode of the file is the same as the new mode. Disable that optimisation for files which may have NFSv4 ACLs. Reviewed by: rwatson Approved by: re (kib) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-07-01T16:13:01.446081Z K 7 svn:log V 131 Multiqueue RX is not correctly enabled on the new 82599 adapter, the SRRCTL register needs to be setup per queue. Approved by: re END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-07-01T16:38:18.628603Z K 7 svn:log V 404 Make sure that cr_error is set to ESHUTDOWN when closing the connection. This is normally done by a loop in clnt_dg_close(), but requests that aren't in the pending queue at the time of closing, don't get set. This avoids a panic in xdrmbuf_create() when it is called with a NULL cr_mrep if cr_error doesn't get set to ESHUTDOWN while closing. Reviewed by: dfr Approved by: re (Ken Smith), kib (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-07-01T16:42:03.225831Z K 7 svn:log V 597 When unmounting an NFS mount using sec=krb5[ip], the umount system call could get hung sleeping on "gsssta" if the credentials for a user that had been accessing the mount point have expired. This happened because rpc_gss_destroy_context() would end up calling itself when the "destroy context" RPC was attempted, trying to refresh the credentials. This patch just checks for this case in rpc_gss_refresh() and returns without attempting the refresh, which avoids the recursive call to rpc_gss_destroy_context() and the subsequent hang. Reviewed by: dfr Approved by: re (Ken Smith), kib (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-01T16:56:56.115488Z K 7 svn:log V 325 When auditing unmount(2), capture FSID arguments as regular text strings rather than as paths, which would lead to them being treated as relative pathnames and hence confusingly converted into absolute pathnames. Capture flags to unmount(2) via an argument token. Approved by: re (audit argument blanket) MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-07-01T17:06:56.268784Z K 7 svn:log V 444 - Complete the cwnd_init -> conn_init hook function transition. - Hide newreno hook functions from global namespace and access functions through the newreno_cc_algo struct. Unfortunately, we can no longer use C99 initializers to do all the hook function assignments as a result of this change, so do the remainder in the mod_init hook. - Remove the no longer required htcp_after_idle, newreno_cb_init and newreno_conn_init functions. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-07-01T17:20:07.224489Z K 7 svn:log V 1107 Improve the handling of cpuset with interrupts. - For x86, change the interrupt source method to assign an interrupt source to a specific CPU to return an error value instead of void, thus allowing it to fail. - If moving an interrupt to a CPU fails due to a lack of IDT vectors in the destination CPU, fail the request with ENOSPC rather than panicing. - For MSI interrupts on x86 (but not MSI-X), only allow cpuset to be used on the first interrupt in a group. Moving the first interrupt in a group moves the entire group. - Use the icu_lock to protect intr_next_cpu() on x86 instead of the intr_table_lock to fix a LOR introduced in the last set of MSI changes. - Add a new privilege PRIV_SCHED_CPUSET_INTR for using cpuset with interrupts. Previously, binding an interrupt to a CPU only performed a privilege check if the interrupt had an interrupt thread. Interrupts without a thread could be bound by non-root users as a result. - If an interrupt event's assign_cpu method fails, then restore the original cpuset mask for the associated interrupt thread. Approved by: re (kib) END K 10 svn:author V 2 np K 8 svn:date V 27 2009-07-01T17:50:59.195393Z K 7 svn:log V 125 Fix cxgb's version checks in stable. This makes it select the correct buffer size for freelist1. Approved by: gnn (mentor) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-07-01T18:12:50.515318Z K 7 svn:log V 63 Clarify the node about removing NFS_LEGACYRPC Approved by: re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-01T18:54:49.319401Z K 7 svn:log V 201 Define missing audit argument macro AUDIT_ARG_SOCKET(), and capture the domain, type, and protocol arguments to socket(2) and socketpair(2). Approved by: re (audit argument blanket) MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-01T19:46:53.967570Z K 7 svn:log V 28 add comment, firm up assert END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-01T19:55:07.297852Z K 7 svn:log V 39 Cache rtentry and llentry in the inpcb END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-01T19:55:11.473201Z K 7 svn:log V 131 Audit file descriptor numbers for various socket-related system calls. Approved by: re (audit argument blanket) MFC after: 3 days END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-07-01T20:07:44.589883Z K 7 svn:log V 339 Map DPCPU pages into ARM kernel VA space. DPCPU area was not properly mapped into kernel VA space, which caused page fault on the first DPCPU access. This patch fixes the problem by mapping DPCPU area into kernel VA space. Submitted by: Michal Hajduk, Piotr Ziecik Reviewed by: cognet, stas Approved by: re (kib) Obtained from: Semihalf END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-07-01T20:16:29.484284Z K 7 svn:log V 320 Fix a panic which (reportedly) can happen when unmounting a filesystem with I/O requests in flight on kernels compiled with "options INVARIANTS". Also, make it obvious it's not right to call g_valid_obj() (and macros using it, e.g. G_VALID_CONSUMER()) without topology lock held. Approved by: re (kib) Reported by: pho END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-01T20:42:17.970725Z K 7 svn:log V 40 drop pv lock while calling pmap_collect END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-07-01T20:43:46.041225Z K 7 svn:log V 444 - Use fd_lastfile + 1 as the upper bound on nd. This is more correct than using the size of the descriptor array. - A lock is not needed to fetch fd_lastfile. The results are stale the instant it is dropped. - Use a private mutex pool for select since the pool mutex is not used as a leaf. - Fetch the si_mtx pointer first before resorting to hashing to compute the mutex address. Reviewed by: McKusick Approved by: re (kib) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-01T22:06:12.581140Z K 7 svn:log V 188 * add more stats * check for 802.11 seq no. * fix forwarding direction check (by sam) * move RSSI/noise setup below * fix a case of peer localid == 0 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-01T22:15:04.635881Z K 7 svn:log V 123 Enable back ageq and automatic reverse path discovery now that they seem to work ok. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-01T22:18:04.844145Z K 7 svn:log V 73 undo recent ill-conceived changes - need to use pv table for super pages END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-01T22:20:44.732623Z K 7 svn:log V 60 Work around __packed. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-01T22:23:26.663572Z K 7 svn:log V 175 - Properly order headers, local variables and prototypes. [1] - Remove unneeded headers. - Return non-zero error code in usage(). Approved by: re (kib) Suggested by: bde [1] END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-07-01T22:30:36.741279Z K 7 svn:log V 211 Don't panic on attempt to set ACL on a block device file. This is just a part of kern/125613. PR: kern/125613 Submitted by: Jaakko Heinonen Reviewed by: rwatson Approved by: re (kib) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-01T22:45:19.017441Z K 7 svn:log V 38 pass free pointer to pmap_remove_page END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-01T22:47:45.586390Z K 7 svn:log V 123 For access(2) and eaccess(2), audit the requested access mode. Approved by: re (audit argument blanket) MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-01T22:49:24.290276Z K 7 svn:log V 36 fix type passed to pmap_remove_page END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-01T23:13:19.431984Z K 7 svn:log V 81 Remove prevhop from the hmwp route struct. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-01T23:14:21.811171Z K 7 svn:log V 88 First try at implementing HWMP proactive routing. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-01T23:58:03.838313Z K 7 svn:log V 28 assert that page is managed END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-02T00:36:00.424921Z K 7 svn:log V 152 MFC r180208 (peter): Set magic fbsd:nokeywords property that allows files to bypass keyword expansion. (file-specific replacement for CVSROOT/exclude) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-02T00:39:25.409012Z K 7 svn:log V 168 MFC r195012: Correct a typo (which you can use to in order -> which you can use in order to). PR: bin/136040 Submitted by: "Vikentii L. Karabin" END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-02T00:41:37.046893Z K 7 svn:log V 96 Change explicit maximium numbers to the defined macro MPT_MAX_LUNS. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-02T00:43:10.972190Z K 7 svn:log V 180 Use MPT_MAX_LUNS as maximium number of LUNs, not 7, for SAS and FC cases. This matches Linux driver behavior. Discussed with: scottl Approved by: re (kensmith) MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-02T00:44:21.339669Z K 7 svn:log V 152 MFC r180208 (peter): Set magic fbsd:nokeywords property that allows files to bypass keyword expansion. (file-specific replacement for CVSROOT/exclude) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-02T00:45:28.762511Z K 7 svn:log V 168 MFC r195012: Correct a typo (which you can use to in order -> which you can use in order to). PR: bin/136040 Submitted by: "Vikentii L. Karabin" END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-02T00:50:19.688475Z K 7 svn:log V 45 re-add whitespace to minimize diff with HEAD END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-02T04:56:11.354934Z K 7 svn:log V 48 avoid deadlock between pmap_collect and pageout END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-02T09:15:30.146340Z K 7 svn:log V 634 Clean up a number of aspects of token generation from audit arguments to system calls: - Centralize generation of argument tokens for VM addresses in a macro, ADDR_TOKEN(), and properly encode 64-bit addresses in 64-bit arguments. - Fix up argument numbers across a large number of syscalls so that they match the numeric argument into the system call. - Don't audit the address argument to ioctl(2) or ptrace(2), but do keep generating tokens for mmap(2), minherit(2), since they relate to passing object access across execve(2). Approved by: re (audit argument blanket) Obtained from: TrustedBSD Project MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-02T09:16:25.054945Z K 7 svn:log V 117 Audit file descriptor and command arguments to ioctl(2). Approved by: re (audit argument blanket) MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-02T09:50:13.582506Z K 7 svn:log V 129 Fix comment misthink. Submitted by: b. f. Approved by: re (audit argument blanket) MFC after: 1 week END K 10 svn:author V 5 ariff K 8 svn:date V 27 2009-07-02T10:02:10.260140Z K 7 svn:log V 386 Slightly increase amount of bandwidth of resampling filter for feeder_rate_quality=3. This have the benefit of reducing aliasing artifacts due to alias masking. Spectrogram analysis: o Old preset (100:36:0.90) http://people.freebsd.org/~ariff/z_comparison/z_q3_old.png o New preset (100:36:0.92): http://people.freebsd.org/~ariff/z_comparison/z_q3_new.png Approved by: re (kib) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-02T12:41:21.350184Z K 7 svn:log V 81 Finish proactive root mode implementation. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-07-02T14:19:33.662474Z K 7 svn:log V 101 Call prison_check from vfs_suser rather than re-implementing it. Approved by: re (kib), bz (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-02T14:54:48.630358Z K 7 svn:log V 93 * use callout_drain instead of callout_stop * constify Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-02T14:56:05.032330Z K 7 svn:log V 47 Constify Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-02T14:57:40.389475Z K 7 svn:log V 45 Style. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-02T15:49:28.164060Z K 7 svn:log V 55 fix assert (age can be zero for 2nd and later packets) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-02T15:59:32.939735Z K 7 svn:log V 13 add comments END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-02T16:33:38.983924Z K 7 svn:log V 110 Create audit records for AUE_POSIX_OPENPT, currently w/o arguments. Approved by: re (audit argument blanket) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-02T16:41:09.600687Z K 7 svn:log V 40 o fix age on removal o correct comments END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-02T16:41:46.424238Z K 7 svn:log V 112 we cannot depend on the node address being stable between q and remove; use the hash of the mac address instead END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-07-02T18:02:55.354930Z K 7 svn:log V 354 In vn_vget_ino() and their inline equivalents, mnt_ref() the mount point around the sequence that drop vnode lock and then busies the mount point. Not having vlocked node or direct reference to the mp allows for the forced unmount to proceed, making mp unmounted or reused. Tested by: pho Reviewed by: jeff Approved by: re (kensmith) MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-07-02T18:24:37.740949Z K 7 svn:log V 279 Enable POSIX semaphores on all non-embedded architectures by default. More applications (including Firefox) seem to depend on this nowadays, so not having this enabled by default is a bad idea. Proposed by: miwi Patch by: Florian Smeets Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-07-02T20:05:21.559785Z K 7 svn:log V 224 Fix fpathconf(3) on fifos, in effect making ls(1) properly display '+' on them. Taken from kern/125613, with cosmetic changes. PR: kern/125613 Submitted by: Jaakko Heinonen Approved by: re (kib) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-02T20:52:23.233522Z K 7 svn:log V 125 - check for page held when freeing a page terminating an object - assert that page's object is the same as the locked object END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-02T22:34:42.854922Z K 7 svn:log V 1222 Overhaul send/recv action frame handling: o handlers are now registered; ieee80211_send_action_register for a send handler and ieee80211_recv_action_register for a recv handler o ieee80211_send_action and ieee80211_recv_action call any registered handler; otherwise return EINVAL o ic_send_action and ic_recv_action point to ieee80211_send_action and ieee80211_recv_action, respectively; drivers can still hook them to control operation o convert IEEE80211_ACTION_CAT_BA, IEEE80211_ACTION_CAT_HT, IEEE80211_ACTION_CAT_MESHPATH, IEEE80211_ACTION_CAT_MESHPEERING, and IEEE80211_ACTION_CAT_MESHLMETRIC handlers o change ic_recv_action api to return an error code o change ic_send_action api to pass a void * instead of the ieee80211_send_action_args union ref o expose getcapinfo as ieee80211_getcapinfo for mesh use o expose ieee80211_add_rates and ieee80211_add_xrates o fix various issues in mesh code related to parsing and constructing action frames (e.g. forcibly casting away const and then modifying the frame contents) o fixup mwl after api changes This compiles but has almost certainly broken mesh code. ADDBA support tested with mwl. Discussed with: rpaulo (who promises to cleanup after me) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-02T22:52:10.959303Z K 7 svn:log V 317 MFC 195148 - Turn the third (islocked) argument of the knote call into flags parameter. Introduce the new flag KNF_NOKQLOCK to allow event callers to be called without KQ_LOCK mtx held. - Modify VFS knote calls to always use KNF_NOKQLOCK flag. This is required for ZFS as its getattr implementation may sleep. END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-07-02T23:33:34.986393Z K 7 svn:log V 182 Add an extra debug level (w) to make it easier to determine what thing in the meta data caused a target to be out of date. Previously this was part of 'm', but that is very verbose. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-03T02:51:14.148769Z K 7 svn:log V 107 acquire page lock *before* calling pmap_remove_pte for managed pages to avoid race when dropping pmap lock END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-03T03:10:58.659331Z K 7 svn:log V 34 remove c&p copyright; not my work END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-07-03T04:39:18.398337Z K 7 svn:log V 6 - MFC END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T11:18:08.233537Z K 7 svn:log V 66 Finish RANN implementation. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-07-03T11:20:49.632880Z K 7 svn:log V 19 WIP for man pages. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-07-03T11:37:58.710992Z K 7 svn:log V 32 Merge r194850:195305 from head. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T14:37:10.608978Z K 7 svn:log V 95 Fix some problems with the recent action frame overhaul. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T14:43:29.366507Z K 7 svn:log V 60 Add HWMP case labels. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T14:43:48.883468Z K 7 svn:log V 45 Style. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T15:10:05.451149Z K 7 svn:log V 86 * prefer LE_WRITE_4 * accept mcast packets too. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T15:12:07.447450Z K 7 svn:log V 64 Add little endian macros. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T15:13:27.848445Z K 7 svn:log V 19 Remove whitespace. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T15:21:57.582271Z K 7 svn:log V 125 Revert previous revision that added +2 to every frm pointer. Do this once on action.c. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T15:33:15.862762Z K 7 svn:log V 66 Clear the meaning of '+ 2'. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T15:46:19.199518Z K 7 svn:log V 67 Parse HWMP frames correctly. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T16:01:40.271387Z K 7 svn:log V 145 Go back at the state where '+2' isn't added. It allows one handler to cope with multiple actions or codes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-03T16:33:42.349482Z K 7 svn:log V 206 Add a pointer to the 802.11 header to the recv action handler api; this is needed by mesh handlers and it may be difficult to locate it based on the start of the action frame contents. Reviewed by: rpaulo END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-07-03T17:54:33.813499Z K 7 svn:log V 404 This fixes bsdcpio's -R option to accept numeric user or group Ids as well as user or group names. In particular, this fixes freesbie2, which uses -R 0:0 to copy a bunch of files so that the result will be owned by root. Also fixes a related bug that mixed-up the uid and gid specified by -R when in passthrough mode. Thanks to Dominique Goncalves for reporting this regression. Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-03T17:58:45.312796Z K 7 svn:log V 55 revert node hash until we find a cheaper hash function END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-03T18:31:14.423825Z K 7 svn:log V 270 Move mesh internal work out of the node area: o add ieee80211_mesh_node_init to setup mesh state in a node o add ieee80211_mesh_node_cleanup to cleanup mesh state in a node o add ieee80211_mesh_init_neighbor to init mesh state on neighbor discovery Reviewed by: rpaulo END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T18:33:08.085533Z K 7 svn:log V 85 Specify the rootmode by string, not by number. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-03T19:05:31.715528Z K 7 svn:log V 41 fix breakage from action handler changes END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-03T19:08:39.682580Z K 7 svn:log V 18 mbss does CSA too END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T21:09:55.965937Z K 7 svn:log V 18 MFC 194837:195323 END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T21:12:37.881829Z K 7 svn:log V 878 acpi_hp.c: - sysctl dev.acpi_hp.0.verbose to toggle debug output - A modification so this can deal with different array lengths when reading the CMI BIOS - now it works ok on HP Compaq nx7300 as well. - Change behaviour to query only max_instance-1 CMI BIOS instances, because all HPs seen so far are broken in that respect (or there is a fundamental misunderstanding on my side, possible as well). This way a disturbing ACPI Error Field exceeds Buffer message is avoided. - New bit to set on dev.acpi_hp.0.cmi_detail (0x8) to also query the highest guid instance of CMI bios acpi_hp.4: - Document dev.acpi_hp.0.verbose sysctl in man page - Document new bit for dev.acpi_hp.0.cmi_detail - Add a section to manpage about hardware that has been reported to work ok Submitted by: Michael Gmelin Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T21:43:49.543292Z K 7 svn:log V 49 Treat mesh the same as hostap. Submited by: sam END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T21:45:56.428136Z K 7 svn:log V 99 hwmp_newstate(): use !init -> init state instead and don't use callout_active(). Submited by: sam END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-03T21:51:44.541629Z K 7 svn:log V 134 * reuse ibss code to create a mbss * first steps at implementing mesh scanning * fill in more state stuff: CAC, CSA Submited by: sam END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-07-03T22:17:37.059871Z K 7 svn:log V 299 When forking a vm space that has wired map entries, do not forget to charge the objects created by vm_fault_copy_entry. The object charge was set, but reserve not incremented. Reported by: Greg Rivers Reviewed by: alc (previous version) Approved by: re (kensmith) END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-07-04T01:44:24.487936Z K 7 svn:log V 338 Make meta data parsing a bit more robust in the face of truncated meta data files. Add .ERROR processing for jbuild. This is used in JNPR to email the build support group details of target build errors. We can see from that which users are having problems building. We use the .BEGIN, .END and .INTERRUPT targets to log what they build. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-04T02:49:17.052385Z K 7 svn:log V 100 Merge in new cfe environment passing of kenv for swarm/sibyte boards. Submitted by: Neelkanth Natu END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-04T02:50:33.748535Z K 7 svn:log V 91 Fix various conolse issues with cfe after MPSAFE tty. Fix a bug with getting env on cfe... END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-04T03:05:48.330138Z K 7 svn:log V 57 Add sibyte device support. Submitted by: Neelkanth Natu END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-04T03:22:34.371510Z K 7 svn:log V 200 Move from using the lame invalid address I chose when trying to get Octeon going... Turns out that you get tlb shutdowns with this... Use PGSHIFT instead of PAGE_SHIFT. Submitted by: Neelkanth Natu END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-07-04T05:07:52.565243Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-07-04T06:00:57.466740Z K 7 svn:log V 193 MFC rev.195335: Fix infinite loop in ng_iface, that happens when packet passes out via two different ng interfaces sequentially due to tunnelling. PR: kern/134557 Submitted by: Mikolaj Golub END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-07-04T09:17:58.453546Z K 7 svn:log V 247 Disable LLVM's threading support. The threading is only useful when JITing stuff, which we don't. Because threading is also an experimental feature, it may break on various architectures (including i386). Submitted by: Alexander Best, Howard Su END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-04T10:15:01.347936Z K 7 svn:log V 78 Call hwmp_peerdown() on node_cleanup(). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-07-04T11:11:21.316927Z K 7 svn:log V 334 Add a new options (-s) that, when specified, skips the question about adjusting the clock to UTC. That avoids to write on /etc/wall_cmos_clock which is useful in some cases (example: host user in a jail). Sponsored by: Sandvine Incorporated Initially submitted by: Matt Koivisto Approved by: re (kib) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-07-04T13:58:26.031917Z K 7 svn:log V 19 Import LLVM 74788. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-07-04T13:58:54.594795Z K 7 svn:log V 21 Import Clang r74788. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-07-04T13:59:22.013430Z K 7 svn:log V 17 Tag LLVM r74788. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-07-04T13:59:43.038183Z K 7 svn:log V 18 Tag Clang r74788. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-04T16:21:44.384924Z K 7 svn:log V 66 add missing break that caused SCAN state to turn on the CAC timer END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-05T01:36:24.529401Z K 7 svn:log V 66 set m to NULL so that we don't try to unlock if m doesn't get set END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-07-05T06:14:59.622995Z K 7 svn:log V 97 Disable r194497 for now. It doesn't work well with ports-mgmt/tinderbox. Approved by: re (ken) END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-07-05T06:24:06.169169Z K 7 svn:log V 138 MFC: Don't set $PATH - if the caller doesn't have /bin and /usr/bin in their PATH then they can expect things to break. PR: 135417 END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-07-05T06:28:23.752322Z K 7 svn:log V 31 MFC: Remove HOME= PR: 132135 END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-07-05T06:32:10.479892Z K 7 svn:log V 41 MFC: Add -m and -t options. PR: 129554 END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T06:39:37.071209Z K 7 svn:log V 328 Switch to ABI agnostic ta0-ta3. Provide defs for this in the right places. Provide n32/n64 register name defintions. This should have no effect for the O32 builds that everybody else uses, but should help make N64 builds possible (lots of other changes are needed for that). Obtained from: NetBSD (for the regdef.h changes) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T06:43:01.236819Z K 7 svn:log V 60 Define COP0_SYNC for SB1 CPU. Submitted by: Neelkanth Natu END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T06:44:37.424636Z K 7 svn:log V 133 db_expr_t should be a intptr_t, not an int. These expressions can be addresses or numbers, and that's a intptr_t if I ever saw one. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T06:46:54.578181Z K 7 svn:log V 100 Publish PAGE_SHIFT to assembler # we should likely phase out PGSHIFT Submitted by: Neelkanth Natu END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T06:49:56.180431Z K 7 svn:log V 57 Go for broke: configure this to build mips64 N64 binary. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T06:56:51.746664Z K 7 svn:log V 187 (1) Use uintptr_t in preference to unsigned. The latter isn't right for 64-bit case, while the former is. (2) include a SB1 specific coherency mapping Submitted by: Neelkanth Nath (2) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T07:00:51.368328Z K 7 svn:log V 345 Define __ELF_WORD_SIZE appropriately for n64. Note for N32 I believe this is correct. While registers are 64-bit, n32 is a 32-bit ABI and lives in a 32-bit world (with explicit 64-bit registers, however). Change an 8, which was 4 + 4 or sizeof(int) + SZREG to be a simple '4 + SZREG' to reflect the actual offset of the structure in question. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T07:01:34.059054Z K 7 svn:log V 64 Use uintptr_t rather than unsigned here for 64-bit correctness. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T08:13:19.937077Z K 7 svn:log V 184 Pull in machine/cdefs.h for the ABI definitions. Provide a PTR_LA, ala sgi, and use it in preference to a bare 'la' so that it gets translated to a 'dla' for the 64-bit pointer ABIs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T08:14:00.202829Z K 7 svn:log V 71 Bring in cdefs.h from NetBSD to define ABI goo. Obtained from: NetBSD END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T08:40:26.980487Z K 7 svn:log V 114 Add config file for SWARM board, a sybyte SB-1-based board by Broadcom. BCM-91250. Submitted by: Neelkanth Natu END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-07-05T13:17:18.463785Z K 7 svn:log V 159 MFC ipcs(1) part of r189283 by kib This fixes display of shared memory segment sizes greater than 2 GB in ipcs -b. PR: kern/136226 Approved by: ed (mentor) END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2009-07-05T14:03:41.110595Z K 7 svn:log V 109 Add missing reference to GPT support. Submitted by: Paul B. Mahol onemda at gmail.com Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-07-05T14:50:45.494314Z K 7 svn:log V 77 Mark atanvidia depending on ataahci since rev.188846. Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T15:10:07.796705Z K 7 svn:log V 225 use %p in preference to 0x%08x for printing register_t values. Cast them to void * first. This neatly solves the "how do I print a register_t" problem because sizeof(void *) is always the same as sizeof(register_t), afaik. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T15:13:24.696878Z K 7 svn:log V 441 First cut at atomics for 64-bit machines and SMP machines. # Note: Cavium provided a port that has atomics similar to these, but # that does a syncw; sync; atomic; sync; syncw where we just do the classic # mips 'atomic' operation (eg ll; frob; sc). It is unclear to me why # the extra is needed. Since my initial target is one core, I'll defer # investigation until I bring up multiple cores. syncw is an octeon specific # instruction. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T15:16:27.866233Z K 7 svn:log V 81 Trim unreferenced goo. SDRAM likely should be next, but it is still referenced. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T15:17:11.375680Z K 7 svn:log V 77 First cut at 64-bit types. not 100% sure these are all correct for N32 ABI. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T15:18:06.167796Z K 7 svn:log V 68 compute the areas to save registers in for 64-bit access correctly. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T15:19:28.499608Z K 7 svn:log V 92 The SB1 needs a special value for the cache field of the pte. Submitted by: Neelkanth Natu END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T15:20:16.275080Z K 7 svn:log V 105 The SB1 has cohernet memory, so add it. Also, Maxmem is better as a long. Submitted by: Neelkanth Natu END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T15:21:35.068042Z K 7 svn:log V 196 Now that we define atomic_{load,store}_64 inline in atomic.h, we don't need to define them here for the !N64 case. We now define atomic_readandclear_64 in atomic.h, so no need to repeat it here. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T15:22:22.572298Z K 7 svn:log V 80 use "PTR_LA" in preference to a bare la so it translates to dla on 64-bit ABIs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T15:23:54.193019Z K 7 svn:log V 170 (1) Use PTR_LA rather than bare la for N64 goodness (it is dla there) (2) SB1 needs COHERENT policy, not cached for the config register Submitted by: (2) Neelkanth Natu END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-07-05T15:25:02.509270Z K 7 svn:log V 141 When the kernel is configured without "options FFS", build UFS as a module without requiring any special build flags. Approved by: re (kib) END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-07-05T16:55:57.066556Z K 7 svn:log V 145 Add a missing phrase. Submitted by: Jason McIntyre jmc at kerhand dot co dot uk Approved by: re (kib) Obtained from: OpenBSD MFC after: 3 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-05T17:45:48.420029Z K 7 svn:log V 335 Cleanup ALIGNED_POINTER: o add to platforms where it was missing (arm, i386, powerpc, sparc64, sun4v) o define as "1" on amd64 and i386 where there is no restriction o make the type returned consistent with ALIGN o remove _ALIGNED_POINTER o make associated comments consistent Reviewed by: bde, imp, marcel Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-05T17:59:19.238713Z K 7 svn:log V 527 Revamp 802.11 action frame handling: o add a new facility for components to register send+recv handlers o ieee80211_send_action and ieee80211_recv_action now use the registered handlers to dispatch operations o rev ieee80211_send_action api to enable passing arbitrary data o rev ieee80211_recv_action api to pass the 802.11 frame header as it may be difficult to locate o update existing IEEE80211_ACTION_CAT_BA and IEEE80211_ACTION_CAT_HT handling o update mwl for api rev Reviewed by: rpaulo Approved by: re (kensmith) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2009-07-05T18:15:06.005622Z K 7 svn:log V 985 - Increase dynamic range of filter coefficients from 28bit to 30bit. This cause dramatic effect in overall precision and conversion quality by pushing down most aliasing artifacts around -180 dB. Spectrogram analysis/comparison: http://people.freebsd.org/~ariff/z_comparison/z_28vs30/ - Guard against possible 64bit overflow during accumulation process by slightly normalize and saturate sample and coefficient multiplication, possible during extreme 32bit downsampling (eg. 380KHz -> 8KHz) with custom preset that require more than ~7000 taps filter (which is overkill). - Add knobs through FEEDER_RATE_PRESETS to set dynamic range of filter coefficients/accumulator and prefered polynomial interpolator: COEFFICIENT_BIT:X (where 1 <= X <= 30, default: 30) ACCUMULATOR_BIT:X (where 32 <= X <=64, default: 58) INTERPOLATOR:I (where I = ZOH, LINEAR, QUADRATIC, HERMITE, BSPLINE, OPT32X, OPT16X, OPT8X, OPT4X, OPT2X) Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-05T18:17:37.624652Z K 7 svn:log V 813 Add ieee80211_ageq; a facility for staging packets that require long-term work before they can be serviced. Packets are tagged and assigned an age (in seconds) at the point they are added to the queue. If a packet is not retrieved before it's age expires it is reclaimed. Tagging can take two forms: a reference to an ieee80211_node (as happens in the tx path) or an opaque token in cases where there is no reference or the node structure is not stable (i.e. it's going to be destroyed). o add ic_stageq to replace the per-node wds staging queue used for dynamic wds o add ieee80211_mac_hash for building ageq tokens; this computes a 32-bit hash from an 802.11 mac address (copied from the bridge) o while here fix a stray ';' noticed in IEEE80211_PSQ_INIT Reviewed by: rpaulo Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-07-05T20:20:09.433011Z K 7 svn:log V 168 - Don't suggest opening file for writing in preparation for fexecve(2). - execve(2)/fexecve(2) won't return ETXTBSY if file is open for reading. Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-05T20:44:50.201900Z K 7 svn:log V 55 add missing bit of r195379 Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-05T21:16:26.488146Z K 7 svn:log V 112 addu and subu are special. We need to use daddu and dsubu here to get proper behavior. Submitted by: jmallet@ END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-05T21:19:10.838300Z K 7 svn:log V 112 catchup with action+ageq additions Submitted by: "Paul B. Mahol" Approved by: re (implicit) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-05T21:35:05.397418Z K 7 svn:log V 300 o clear vap pointers to private state to catch use-after-free instances o fix use-after-free problem on mesh detach; the last reference to the bss node is reclaimed after mesh (and hwmp) state has been reclaimed so must not touch anything outside the node (or that we know is still accessible) END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-07-05T21:40:21.803503Z K 7 svn:log V 1157 PAE adds another level to the i386 page table. This level is a small 4-entry table that must be located within the first 4GB of RAM. This requirement is met by defining an UMA zone with a custom back-end allocator function. This revision makes two changes to this back-end allocator function: (1) It replaces the use of contigmalloc() with the use of kmem_alloc_contig(). This eliminates "double accounting", i.e., accounting by both the UMA zone and malloc tags. (I made the same change for the same reason to the zones supporting jumbo frames a week ago.) (2) It passes through the "wait" parameter, i.e., M_WAITOK, M_ZERO, etc. to kmem_alloc_contig() rather than ignoring it. pmap_init() calls uma_zalloc() with both M_WAITOK and M_ZERO. At the moment, this is harmless only because the default behavior of contigmalloc()/kmem_alloc_contig() is to wait and because pmap_init() doesn't really depend on the memory being zeroed. The back-end allocator function in the Xen pmap is dead code. I am changing it nonetheless because I don't want to leave any "bad examples" in the source tree for someone to copy at a later date. Approved by: re (kib) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-05T21:47:39.927844Z K 7 svn:log V 62 Fix RANN IE processing. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-07-06T01:04:45.569388Z K 7 svn:log V 291 MFC r195153: Disable Rx checksum offload until I find more clue why it breaks under certain environments. However give users chance to override it when he/she surely knows his/her hardware works with Rx checksum offload. Reported by: Ulrich Spoerlein ( uqs <> spoerlein dot net ) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-07-06T01:32:29.801239Z K 7 svn:log V 202 MFC r194493 and r194548 When checking if we can write to a file, use access() instead of a manual permission check based on stat output. Also, get rid of the executability check since it is not used. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-07-06T02:02:45.274892Z K 7 svn:log V 492 This addresses some issues with my earlier -R fix that were pointed out by Brooks Davis and Alexey Dokuchaev: * It now tries to lookup arguments as names first, then tries to parse them as numbers. In particular, this makes the behavior consistent with POSIX conventions when usernames consist entirely of digits. * It now uses strtoul() for the numeric parsing. Finally, I've included an update to the test harness to exercise the new numeric cases for -R. Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T02:22:06.154670Z K 7 svn:log V 68 Change the addu here to daddu. addu paranoina prodded by: jmallet@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T02:22:51.265951Z K 7 svn:log V 123 Provide a macro for PTR_ADDU as well. We may need to implement this differently for N32... Use PTR_ADDU in DO_AST macro. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T02:27:03.155668Z K 7 svn:log V 81 The MCOUNT macro isn't going to work in 64-bit mode. Add a note to this effect. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T07:42:54.302824Z K 7 svn:log V 149 (1) Improvements for SB1. only allow real memory to be accessed. (2) make compile n64 by using more-proper casts. Submitted by: Neelkanth Natu (1) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T07:43:50.156042Z K 7 svn:log V 105 Use better casts for passing the small integer as a pointer here. Basically, replace int with uintptr_t. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T07:45:02.547946Z K 7 svn:log V 134 Use ta0 instead of t4 and ta1 instead of t5. These map to the same registers on O32 builds, but t4 and t5 don't exist on N32 or N64. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T07:46:13.014811Z K 7 svn:log V 92 Pass in the uint64 value, rather than a pointer to it. that's what the function expects... END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T07:47:39.323914Z K 7 svn:log V 30 No need to force mips32 here. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T07:48:31.462953Z K 7 svn:log V 112 Better types for 64-bit compatibility. Use %p and cast to void * and prefer uintptr_t to other int-type casts. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T07:49:24.730150Z K 7 svn:log V 35 Prefer uintptr_t to int cast here. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T08:00:26.357744Z K 7 svn:log V 212 Be more pedantic here. If we're going to shift something sizeof(long)*8 / 2 bits, then we better make sure we're shifting a long that much, not an int. # I'm surprised this is code would have a bug this basic. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-07-06T08:16:25.212712Z K 7 svn:log V 78 Only build qdivrem on 32-bit ISA... # not sure this is the right selector... END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-07-06T09:07:35.873362Z K 7 svn:log V 77 bugfix: Clear the out endpoint on a stall on the written endpoint, not *in*. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-07-06T09:31:04.184591Z K 7 svn:log V 460 In the current code, rdlock_count is not correctly handled for some cases. The most notable is that it is not bumped in rwlock_rdlock_common() when the hard path (__thr_rwlock_rdlock()) returns successfully. This can lead to deadlocks in libthr when rwlocks recursion in read mode happens. Fix the interested parts by correctly handling rdlock_count. PR: threads/136345 Reported by: rink Tested by: rink Reviewed by: jeff Approved by: re (kib) MFC: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-06T10:40:46.436669Z K 7 svn:log V 180 Overhaul the routing structures used and move them to common mesh code so that they can be used by future routing protocols. XXX not finished Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 flz K 8 svn:date V 27 2009-07-06T11:46:18.950896Z K 7 svn:log V 306 - pkg_install is maintained by portmgr. - BSD.x11{,-4}.dist aren't used anymore and BSD.local.dist now lives in ports/Templates/. Most people apparently missed that move and still commit to the src copy, so I'll have to remove it eventually but for now, the MAINTAINERS line can go. Approved by: re (kib) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-06T12:19:59.850721Z K 7 svn:log V 67 Modularize path metric code. Sponsored by: The FreeBSD Foundation END