Го9245393 186 293 293 129 317 250 362 458 244 168 168 190 342 236 488 1382 611 247 400 589 217 257 641 505 432 191 339 174 267 208 209 125 241 144 379 171 357 366 709 331 375 291 457 188 297 203 168 435 520 493 138 521 503 171 249 262 577 336 272 378 378 163 193 162 201 189 176 884 222 417 419 182 816 2727 165 189 190 732 200 373 106 160 284 185 363 178 179 284 261 200 176 223 176 206 243 167 131 363 251 249 182 160 226 417 253 160 255 171 243 264 153 203 198 171 258 165 284 251 223 204 253 238 197 149 446 224 167 265 354 128 215 190 243 440 245 351 169 152 217 256 187 172 158 264 138 185 158 341 196 110 107 198 144 262 268 183 172 295 185 212 109 200 503 307 1149 200 142 200 123 375 177 154 217 336 222 270 125 107 141 522 117 325 240 523 117 421 114 K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-01-13T22:36:12.399956Z K 7 svn:log V 199 MFC: r243883 if PACKAGESITE url scheme is not 'file://', always try to revolv SRV records and use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead of pkgbeta.FreeBSD.org END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-01-13T22:37:45.966851Z K 7 svn:log V 199 MFC: r243883 if PACKAGESITE url scheme is not 'file://', always try to revolv SRV records and use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead of pkgbeta.FreeBSD.org END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-13T22:41:44.065260Z K 7 svn:log V 34 Remove pty(4). It's not standard. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-13T22:41:58.102823Z K 7 svn:log V 221 If we're doing a kickpcu, make sure we flush the whole RX list rather than stopping after 128 frames. Whilst here, add in some code that lets me optionally flip back to the original behaviour of calling ath_startrecv(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-13T22:46:06.903782Z K 7 svn:log V 154 Add ioc(4) and remove the uart(4) console hint. This should allow the daily snapshot to produce an installable and bootable kernel for the SGI Altix 350. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-13T23:00:40.689597Z K 7 svn:log V 269 - Add checks for Intel metadata version and attributes. Ignore disks with unsupported metadata types like Intel Smart Response to not corrupt them. - Improve setting of these things during metadata writing to protect from incapable BIOS'es and other implementations. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-13T23:36:21.440841Z K 7 svn:log V 362 Marking the PMBR as active may be needed for some BIOSes to boot from the disk, but also has some EFI implementations reject the GPT altogether. Make the behaviour controllable by a sysctll and have it default to 1 on i386 and amd64 and 0 otherwise. This means that we mark the PMBR as active on i386 and amd64 by default, but remain compliant most of the time. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-14T00:38:51.656555Z K 7 svn:log V 151 Windows driver writes relative volume IDs to metadata field. Use that value as a hint for raid/rX device number to make it persistent across reboots. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-01-14T01:09:23.315920Z K 7 svn:log V 73 Add missing dialog(1) arguments to internationalize "Help"-button label. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-01-14T01:15:25.638660Z K 7 svn:log V 73 Add new f_yesno/f_noyes wrapper functions (which take printf(1) syntax). END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-14T04:30:21.238151Z K 7 svn:log V 95 ASSET we do not over or under run the shared allocation region Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-14T04:31:54.476492Z K 7 svn:log V 246 Remove special handling of SIOCSIFADDR Init is not especially expensive on vmxnet, so don't bother trying to avoid it when setting an inet address. opt_inet.h wasn't being included so this was dead code anyways. Approved by: grehan (implicit) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-14T05:40:21.953882Z K 7 svn:log V 143 Rename vfs_hash_index() to vfs_hash_bucket(). Reviewed by: peter Tested by: peter, pho Sponsored by: The FreeBSD Foundation MFC after: 5 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-14T05:41:40.940126Z K 7 svn:log V 395 Add exported vfs_hash_index() function, which calculates the canonical pre-masked hash for the given vnode. The function assumes that vp->v_hash is initialized by the filesystem vnode instantiation function. At the moment, it is only done if filesystem uses vfs_hash_insert(). Reviewed by: peter Tested by: peter, pho (previous version) Sponsored by: The FreeBSD Foundation MFC after: 5 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-14T05:42:54.042509Z K 7 svn:log V 1288 diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 7c243b6..0bdaf36 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -279,6 +279,7 @@ SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhere, CTLFLAG_RW, #define VSHOULDFREE(vp) (!((vp)->v_iflag & VI_FREE) && !(vp)->v_holdcnt) #define VSHOULDBUSY(vp) (((vp)->v_iflag & VI_FREE) && (vp)->v_holdcnt) +static int vnsz2log; /* * Initialize the vnode management data structures. @@ -293,6 +294,7 @@ SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhere, CTLFLAG_RW, static void vntblinit(void *dummy __unused) { + u_int i; int physvnodes, virtvnodes; /* @@ -332,6 +334,9 @@ vntblinit(void *dummy __unused) syncer_maxdelay = syncer_mask + 1; mtx_init(&sync_mtx, "Syncer mtx", NULL, MTX_DEF); cv_init(&sync_wakeup, "syncer"); + for (i = 1; i <= sizeof(struct vnode); i <<= 1) + vnsz2log++; + vnsz2log--; } SYSINIT(vfs, SI_SUB_VFS, SI_ORDER_FIRST, vntblinit, NULL); @@ -1067,6 +1072,14 @@ alloc: } rangelock_init(&vp->v_rl); + /* + * For the filesystems which do not use vfs_hash_insert(), + * still initialize v_hash to have vfs_hash_index() useful. + * E.g., nullfs uses vfs_hash_index() on the lower vnode for + * its own hashing. + */ + vp->v_hash = (uintptr_t)vp >> vnsz2log; + *vpp = vp; return (0); } END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-14T05:44:47.564299Z K 7 svn:log V 518 The current default size of the nullfs hash table used to lookup the existing nullfs vnode by the lower vnode is only 16 slots. Since the default mode for the nullfs is to cache the vnodes, hash has extremely huge chains. Size the nullfs hashtbl based on the current value of desiredvnodes. Use vfs_hash_index() to calculate the hash bucket for a given vnode. Pointy hat to: kib Diagnosed and reviewed by: peter Tested by: peter, pho (previous version) Sponsored by: The FreeBSD Foundation MFC after: 5 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-14T05:45:33.469226Z K 7 svn:log V 154 For zfs vnodes, use the standard inode number based hash algorithm. Reviewed and tested by: peter Sponsored by: The FreeBSD Foundation MFC after: 5 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-14T05:46:49.225735Z K 7 svn:log V 307 Rearrange the struct bufobj and struct vnode layouts to reduce padding. On the amd64 kernel with INVARIANTS turned off, size of the struct vnode is reduced from 496 to 472 bytes, saving 24 bytes of memory and KVA per vnode. Noted and reviewed by: peter Tested by: pho Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-14T05:52:23.647670Z K 7 svn:log V 496 Add a trivial comment to record the proper commit log for r245407: Set the v_hash for a new vnode in the getnewvnode() to the value calculated based on the vnode structure address. Filesystems using vfs_hash_insert() override the v_hash using the standard formula of (inode_number + mnt_hashseed). For other filesystems, the initialization allows the vfs_hash_index() to provide useful hash too. Suggested, reviewed and tested by: peter Sponsored by: The FreeBSD Foundation MFC after: 5 days END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-01-14T07:17:38.931363Z K 7 svn:log V 123 Directly uses calloc(3) instread of malloc(3) + memset(3) Reported by: Jeremy Chadwick MFC after: 3 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-01-14T08:39:48.282335Z K 7 svn:log V 161 Switch the default CPU to an arm9. This removes compiler support for the unsupported 26-bit addressing mode. This change is required for moving to the ARM EABI. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-01-14T09:11:18.233095Z K 7 svn:log V 545 Update sigcode to use both the current ABI and FreeBSD's version of the ARM EABI syscall calling convention. The current ABI encodes the syscall number in the instruction. This causes issues with the thumb mode as it only has 8 bits to encode this value and we have too many system calls and by using a register will simplify the code to get the syscall number in the kernel. With the ARM EABI we reuse the Linux calling convention by storing the value in r7. Because of this we use both methods to encode the syscall number in this function. END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-14T10:58:20.191903Z K 7 svn:log V 411 MFC r244383: - Set memorylocked limit to 64Kb for default login class. This prevents unprivileged users to lock too much memory. - Set memorylocked limit to 64Mb for daemon login class. Some daemons such as amd(8) and watchdogd(8) calls mlockall(2) on startup, they are run from init(8) which uses daemon login class. - Set memorylocked limit to unlimited for root login class. Approved by: kib (mentor) END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-14T10:58:55.290712Z K 7 svn:log V 338 MFC r244384: - Fix locked memory accounting for maps with MAP_WIREFUTURE flag. - Add sysctl vm.old_mlock which may turn such accounting off. MFC r244385: - Add sysctl to allow unprivileged users to call mlock(2)-family system calls and turn it off for compatibility. - Do not allow to call them inside jail. Approved by: kib (mentor) END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-14T11:00:06.421571Z K 7 svn:log V 98 MFC r244679: - Update manual pages accordingly to r244384 and r244385. Approved by: kib (mentor) END K 10 svn:author V 3 jlh K 8 svn:date V 27 2013-01-14T11:03:13.474504Z K 7 svn:log V 246 Allow commands without any additional arguments, as stated in the manpage. While here, exit early when there is nothing to do. PR: 168415 Submitted by: Zhihao Yuan (initial version) MFC after: 1 week Approved by: kib (mentor) END K 10 svn:author V 3 jlh K 8 svn:date V 27 2013-01-14T11:06:50.445404Z K 7 svn:log V 82 Remove stray tabs. Submitted by: kib Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-14T11:13:31.794134Z K 7 svn:log V 173 - Fix r245416. Turn unprivileged mlock off for compatibility. Exactly this behaviour was approved by kib (mentor). This is a direct commit. Approved by: kib (mentor) END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-14T12:12:56.238980Z K 7 svn:log V 114 - Get rid of unused function vmspace_wired_count(). Reviewed by: alc Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-01-14T12:20:55.532831Z K 7 svn:log V 113 sh: Pass $? to command substitution containing compound/multiple commands. Example: false; echo $(echo $?; :) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-14T13:06:35.098155Z K 7 svn:log V 33 Print some more metadata fields. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-14T15:05:22.668491Z K 7 svn:log V 145 Quiesce some clang warnings while we're here doing stuff. Submitted by: Hiren Panchasara Obtained from: Yahoo! Inc END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-14T16:38:43.443329Z K 7 svn:log V 52 Small cosmetic tuning of the IRRT status constants. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-01-14T16:40:50.576385Z K 7 svn:log V 283 sh: Simplify cd-hash interaction. Instead of rechecking relative paths for all hashed utilities after a cd, track if any utility in cmdtable depends on a relative path in PATH. If there is such a utility, cd clears the entire table. As a result, the '*' in hash no longer happens. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-14T17:41:04.879427Z K 7 svn:log V 74 Add new u3g device quirk. Submitted by: Lowell Gilbert MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-01-14T18:01:19.637987Z K 7 svn:log V 264 Add CLOCK_PROCESS_CPUTIME_ID to , to synchronize the CLOCK_* values with those in . Otherwise, if a program includes before , the CLOCK_PROCESS_CPUTIME_ID macro never gets defined. Reviewed by: davidxu X-MFC-With: 239347 END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-01-14T19:31:44.720481Z K 7 svn:log V 273 Partial MFC of r234508 (by adrian): "Upgrade" the AR9285 code to support PCI/ART EEPROM on flash. I've just verified that this boots on an Atheros AP91. I haven't verified it with traffic though, so YMMV. (This is a prerequisite for the coming clang 3.2 upgrade.) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-01-14T19:47:38.774962Z K 7 svn:log V 613 Do not autotune ncallout to be greater than 18508. When maxusers was unrestricted and maxfiles was allowed to autotune much higher the result was that ncallout which was based on maxfiles and maxproc grew much higher than was needed. To fix this clip autotuning to the same number we would get with the old maxusers algorithm which would stop scaling at 384 maxusers. Growing ncalout higher is not likely to be needed since most consumers of timeout(9) are gone and any higher value for ncallout causes the callwheel hashes to be much larger than will even be needed for most applications. MFC after: 1 month END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-01-14T19:51:26.721020Z K 7 svn:log V 238 MFC r244628: Upgrade our copy of llvm/clang to 3.2 release. Release notes for llvm: http://llvm.org/releases/3.2/docs/ReleaseNotes.html Release notes for clang: http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-01-14T20:26:50.064259Z K 7 svn:log V 282 Use a direct commit to fix a minor mistake in r245431, before it spreads too far: use the correct FreeBSD version in clang's target triple. That is, $ARCH-unknown-freebsd9.1 instead of $ARCH-unknown-freebsd9.2. This will be bumped again for the 9.2 release, when it branches off. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-14T20:31:45.928995Z K 7 svn:log V 198 Keep value of orig_config_id metadata field. Windows driver writes there previous value of config_id when it is changed in some cases. I guess it may be used do avoid some split-brain conditions. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-14T20:36:22.622276Z K 7 svn:log V 365 cxgbe(4): Updates to the hardware L2 table management code. - Add full support for IPv6 addresses. - Read the size of the L2 table during attach. Do not assume that PCIe physical function 4 of the card has all of the table to itself. - Use FNV instead of Jenkins to hash L3 addresses and drop the private copy of jhash.h from the driver. MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-14T20:38:32.818067Z K 7 svn:log V 93 Remember the . in .\" in the WITH_NMTREE file and regenerate the output. Reported by: joeld END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-01-14T20:49:37.375002Z K 7 svn:log V 198 Please welcome Carl Delsey (carl@) as a new src committer. Carl will be primarily working on storage-related drivers for Intel CPUs and chipsets. I will serve as Carl's mentor. Approved by: core END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-01-14T21:03:34.882137Z K 7 svn:log V 107 Don't use f_show_msg() unless printf(1) syntax is required (this reduces the number of unnecessary forks). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-01-14T21:31:27.034463Z K 7 svn:log V 73 Oops, r186202 (4 years ago) forgot to remove Tape from the F1 Help file. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-14T22:00:43.887302Z K 7 svn:log V 339 MFC r244401,245305,245308: Replace our implementation of the vis(3) and unvis(3) APIs with NetBSD's. This output size limited versions of vis and unvis functions as well as a set of vis variants that allow arbitrary characters to be specified for encoding. Finally, MIME Quoted-Printable encoding as described in RFC 2045 is supported. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-15T00:12:34.154944Z K 7 svn:log V 424 Add an option DB_FROM_SRC to use src/etc's user/group databases when installing. This allows things like running installworld for 10-CURRENT on a 9.0-RELEASE system without adding extra users and groups to the passwd and group files. To prevent potentially risky uid/gid mismatches on systems with non-standard local values, require that DESTDIR be set if DB_FROM_SRC is set. Sponsored by: DARPA, AFRL Reviewed by: peter END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-15T00:24:01.232413Z K 7 svn:log V 401 cxgbe/tom: Miscellaneous updates for TOE+IPv6 support (more to follow). - Teach find_best_mtu_idx() to deal with IPv6 endpoints. - Install correct protosw in offloaded TCP/IPv6 sockets when DDP is enabled. - Move set_tcp_ddp_ulp_mode to t4_tom.c so that t4_tom.h can be included without having to drag in t4_msg.h too. This was bothering the iWARP driver for some reason. MFC after: 1 week END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-15T00:39:15.482211Z K 7 svn:log V 43 Capture SOC project pxe_http at p4 r150388 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-15T01:13:55.238569Z K 7 svn:log V 428 Alike to r242314 for GRAID make GMIRROR more aggressive in marking volumes as clean on shutdown and move that action from shutdown_pre_sync stage to shutdown_post_sync to avoid extra flapping. ZFS tends to not close devices on shutdown, that doesn't allow GEOM RAID to shutdown gracefully. To handle that, mark volume as clean just when shutdown time comes and there are no active writes. PR: kern/113957 MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-15T01:27:04.789179Z K 7 svn:log V 410 Alike to r242314 for GRAID make GRAID3 more aggressive in marking volumes as clean on shutdown and move that action from shutdown_pre_sync stage to shutdown_post_sync to avoid extra flapping. ZFS tends to not close devices on shutdown, that doesn't allow GEOM RAID to shutdown gracefully. To handle that, mark volume as clean just when shutdown time comes and there are no active writes. MFC after: 2 weeks END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-15T01:33:19.423757Z K 7 svn:log V 76 Branch head to see if I can thwack this pxe_http stuff into existence again END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-15T02:18:04.591292Z K 7 svn:log V 156 In case somebody still use it, fix legacy ataraid(4) to work on combined PATA+AHCI controllers, such as JMicron JMB363. PR: kern/159271 MFC after: 1 week END K 10 svn:author V 3 dbn K 8 svn:date V 27 2013-01-15T05:33:40.767140Z K 7 svn:log V 169 Add myself as a port committer (with eadler@ and bdrewery@ as mentors). While in the repository, add myself to calendar.freebsd. Approved by: eadler/bdrewery (mentor) END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-15T07:07:29.864522Z K 7 svn:log V 485 cxgbe/tom: Basic CLIP table management. This is the Compressed Local IPv6 table on the chip. To save space, the chip uses an index into this table instead of a full IPv6 address in some of its hardware data structures. For now the driver fills this table with all the local IPv6 addresses that it sees at the time the table is initialized. I'll improve this later so that the table is updated whenever new IPv6 addresses are configured or existing ones deleted. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-01-15T07:41:50.432837Z K 7 svn:log V 243 Revert the MFC to sys/dev/ath/ath_hal/ar9002/ar9285_attach.c again, since it does not compile on stable/9. During testing, I had a different local fix, so I failed to notice this did not work. Apologies for the breakage. Pointy hat to: dim END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2013-01-15T08:26:16.399046Z K 7 svn:log V 175 Initial support for Allwinner A10 SoC (Cubieboard) Add simple console driver Add interrupt handling and timer codes Add kernel config file Add dts file Approved by: gonzo END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-01-15T09:14:18.429199Z K 7 svn:log V 284 MFC r244553,244594,244608,244639 In preparation for making 'pkg -N' the one true method of determining whether a system has been configured to use pkgng, cause /usr/sbin/pkg recognise a -n option and exit with a failure code when the pkg port is not installed Submitted by: matthew END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-01-15T09:17:07.620921Z K 7 svn:log V 284 MFC r244553,244594,244608,244639 In preparation for making 'pkg -N' the one true method of determining whether a system has been configured to use pkgng, cause /usr/sbin/pkg recognise a -N option and exit with a failure code when the pkg port is not installed Submitted by: matthew END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2013-01-15T09:31:13.833032Z K 7 svn:log V 67 Fix license to follow standard license template Reviewed by: joel END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2013-01-15T09:39:11.634375Z K 7 svn:log V 97 Fix formatting of license according to share/examples/etc/bsd-style-copyright Reviewed by: joel END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2013-01-15T09:56:20.534554Z K 7 svn:log V 66 Add mistakenly removed third clause to license Reviewed by: joel END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-15T10:06:35.204710Z K 7 svn:log V 108 Allow to insert new component to geom_raid3 without specifying number. PR: kern/160562 MFC after: 2 weeks END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-15T14:05:59.959647Z K 7 svn:log V 96 - Detect when we are in KVM. Silence on: emulation Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-15T14:09:08.202995Z K 7 svn:log V 83 - Use standard RETURN VALUES section. Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-15T14:35:35.550491Z K 7 svn:log V 788 Satisfy the intent of kern/151564: [ciss] ciss(4) should increase CISS_MAX_LOGICAL to 107 Submitter wanted to increase the number of logical disks supported by ciss(4) by simply raising the CISS_MAX_LOGICAL value even higher. Instead, consult the documentation for the raid controller (OPENCISS) and poke the controller bits to ask it for how many logical/physical disks it can handle. Revert svn R242089 that raised CISS_MAX_LOGICAL to 64 for all controllers. For older controllers that don't support this mechanism, fallback to the old value of 16 logical disks. Tested on P420, P410, P400 and 6i model ciss(4) controllers. This should will be MFC'd back to stable/9 stable/8 and stable/7 after the MFC period. PR: kern/151564 Reviewed by: scottl@freebsd.org MFC after: 2 weeks END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-01-15T15:29:28.705784Z K 7 svn:log V 127 MFC r236899: Fix unloading of libiconv module. Previously it would either loop infinitely or exit with error leaking a lock. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-15T16:41:52.280675Z K 7 svn:log V 321 MFC r244557: Add libnetbsd, a thin compatibility layer intended to allow a limited set of NetBSD software to compile as part of the FreeBSD build with little or no modification. It is built as a static library and not installed for general use. Likewise, its header files are not installed. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-15T16:46:51.542615Z K 7 svn:log V 323 MFC r244562,245241,245435 Add NetBSD's mtree to the tree and install it as nmtree. Always install our mtree as /usr/sbin/fmtree and link it as /usr/sbin/mtree by default. Add a src.conf option WITH_NMTREE that causes NetBSD's mtree to be linked as /usr/sbin/mtree as well as /usr/sbin/nmtree. Sponsored by: DARPA, AFRL END K 10 svn:author V 4 rene K 8 svn:date V 27 2013-01-15T17:17:54.881205Z K 7 svn:log V 89 Add gjb as my co-mentor now that I have a full doc/www bit. Approved by: remko (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-15T17:50:07.763990Z K 7 svn:log V 720 Remove the use of the ifnet send queue and if_start() in the power save queue code. Instead, use if_transmit() directly - and handle the cases where frame transmission fails. I don't necessarily like this and I think at this point the M_ENCAP check, node freeing upon fail and the actual if_transmit() call should be done in methods in ieee80211_freebsd.c, but I digress slightly.. This removes one of the last few uses of if_start() and the ifnet if_snd queue. The last major offender is ieee80211_output.c, where ieee80211_start() implements if_start() and uses the ifnet queue directly. (There's a couple of gotchas here, where the if_start pointer is compared to ieee80211_start(), but that's a later problem.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-15T18:01:23.471991Z K 7 svn:log V 2630 Implement frame (data) transmission using if_transmit(), rather than if_start(). This removes the overlapping data path TX from occuring, which solves quite a number of the potential TX queue races in ath(4). It doesn't fix the net80211 layer TX queue races and it doesn't fix the raw TX path yet, but it's an important step towards this. This hasn't dropped the TX performance in my testing; primarily because now the TX path can quickly queue frames and continue along processing. This involves a few rather deep changes: * Use the ath_buf as a queue placeholder for now, as we need to be able to support queuing a list of mbufs (ie, when transmitting fragments) and m_nextpkt can't be used here (because it's what is joining the fragments together) * if_transmit() now simply allocates the ath_buf and queues it to a driver TX staging queue. * TX is now moved into a taskqueue function. * The TX taskqueue function now dequeues and transmits frames. * Fragments are handled correctly here - as the current API passes the fragment list as one mbuf list (joined with m_nextpkt) through to the driver if_transmit(). * For the couple of places where ath_start() may be called (mostly from net80211 when starting the VAP up again), just reimplement it using the new enqueue and taskqueue methods. What I don't like (about this work and the TX code in general): * I'm using the same lock for the staging TX queue management and the actual TX. This isn't required; I'm just being slack. * I haven't yet moved TX to a separate taskqueue (but the taskqueue is created); it's easy enough to do this later if necessary. I just need to make sure it's a higher priority queue, so TX has the same behaviour as it used to (where it would preempt existing RX..) * I need to re-review the TX path a little more and make sure that ieee80211_node_*() functions aren't called within the TX lock. When queueing, I should just push failed frames into a queue and when I'm wrapping up the TX code, unlock the TX lock and call ieee80211_node_free() on each. * It would be nice if I could hold the TX lock for the entire TX and TX completion, rather than this release/re-acquire behaviour. But that requires that I shuffle around the TX completion code to handle actual ath_buf free and net80211 callback/free outside of the TX lock. That's one of my next projects. * the ic_raw_xmit() path doesn't use this yet - so it still has sequencing problems with parallel, overlapping calls to the data path. I'll fix this later. Tested: * Hostap - AR9280, AR9220 * STA - AR5212, AR9280, AR5416 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-15T18:04:15.062702Z K 7 svn:log V 70 Add some new debugging options for the ath(4) and ath_hal(4) drivers. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-15T18:38:51.154714Z K 7 svn:log V 98 cxgbe/tom: Add support for fully offloaded TCP/IPv6 connections (active open). MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-15T18:50:40.870948Z K 7 svn:log V 99 cxgbe/tom: Add support for fully offloaded TCP/IPv6 connections (passive open). MFC after: 1 week END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-01-15T19:26:17.105491Z K 7 svn:log V 636 Do not autotune ncallout to be greater than 18508. When maxusers was unrestricted and maxfiles was allowed to autotune much higher the result was that ncallout which was based on maxfiles and maxproc grew much higher than was needed. To fix this clip autotuning to the same number we would get with the old maxusers algorithm which would stop scaling at 384 maxusers. Growing ncalout higher is not likely to be needed since most consumers of timeout(9) are gone and any higher value for ncallout causes the callwheel hashes to be much larger than will even be needed for most applications. MFC after: 1 month Reviewed by: mav END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-15T20:10:49.314610Z K 7 svn:log V 104 Implement install -l support using ln -f to allow programs using LINKS or MLINKS to be bootstrap tools. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-15T20:13:25.760571Z K 7 svn:log V 280 Do not require a filter-only interrupt handler for puc ports that are not serial devices (such as printer ports). This allows ppc devices attached to puc to correctly setup an interrupt handler and work. Tested by: Andre Albsmeier Andre.Albsmeier@siemens.com MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-15T20:23:10.451241Z K 7 svn:log V 11 MFH@245462 END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2013-01-15T20:25:16.172483Z K 7 svn:log V 63 Turn releng/9.1 over to secteam. Approved by: core (implicit) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-15T21:25:01.267126Z K 7 svn:log V 188 Document the METALOG variable. Always metalog when when doing an unprivileged install. Add the NO_ROOT variable rather than running id to decide if we should do an unprivileged install. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-01-15T22:08:03.640186Z K 7 svn:log V 90 Don't define rel/acq variants of some atomic operations as the regular version for armv6. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-15T22:08:17.368054Z K 7 svn:log V 270 - More properly handle interrupted NFS requests on an interruptible mount by returning an error of EINTR rather than EACCES. - While here, bring back some (but not all) of the NFS RPC statistics lost when krpc was committed. Reviewed by: rmacklem MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-01-15T22:09:11.333724Z K 7 svn:log V 83 Only spin on the blocked_lock for SCHED_ULE+SMP, as it's done on the other arches. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-01-15T22:11:28.405295Z K 7 svn:log V 84 Use armv7_drain_writebuf() and armv7_context_switch, instead of the arm11 variants. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-01-15T23:34:24.642399Z K 7 svn:log V 191 Reports pools which have a removed l2cache disk under -x as this is what happens when a cache device is dropped for any reason. Reviewed by: pjd Approved by: pjd (mentor) MFC after: 2 weeks END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-16T00:17:47.515800Z K 7 svn:log V 165 Checkpoint NO_ROOT support for distributeworld and packageworld. They work except that there aren't any directories in the metadata logs or the resulting tarballs. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-16T00:42:25.646348Z K 7 svn:log V 103 MFC r244973: Integrate OpenSSL changeset 22950 (appro): bn_word.c: fix overflow bug in BN_add_word. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-16T00:45:05.550011Z K 7 svn:log V 80 MFC r244975: Indicate that we are using OpenSSL with some local modifications. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-16T00:52:36.871062Z K 7 svn:log V 126 MFC r244974: MFV r244973: Integrate OpenSSL changeset 22950 (appro): bn_word.c: fix overflow bug in BN_add_word. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-16T00:54:51.496786Z K 7 svn:log V 80 MFC r244975: Indicate that we are using OpenSSL with some local modifications. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-01-16T01:30:46.897207Z K 7 svn:log V 109 Add D-Link DFE-520TX rev C1. Tested by: Ruslan Makhmatkhanov < cvs-src <> yandex dot ru > MFC After: 1 week END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-16T01:49:07.661850Z K 7 svn:log V 147 First day of work on pxe_http restoral, merge in some janky assembly that better get some serious reviews from people whom are way smarter than I. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-01-16T02:22:56.020534Z K 7 svn:log V 71 Add D-Link DFE-520TX (rev. C1) to HARDWARE section. MFC After: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-16T03:59:42.856573Z K 7 svn:log V 40 Prepare a testbed for my inet6 changes. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-16T04:35:35.194178Z K 7 svn:log V 267 Merge last changes from pxe_http tree into the head version of /boot looks like I've got some include files problems, clang doesn't handle this part of the tree yet and I've found unsupported clang bits? Note: doesn't compile yet, try again after I get some sleep END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-16T04:45:45.452816Z K 7 svn:log V 153 Switch to storing classifier node network address information in sockaddr_storage structs to appease strict alignment architectures. Reported by: clang END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-01-16T05:00:51.403858Z K 7 svn:log V 153 Avoid clobbering errno with a call to fprintf PR: bin/173923 Submitted by: Garrett Cooper Approved by: cperciva MFC After: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-01-16T05:03:46.830415Z K 7 svn:log V 87 Correct prefix for "locally installed things" Approved by: cperciva MFC After: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-01-16T05:03:49.792715Z K 7 svn:log V 65 Remove unused variables Approved by: cperciva MFC After: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-01-16T05:03:52.285771Z K 7 svn:log V 130 Free memory before exiting in order to silence a warning from the clang static analyzer Approved by: cperciva MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-16T05:32:49.117799Z K 7 svn:log V 324 Remove the filtering of the acceptable mount options for nullfs, added in r245004. Although the report was for noatime option which is non-functional for the nullfs, other standard options like nosuid or noexec are useful with it. Reported by: Dewayne Geraghty MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-16T05:44:20.196539Z K 7 svn:log V 155 Initialise the default class action using C99 designated initialiser syntax to ensure the remainder of the struct is correctly zeroed. Reported by: clang END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-16T06:12:19.010027Z K 7 svn:log V 63 Fix some const vs non-const string issues. Reported by: clang END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-16T07:19:23.930032Z K 7 svn:log V 157 The template offset is not required when parsing an individual rule and was being used uninitalised which is a bug. Remove the variable. Reported by: clang END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-16T07:39:20.856486Z K 7 svn:log V 74 Function is not used elsewhere so can be made static. Reported by: clang END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2013-01-16T08:04:55.931315Z K 7 svn:log V 146 Fix style bugs Use defined constant instead of variable for reg_shift Change u_int32_t to uint32_t Approved by: gonzo Suggested by: bde, wkoszek END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-16T08:22:45.458479Z K 7 svn:log V 166 Mitigate against possible unaligned accesses when parsing data off the wire. More work to remove other possible unaligned accesses still to come. Reported by: clang END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-16T08:49:58.467926Z K 7 svn:log V 56 Mark some unused variables as such. Reported by: clang END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-16T09:01:11.597310Z K 7 svn:log V 105 NUM_INI_SECTIONS ends up being not an int, so cast it for the purpose of comparison. Reported by: clang END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-16T09:06:33.989795Z K 7 svn:log V 100 The name field doesn't change after assignment so constify it to appease clang. Reported by: clang END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-16T09:07:49.374414Z K 7 svn:log V 74 Avoid shadowing the global getopt(3) optarg variable. Reported by: clang END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-16T18:15:25.976762Z K 7 svn:log V 161 Use a different way to silence clang analyzer as done in r245494 by explicitly telling the compiler that we are on the exit route. X-MFC: together with r245494 END K 10 svn:author V 4 carl K 8 svn:date V 27 2013-01-16T19:05:49.617992Z K 7 svn:log V 72 Add myself and my mentor relationship. Approved by: jimharris (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-16T21:52:31.423292Z K 7 svn:log V 191 Use the VA_UTIMES_NULL flag to detect when NULL was passed to utimes() instead of comparing the desired time against the current time as a heuristic. Reviewed by: rmacklem MFC after: 1 week END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-16T22:06:00.152389Z K 7 svn:log V 155 Now we come down to the linker issues between whatever functions are in "libhttp_pxe" and libstand. Things compile now, but still need symbol resolution. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-16T22:50:40.393652Z K 7 svn:log V 126 Update and vendor-sys/illumos/dist to illumos-gate 13910:f3454e0a097c (illumos zfs issue #3447: improve the comment in txg.c) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-16T22:59:50.209116Z K 7 svn:log V 107 MFV r245510: improve the comment in txg.c Obtained from: Illumos (13910:f3454e0a097c) MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-16T23:11:13.842220Z K 7 svn:log V 156 Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13921:9d721847e469 (illumos zfs issue #3035 LZ4 compression support in ZFS and GRUB) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-16T23:16:41.671696Z K 7 svn:log V 142 According to the notes in ObsoleteFiles.inc we last installed section 1aout manpages in 2002. Stop making the directories and links to them. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-16T23:20:24.246397Z K 7 svn:log V 101 Remove default support for 1aout section manpages. There haven't been any since at least July 2002. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-16T23:21:04.750354Z K 7 svn:log V 54 Remove support for installing 1aout section manpages. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-16T23:41:20.320210Z K 7 svn:log V 350 Add directory metadata to the log in the NO_ROOT case. Fix creation of /sys and some manpage directory links. Alter the per-dist meta log creation to include only those directories that appear in the source directory. Introduce a new LIBRARIES_ONLY make variable and use it to supress the bogus duplicate addition of some files to the lib32 dist. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-16T23:48:55.448252Z K 7 svn:log V 132 cxgbe: Fix the for_each_foo macros -- the last argument should not share its name with any member of struct sge. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-16T23:49:55.934185Z K 7 svn:log V 76 cxgbe: Do a more thorough job in the CLEAR_STATS ioctl. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-17T00:09:50.649516Z K 7 svn:log V 172 Recalculate volume size only for real CONCATs. For SINGLE trust volume size given by metadata, as it should be correct and in some cases can be smaller then subdisk size. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-17T00:21:45.514648Z K 7 svn:log V 262 Allow "ivlan" (inner VLAN) to be used as an alias for "vlan" when specifying match criteria. "vlan" continues to be valid here, and it continues to be valid when deleting, rewriting, inserting, or stacking an 802.1q tag to a matching packet. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-17T00:42:30.916296Z K 7 svn:log V 32 MFC r245006: Sync with driver. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-17T00:50:25.442236Z K 7 svn:log V 122 For Promise/AMD metadata add support for disks with capacity above 2TiB and for volumes with sector size above 512 bytes. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-17T01:18:24.418183Z K 7 svn:log V 95 Rename conflicting function name/routines to not conflict with existing libbtx/i386 functions. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-17T01:19:14.020510Z K 7 svn:log V 147 Add snprintf() for now to libstand. I don't know if I actually want this in base, but let's just see what its used for and how importand this is. END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-01-17T01:27:39.866361Z K 7 svn:log V 348 Add a conditional sleep 1 in case we add any IPv6 addresses to interfaces. Do this per jail started, not per address. This will allow DAD to complete and services to properly start. Before we have seen problems with services trying to start before the IPv6 address was available to use and thus erroring and failing to start. MFC after: 3 days END K 10 svn:author V 3 pgj K 8 svn:date V 27 2013-01-17T01:28:55.916713Z K 7 svn:log V 152 Take wilko's commit bit into safekeeping per his request. Wilko, thank you for all the hard work on FreeBSD in the past! Approved by: core (implicit) END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-01-17T01:51:04.295764Z K 7 svn:log V 259 Add a src.conf(5) option to allow users to compile in the "NONE cipher", which, only after authentication, disables crypto, and only for sessions without a terminal. Submitted by: Jeremy Chadwick (freebsd jdc.parodius.com) PR: bin/163095 MFC after: 10 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-17T02:23:40.274285Z K 7 svn:log V 72 Explicitly include endian.h (should have committed as part of r245501). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-17T02:30:32.045471Z K 7 svn:log V 61 Use M_ZERO flag instead of explicit bzero call after malloc. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2013-01-17T02:42:08.471752Z K 7 svn:log V 124 MFC r245345: procstat: only one mode flag can be specified, but required check for 'i' and 'j' modes was missing. Fix that. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-17T03:18:53.379810Z K 7 svn:log V 164 Add in6_getlinkzone() function. It returns zone id for the link-local scope (currently it is equal to the interface's if_index). Also, use M_ZERO flag in malloc(). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-17T03:25:31.441758Z K 7 svn:log V 96 Do not embed a scope zone id into link-local address, instead save it into sin6_scope_id field. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-17T03:27:08.341728Z K 7 svn:log V 80 - Fix rebuild position broken at r245522. - Identify one more metadata field. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-17T03:27:53.618713Z K 7 svn:log V 67 The sin6_addr structure is already zeroed, no need to do it twice. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-01-17T04:20:31.470158Z K 7 svn:log V 168 Remove useless variable 'Pflag': -P is an alternative to -H and -L, and it is implemented using the Hflag and Lflag variables. Approved by: cperciva MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-01-17T04:20:53.763674Z K 7 svn:log V 43 Convert to Python 3 Approved by: cperciva END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-17T04:32:38.075646Z K 7 svn:log V 94 Remove redundant casts and use sizeof(object) instead of sizeof(typename). Suggested by: bde END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-17T05:55:53.569425Z K 7 svn:log V 61 Fix some signed vs unsigned comparisons. Reported by: clang END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-01-17T05:56:28.963050Z K 7 svn:log V 245 Add compiler support for the ARM EABI. ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-toolchain target will work with this flag until the rest of the support is added. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-17T06:02:31.884585Z K 7 svn:log V 99 Make rule counters unsigned to match the relevant fields in struct rule_entry. Reported by: clang END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-01-17T06:08:49.051459Z K 7 svn:log V 15 MFC to r245539 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-17T07:04:37.947909Z K 7 svn:log V 14 IFC @ r245509 END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-17T08:35:41.160473Z K 7 svn:log V 100 Mitigate against possible unaligned access when serialising data into a buffer. Reported by: clang END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-17T08:51:02.868201Z K 7 svn:log V 47 Remove an unused variable. Reported by: clang END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-17T08:55:56.681205Z K 7 svn:log V 164 Mark some structs which are used for wire protocol parsing as __packed to ensure the compiler does the right thing to avoid unaligned accesses. Reported by: clang END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-17T08:59:11.616424Z K 7 svn:log V 170 def_flowrule_template is unused in some source files which include ip_diffuse_export.h so mark the variable as __unused to silence compiler warnings. Reported by: clang END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-01-17T09:34:00.025824Z K 7 svn:log V 92 Regen after adding WITH_OPENSSH_NONE_CIPHER in r245527. PR: bin/163095 MFC after: 10 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-01-17T09:37:42.592304Z K 7 svn:log V 77 Add the required __aeabi_* functions the kernel uses when built for ARM EABI END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-01-17T09:47:56.929197Z K 7 svn:log V 199 Implement stack unwinding based on section 9 of the "Exception handling ABI for the ARM architecture" documentation. The unwind tables are currently not stored in the kernel but will be added later. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-01-17T09:50:18.021596Z K 7 svn:log V 90 Default to the ARM EABI again rather than have it in both the enabled and disabled lists. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-01-17T09:52:35.864336Z K 7 svn:log V 116 * Correct KINFO_PROC_SIZE for ARM EABI. * Update the syscall interface to pass in the syscall value in register r7. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-17T15:45:45.176359Z K 7 svn:log V 14 MFH @ r245551 END K 10 svn:author V 3 ume K 8 svn:date V 27 2013-01-17T16:11:38.519285Z K 7 svn:log V 107 MFC r245225, r245256: Restrict use of source address selection of getipnodebyname(1) only to IPv6 address. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-17T16:26:40.047668Z K 7 svn:log V 407 Add a quick work-around if ath_beacon_config() to not die if it's called when an interface is going down. Right now it's quite possible (but very unlikely!) that ath_reset() or similar is called, leading to a beacon config call, in parallel with the last VAP being destroyed. This likely should be fixed by making sure the bmiss/bstuck/watchdog taskqueues are canceled whenever the last VAP is destroyed. END K 10 svn:author V 3 ume K 8 svn:date V 27 2013-01-17T16:39:21.949449Z K 7 svn:log V 214 MFC r245230: Add no_prefer_iface option. It stops treating the address on the interface as special by source address selection rule even when the interface is outgoing interface. This is desired in some situation. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-17T16:43:59.126913Z K 7 svn:log V 1052 Fix hangs (exposed by spectral scan activity) in STA mode when the chip hangs. * Always do a reset in ath_bmiss_proc(), regardless of whether the hardware is "hung" or not. Specifically, for spectral scan, there's likely a whole bunch of potential hangs that we don't (yet) recognise in the HAL. So to avoid staying RX deaf persisting until the station disassociates, just do a no-loss reset. * Set sc_beacons=1 in STA mode. During a reset, the beacon programming isn't done. (It's likely I need to set sc_syncbeacons during a hang reset, but I digress.) Thus after a reset, there's no beacon timer programming to send a BMISS interrupt if beacons aren't heard .. thus if the AP disappears, you won't get notified and you'll have to reset your interface. This hasn't yet fixed all of the hangs that I've seen when debugging spectral scan, but it's certainly reduced the hang frequency and it should improve general STA stability in very noisy environments. Tested: * AR9280, STA mode, spectral scan off/on PR: kern/175227 END K 10 svn:author V 3 ume K 8 svn:date V 27 2013-01-17T17:05:54.715083Z K 7 svn:log V 107 MFC r245225, r245256: Restrict use of source address selection of getipnodebyname(1) only to IPv6 address. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-17T17:07:54.574579Z K 7 svn:log V 47 Simplify the implementation of LIBRARIES_ONLY. END K 10 svn:author V 3 ume K 8 svn:date V 27 2013-01-17T17:08:10.173582Z K 7 svn:log V 107 MFC r245225, r245256: Restrict use of source address selection of getipnodebyname(1) only to IPv6 address. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-17T17:12:44.869907Z K 7 svn:log V 28 Add extra debugging fields. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-17T17:27:10.543387Z K 7 svn:log V 279 Add a new LIBRARIES_ONLY make variable to disable the build and install of files other than the actual libraries. Use LIBRARIES_ONLY to supress the inclusion of files in the lib32 distribution that are duplicates of files in base. Sponsored by: DARPA, AFRL Reviewed by: emaste END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-01-17T18:00:19.409426Z K 7 svn:log V 85 Add myself as a committer, and my mentor relationship. Approved by: cognet (mentor) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-17T18:26:56.678249Z K 7 svn:log V 59 Correct the distrib-dirs target in the -DDB_FROM_SRC case. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-01-17T18:28:26.019493Z K 7 svn:log V 124 Put NLS related symlinks into their own variable, so that when MK_STAGING_PROG is true, we can put them in the right place. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-17T18:32:30.862918Z K 7 svn:log V 240 Rework the mtree portion of etc/Makefile's distrib-dirs target to run mtree in a shell loop so there is only one mtree commandline. Move the implementation of LOCAL_MTREE into etc/Makefile. Sponsored by: DARPA, AFRL Reviewed by: mtree :) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-17T18:45:20.011206Z K 7 svn:log V 129 Remove a no-longer-used variable after the previous change to use VA_UTIMES_NULL. Submitted by: bde, rmacklem MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-17T18:52:49.898556Z K 7 svn:log V 178 cxgbe: Make the for_each macros safer to use by turning them into a single statement each. Submitted by: Christoph Mallon MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-17T19:03:24.419676Z K 7 svn:log V 33 Remove the unused nfs_curusec(). END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-17T19:08:20.581193Z K 7 svn:log V 14 IFC @ r245542 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-01-17T19:27:12.385815Z K 7 svn:log V 47 remove an incorrect comment and debugging code END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-17T20:21:30.779749Z K 7 svn:log V 426 In preparation for logging metadata about each filesystem object refactor the link section of distrib-dirs to alwasy install to a full path (the link contents remain relative as they should). Eliminate the use of the "rm -r[f] ; ln -s " pattern in favor of "ln -sf ". None of these links could be directories on a system installed in the last decade. Sponsored by: DARPA, AFRL Reviewed by: mtree END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-17T20:21:56.765839Z K 7 svn:log V 22 Reduce diffs to HEAD. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2013-01-17T21:02:53.886267Z K 7 svn:log V 231 Implement the zonename token for jailed processes. If a process has an auditid/preselection masks specified, and is jailed, include the zonename (jailname) token as a part of the audit record. Reviewed by: pjd MFC after: 2 weeks END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-17T21:20:15.217364Z K 7 svn:log V 144 IFC @ r245570 The revived projects/virtio branch will be used for a long overdue round of VirtIO improvements. Approved by: grehan (implicit) END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-01-17T21:28:31.936461Z K 7 svn:log V 428 Move the mbuf memory limit calculations from init_param2() to tunable_mbinit() where it is next to where it is used later. Change the sysinit level of tunable_mbinit() from SI_SUB_TUNABLES to SI_SUB_KMEM after the VM is running. This allows to use better methods to determine the effectively available physical and virtual memory available to the kernel. Update comments. In a second step it can be merged into mbuf_init(). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-01-17T21:32:03.873657Z K 7 svn:log V 24 Import ACPICA 20130117. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-17T21:32:25.574106Z K 7 svn:log V 328 Don't attempt to use clflush on the local APIC register window. Various CPUs exhibit bad behavior if this is done (Intel Errata AAJ3, hangs on Pentium-M, and trashing of the local APIC registers on a VIA C7). The local APIC is implicitly mapped UC already via MTRRs, so the clflush isn't necessary anyway. MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-01-17T21:32:53.065549Z K 7 svn:log V 21 Tag ACPICA 20130117. END