ƒ·233817 160 2748 156 166 118 285 301 898 310 310 154 205 447 126 224 1820 197 207 212 191 168 181 204 204 228 228 153 153 132 211 647 184 168 152 261 515 237 385 99 1460 384 284 105 229 229 122 1176 209 132 145 745 733 128 2006 111 219 179 524 660 188 132 262 195 264 165 248 235 137 131 222 485 278 267 291 325 325 231 200 240 1048 157 171 291 141 238 153 122 116 177 148 127 121 2166 141 213 380 1341 397 175 180 257 109 400 206 276 159 430 329 416 427 460 202 244 141 171 180 170 224 161 141 177 904 1626 172 181 1094 337 361 123 429 237 160 326 313 217 217 185 185 146 386 219 204 398 99 148 709 220 961 222 144 228 312 188 289 488 209 300 515 236 213 190 K 10 svn:author V 8 mckusick K 8 svn:date V 27 2012-04-02T21:58:37.832552Z K 7 svn:log V 2649 A file cannot be deallocated until its last name has been removed and it is no longer referenced by a user process. The inode for a file whose name has been removed, but is still referenced at the time of a crash will still be allocated in the filesystem, but will have no references (e.g., they will have no names referencing them from any directory). With traditional soft updates these unreferenced inodes will be found and reclaimed when the background fsck is run. When using journaled soft updates, the kernel must keep track of these inodes so that it can find and reclaim them during the cleanup process. Their existence cannot be stored in the journal as the journal only handles short-term events, and they may persist for days. So, they are tracked by keeping them in a linked list whose head pointer is stored in the superblock. The journal tracks them only until their linked list pointers have been commited to disk. Part of the cleanup process involves traversing the list of unreferenced inodes and reclaiming them. This bug was triggered when confusion arose in the commit steps of keeping the unreferenced-inode linked list coherent on disk. Notably, a race between the link() system call adding a link-count to a file and the unlink() system call removing a link-count to the file. Here if the unlink() ran after link() had looked up the file but before link() had incremented the link-count of the file, the file's link-count would drop to zero before the link() incremented it back up to one. If the file was referenced by a user process, the first transition through zero made it appear that it should be added to the unreferenced-inode list when in fact it should not have been added. If the new name created by link() was deleted within a few seconds (with the file still referenced by a user process) it would legitimately be a candidate for addition to the unreferenced-inode list. The result was that there were two attempts to add the same inode to the unreferenced-inode list which scrambled the unreferenced-inode list's pointers leading to a panic. The fix is to detect and avoid the false attempt at adding it to the unreferenced-inode list by having the link() system call check to see if the link count is zero before it increments it. If it is, the link() fails with ENOENT (showing that it has failed the link()/unlink() race). While tracking down this bug, we have added additional assertions to detect the problem sooner and also simplified some of the code. Reported by: Kirk Russell Fix submitted by: Jeff Roberson Tested by: Peter Holm PR: kern/159971 MFC (to 9 only): 2 weeks END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-04-02T21:59:40.469365Z K 7 svn:log V 61 dmarion and gber are big boys, release them from mentorship. END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-02T22:25:26.675432Z K 7 svn:log V 70 Add ti_scm_reg_write_4, so other drivers can write control registers. END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-02T22:26:42.749564Z K 7 svn:log V 22 Add SMC LAN8710A PHY. END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-02T22:54:31.255533Z K 7 svn:log V 188 Driver for CPSW Ethernet device found in AM335x and some other TI SoCs Driver is still under development, but at this point basic stuff works well and beagle bone can be booted over NFS. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-04-03T02:16:21.820799Z K 7 svn:log V 206 Remove useless and wrong piece of code in fdt_get_range() which overwrites passed phandle_t node. Modify debug printf in fdt_reg_to_rl() to be consistent (that is, print start and end *virtual* addresses). END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-04-03T05:42:51.018583Z K 7 svn:log V 802 This is a first cut at publishing heavily WIP work to port FreeBSD 64bit to run as a XEN paravirtualised kernel. It is very early days and therefore only has a guarantee of compilability on the branch. The following have been deferred for later review: - style nits. - comments What would be really helpful for review would be: - design errors - bugs - file organisation, API use etc. The primary focus of the branch at this point is functionality. We use a config(5) option: options NATIVE to indicate "baremetal" support. The intent of this option is to exclude files from the PV kernel that only the "baremetal" kernel needs. This is similar to how the i386 port implements this. An alternative method is needed before merge to -current Reviewed by: attilio, gibbs Approved by: gibbs END K 10 svn:author V 7 fabient K 8 svn:date V 27 2012-04-03T07:15:42.839113Z K 7 svn:log V 213 MFC r233544: Fix random deadlock on pmcstat exit: - Exit the thread when soft shutdown is requested - Wakeup owner thread. Reproduced/tested by looping pmcstat measurement: pmcstat -S instructions -O/tmp/test ls END K 10 svn:author V 7 fabient K 8 svn:date V 27 2012-04-03T07:48:58.496201Z K 7 svn:log V 213 MFC r233544: Fix random deadlock on pmcstat exit: - Exit the thread when soft shutdown is requested - Wakeup owner thread. Reproduced/tested by looping pmcstat measurement: pmcstat -S instructions -O/tmp/test ls END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-03T08:24:32.256695Z K 7 svn:log V 58 Merge head r232686 through r233825 into projects/pf/head. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-03T08:28:43.356946Z K 7 svn:log V 109 Fix probing of SAS1068E with a device ID of 0x0059 after r232411. Reported by: infofarmer MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-04-03T08:29:39.446003Z K 7 svn:log V 354 MFC r233746: Be more conservative in using READ CAPACITY(16) command. Previous code checked PROTECT bit in INQUIRY data for all SPC devices, while it is defined only since SPC-3. But there are some SPC-2 USB devices were reported, that have PROTECT bit set, return no error for READ CAPACITY(16) command, but return wrong sector count value in response. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-03T08:35:47.827603Z K 7 svn:log V 30 Get rid of pfsync_sendout1(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-03T08:40:34.862016Z K 7 svn:log V 127 Don't carry #ifdef notyet code. If anyone needs it, it can be resurrected from repo, or even better merged from newer OpenBSD. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-03T08:54:35.162997Z K 7 svn:log V 1726 MFC r233231: Fix several problems with our ELF filters implementation. Do not relocate twice an object which happens to be needed by loaded binary (or dso) and some filtee opened due to symbol resolution when relocating need objects. Record the state of the relocation processing in Obj_Entry and short-circuit relocate_objects() if current object already processed. Do not call constructors for filtees loaded during the early relocation processing before image is initialized enough to run user-provided code. Filtees are loaded using dlopen_object(), which normally performs relocation and initialization. If filtee is lazy-loaded during the relocation of dso needed by the main object, dlopen_object() runs too earlier, when most runtime services are not yet ready. Postpone the constructors call to the time when main binary and depended libraries constructors are run, passing the new flag RTLD_LO_EARLY to dlopen_object(). Symbol lookups callers inform symlook_* functions about early stage of initialization with SYMLOOK_EARLY. Pass flags through all functions participating in object relocation. Use the opportunity and fix flags argument to find_symdef() in arch-specific reloc.c to use proper name SYMLOOK_IN_PLT instead of true, which happen to have the same numeric value. MFC r233777 (by kan): Do not try to adjust stacks if dlopen_object is called too early. MFC r233778 (by kan): Remove extra blank line from revious commit. MFC note: the ARM and MIPS TLS support is not merged back, so the chunks from r233231 which fix misuse of flags in calls to find_symdef() in the corresponding relocation type handlers were not applied. When TLS support is merged, the rest of r233231 should be applied too. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-03T08:56:29.261347Z K 7 svn:log V 104 MFC r233546: Prevent rtld_verify_object_versions() from being called several times for the same object. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-03T09:02:19.891834Z K 7 svn:log V 114 MFC r233655: Add a special case in do_dlsym() for TLS stored symbols. MFC r233674: Fix ia64 build after r233655. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-03T09:13:35.734358Z K 7 svn:log V 115 Anytime I encounter these macros, I look for them in the pfvar.h. What's the reason to mask basic language syntax? END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-03T09:16:41.653102Z K 7 svn:log V 95 FreeBSD always has bpf(9) API regardless whether kernel was or not compiled with 'device bpf'. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-03T14:29:24.530941Z K 7 svn:log V 72 Store counters for all sent and received pfsync actions in pfsyncstats. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-04-03T15:42:08.939735Z K 7 svn:log V 85 MFC r229937: Add pidfile_fileno() to obtain the file descriptor for an open pidfile. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-03T17:01:37.337189Z K 7 svn:log V 106 MFC r233567: Add support for 6150 series devices. Tested by: Shane Riddle END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-03T17:03:33.967198Z K 7 svn:log V 106 MFC r233567: Add support for 6150 series devices. Tested by: Shane Riddle END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-03T17:04:48.379997Z K 7 svn:log V 130 MFC r233568: Add a list of available devices which matches the names shown by pciconf. While here add 2 missing firmware modules. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-03T17:05:26.117425Z K 7 svn:log V 130 MFC r233568: Add a list of available devices which matches the names shown by pciconf. While here add 2 missing firmware modules. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-03T17:08:17.256594Z K 7 svn:log V 56 MFC r233571: strip (R) to match manpage and pci_vendors END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-03T17:08:34.703719Z K 7 svn:log V 56 MFC r233571: strip (R) to match manpage and pci_vendors END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-03T17:10:19.018333Z K 7 svn:log V 36 Add PRCM support for EDMA on AM335x END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-03T17:48:42.644341Z K 7 svn:log V 113 Add basic HT channel setup to ieee80211_init_channels(), this will be used by at least ral(4). Reviewed by: ray END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-03T18:09:20.821386Z K 7 svn:log V 550 Since pf 4.5 import pf(4) has a mechanism to defer forwarding a packet, that creates state, until pfsync(4) peer acks state addition (or 10 msec timeout passes). This is needed for active-active CARP configurations, which are poorly supported in FreeBSD and arguably a good idea at all. Unfortunately by the time of import this feature in OpenBSD was turned on, and did not have a switch to turn it off. This leaked to FreeBSD. This change make it possible to turn this feature off via ioctl() and turns it off by default. Obtained from: OpenBSD END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-03T18:10:48.213075Z K 7 svn:log V 88 Make it possible to switch pfsync(4) deferral mechanism on/off. Obtained from: OpenBSD END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-03T18:11:30.374783Z K 7 svn:log V 72 Document syncdev, syncpeer and defer keywords for pfsync(4) interfaces. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-03T18:24:57.162003Z K 7 svn:log V 56 Merge head r233826 through r233848 to projects/pf/head. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-04-03T18:38:00.314722Z K 7 svn:log V 169 - Remove redundant call to pr_ctloutput from code that handles SO_SETFIB. - Add a check for errors during copyin while here. Reviewed by: julian, bz MFC after: 2 weeks END K 10 svn:author V 4 gleb K 8 svn:date V 27 2012-04-03T19:34:00.466132Z K 7 svn:log V 421 MFC r232959 and r232960: Prevent tmpfs_rename() deadlock in a way similar to UFS. Unlock vnodes and try to lock them one by one. Relookup fvp and tvp. Don't enforce LK_RETRY to get existing vnode in tmpfs_alloc_vp(). Doomed vnode is hardly of any use here, besides all callers handle error case. vfs_hash_get() does the same. Don't mess with vnode holdcount, vget() takes care of it already. Approved by: mdf (mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-04-03T20:06:07.966196Z K 7 svn:log V 140 The cached_pages_counter is not reset even when shared pages are present if the obj is not a vnode. Fix this. Reported and tested by: flo END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-04-03T20:07:43.517352Z K 7 svn:log V 288 - It is wrong to skip tmpfs_mapped{read, write}() when the page cache is empty and nothing else is checked. Check that also the resident page pool is empty before to skip the operation. - Cleanup the cached page if it is found but the page is not active. Reported and tested by: flo END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-04-03T20:16:26.326355Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-04-03T20:49:26.599924Z K 7 svn:log V 1362 MFC r229951,229985-229986,229988,230011,230037,230233,230599-230601 libutil.h and pidfile.c cleanup: 229951: Constify arguments (pjd) 229985: Fix forward structure declaration and prototype disorder. 229986: Fix namespace issues with prototype parameter names. Add missing prototype parameter names. 229988: Fix prototype formatting (indentation, long lines, and continued lines). 230011: More prototype formatting fixes, struct member formatting fixes, and namespace fix for property_find() prototype. 230037: Move struct pidfh definition into pidfile.c, and leave a forward declaration for pidfh in libutil.h in its place. This allows us to hide the contents of the pidfh structure, and also allowed removal of the "#ifdef _SYS_PARAM_H" guard from around the pidfile_* function prototypes. 230233: Fix more disorder in prototypes and constants. Fix header comments for each section of constants. Fix whitespace in #define lines. Fix unnecessary parenthesis in constants. 230599: Restore the parenthesis that are necessary around the constant values. 230600: Make the comments consistent (capitalization, punctuation, and format). 230601: Consensus between bde and pjd seemed to be that if the function names are lined up, then any * after a long type should appear after the type instead of being in front of the function name on the following line. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-04-03T21:10:30.952443Z K 7 svn:log V 287 MFC: 229942, 231938 229942: Style fixes courtesy of pjd. 231938: Set the O_CLOEXEC flag when opening the pidfile to avoid leaking the file descriptor via exec(3). Now that daemon(8) has been fixed to resolve the issue noted by trociny, the consensus is that this change should be OK. END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-03T22:21:15.841150Z K 7 svn:log V 187 Reorganize TI GPIO driver - rename omap->ti - add support for GPIO on AM335x - start counting GPIO banks from 0 - add GPIO PRCM support for AM335x - update pandaboard and beaglebone FDT END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-04-04T03:55:28.190439Z K 7 svn:log V 12 IFC @233857 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-04T05:29:21.614951Z K 7 svn:log V 136 MFC r233608: Microoptimize: in qsync loop over mount vnodes, only unlock mount interlock after we committed to try to vget() the vnode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-04T05:33:28.078279Z K 7 svn:log V 136 MFC r233608: Microoptimize: in qsync loop over mount vnodes, only unlock mount interlock after we committed to try to vget() the vnode. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2012-04-04T06:59:04.427215Z K 7 svn:log V 30 Release gleb from mentorship. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-04-04T08:19:13.478088Z K 7 svn:log V 1083 MFC r230397, r230438, r232064: MFC r230397 (pjd): By default turn off prefetch when listing snapshots. In my tests it makes listing snapshots 19% faster with cold cache and 47% faster with warm cache. MFC r230438 (pjd): Dramatically optimize listing snapshots when user requests only snapshot names and wants to sort them by name, ie. when executes: # zfs list -t snapshot -o name -s name Because only name is needed we don't have to read all snapshot properties. Below you can find how long does it take to list 34509 snapshots from a single disk pool before and after this change with cold and warm cache: before: # time zfs list -t snapshot -o name -s name > /dev/null cold cache: 525s warm cache: 218s after: # time zfs list -t snapshot -o name -s name > /dev/null cold cache: 1.7s warm cache: 1.1s MFC r232064: Import illumos changeset 13608 [1]: add support for "-t " argument to zfs get References: https://www.illumos.org/issues/1936 Update zfs(8) manpage in respect of [1]. Fix typo in zfs(8) manpage. Obtained from: illumos (issue #1936) [1] END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-04T08:30:32.509356Z K 7 svn:log V 112 With pf 4.5 import the name of pfsync stats sysctl has changed, thus 'netstat -sp pfsync' got broken. Fix this. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-04T08:37:12.542703Z K 7 svn:log V 36 Merge head r233849 through r233863. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-04T08:39:55.010780Z K 7 svn:log V 49 Argh, debugging code leaked into repo, fix that. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-04T08:47:36.537248Z K 7 svn:log V 648 In pfsync stats print last couple of lines in a plural form optionally. > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > 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 netstat/if.c END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-04-04T09:14:16.742737Z K 7 svn:log V 641 MFC r232165, r232247 (partial), r232307: MFC r232165: Introduce the "ruleset=number" option for devfs(5) mounts. Add support for updating the devfs mount (currently only changing the ruleset number is supported). Check mnt_optnew with vfs_filteropt(9). This new option sets the specified ruleset number as the active ruleset of the new devfs mount and applies all its rules at mount time. If the specified ruleset doesn't exist, a new empty ruleset is created. MFC r232247 (partial): mdoc(7) type - start new sentences on new line MFC r232307: Add "export" to devfs_opts[] and return EOPNOTSUPP if called with it. Fixes mountd warnings. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-04T09:20:22.814621Z K 7 svn:log V 32 Print pfsync action statistics. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-04-04T10:33:54.915469Z K 7 svn:log V 1910 Simplify and enhance the window change/update acceptance logic, especially in the presence of bi-directional data transfers. snd_wl1 tracks the right edge, including data in the reassembly queue, of valid incoming data. This makes it like rcv_nxt plus reassembly. It never goes backwards to prevent older, possibly reordered segments from updating the window. snd_wl2 tracks the left edge of sent data. This makes it a duplicate of snd_una. However joining them right now is difficult due to separate update dependencies in different places in the code flow. snd_wnd tracks the current advertized send window by the peer. In tcp_output() the effective window is calculated by subtracting the already in-flight data, snd_nxt less snd_una, from it. ACK's become the main clock of window updates and will always update the window when the left edge of what we sent is advanced. The ACK clock is the primary signaling mechanism in ongoing data transfers. This works reliably even in the presence of reordering, reassembly and retransmitted segments. The ACK clock is most important because it determines how much data we are allowed to inject into the network. Zero window updates get us out of persistence mode are crucial. Here a segment that neither moves ACK nor SEQ but enlarges WND is accepted. When the ACK clock is not active (that is we're not or no longer sending any data) any segment that moves the extended right SEQ edge, including out-of-order segments, updates the window. This gives us updates especially during ping-pong transfers where the peer isn't done consuming the already acknowledged data from the receive buffer while responding with data. The SSH protocol is a prime candidate to benefit from the improved bi-directional window update logic as it has its own windowing mechanism on top of TCP and is frequently sending back protocol ACK's. Tcpdump provided by: darrenr END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-04T11:55:20.565408Z K 7 svn:log V 19 Fix build on i386. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-04-04T13:22:10.544567Z K 7 svn:log V 122 MFC r225610: Print the package name on deletion errors. PR: bin/160516 Approved by: portmgr (pav) Obtained from: NetBSD END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-04T13:49:22.931787Z K 7 svn:log V 87 Add descriptions after the 'device' line for several NICs to match the existing style. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-04T14:31:48.601770Z K 7 svn:log V 427 - ID lookup structure should match only on state id and on creator id, ignoring direction and padding. This fixes state lookup mismatches after r233782. - Make pf_find_state_byid() take couple of id arguments. This almost retires struct pf_state_key usage and simplifies code. - Change struct pfsync_state to use uint64_t for id. This is wire-compatible with old struct, and simplifies code. OpenBSD also did this. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-04T14:47:59.652704Z K 7 svn:log V 563 Merge from OpenBSD: revision 1.173 date: 2011/11/09 12:36:03; author: camield; state: Exp; lines: +11 -12 State expire time is a baseline time ("last active") for expiry calculations, and does _not_ denote the time when to expire. So it should never be added to (set into the future). Try to reconstruct it with an educated guess on state import and just set it to the current time on state updates. This fixes a problem on pfsync listeners where the expiry time could be double the expected value and cause a lot more states to linger. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-04-04T14:50:21.721708Z K 7 svn:log V 97 Add a check for unsupported file flags to ufs_setattr(). Discussed with: bde MFC after: 2 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-04T14:51:04.612847Z K 7 svn:log V 36 Merge head r233864 through r233874. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-04-04T16:15:40.720929Z K 7 svn:log V 168 - Do not include machine/atomic.h. It is no longer necessary since r233768. - Remove bogus "atomic" macros and a read-only variable from softc. Reviewed by: ambrisko END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-04-04T17:24:53.957894Z K 7 svn:log V 102 MFC r233606: Stop HDA controller polling callout on suspend and reset it on resume. PR: kern/166382 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-04-04T17:27:13.074813Z K 7 svn:log V 171 MFC r233692: Reenable unsolicited responses on CODEC if hdaa_sense_init() called again. This fixes jack connection events handling after suspend/resume. PR: kern/166382 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-04-04T19:36:56.699173Z K 7 svn:log V 70 Bring support for the new arm TLS model. Submitted by: Mark Tinguely END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-04-04T19:38:36.174147Z K 7 svn:log V 152 Rewrite the atomic stuff, so that we don't use ugly casts in macros which would prevent the compiler from reporting type mismatches. Suggested by: bde END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-04-04T19:40:15.745126Z K 7 svn:log V 139 Introduce a new option, ARM_WANT_TP_ADDRESS, and use that to check if we need the whole ARM_TP_ADDRESS mess, instead of testing #ifdef SMP END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-04-04T19:47:15.876049Z K 7 svn:log V 42 Revert that, we're not ready for that yet END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-04-04T19:58:50.645160Z K 7 svn:log V 36 Add PL310. Rename omap_gpio to gpio END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-04T20:42:32.367094Z K 7 svn:log V 126 Disable a specific Merlin hardware workaround which may cause hangs on some PCIe controllers. Obtained from: Atheros / Linux END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-04T20:42:45.754601Z K 7 svn:log V 389 Refine r233827; as it turns out, controllers with a device ID of 0x0059 can be upgraded to MegaRAID mode, in which case mfi(4) should attach to these based on the sub-vendor and -device ID instead (not currently done). Therefore, let mpt_pci_probe() return BUS_PROBE_LOW_PRIORITY. While it, let mpt_pci_probe() return BUS_PROBE_DEFAULT instead of 0 in the default case. MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-04T20:46:20.451895Z K 7 svn:log V 182 Add a threadid to the ah_decode API. This adds the current thread ID to each logged register and mark entry, allowing for easier debugging of concurrent/overlapping NIC operations. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-04T21:09:02.907652Z K 7 svn:log V 171 - Const'ify the device lookup-table. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. - Enable support for flow control. Tested by: yongari MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-04T21:19:19.120318Z K 7 svn:log V 195 MFC: r233747, r233748 - Fix panic on kernel traps having a mapping in trap_sig b0rked in r206086. Reported by: David E. Cross - Remove checks that are redundant due to tf_type being unsigned. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-04T21:19:24.621670Z K 7 svn:log V 229 MFC: r233747, r233748 - Fix panic on kernel traps having a mapping in trap_sig b0rked in r206086 (MFC'ed to stable/8 in r206198). Reported by: David E. Cross - Remove checks that are redundant due to tf_type being unsigned. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-04T21:19:27.673828Z K 7 svn:log V 229 MFC: r233747, r233748 - Fix panic on kernel traps having a mapping in trap_sig b0rked in r206086 (MFC'ed to stable/7 in r206197). Reported by: David E. Cross - Remove checks that are redundant due to tf_type being unsigned. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-04-04T21:19:55.995777Z K 7 svn:log V 137 Remove a useless warning. The mode information is unused for very long time and this function may be used with VESA mode since r232069. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-04T21:31:20.617917Z K 7 svn:log V 107 Disable INET6 support in modules when building the LINT-NOINET6 kernel. Reviewed by: bz MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-04-04T21:38:26.348703Z K 7 svn:log V 146 Do not copy VESA state buffer if the VBE call has failed for any reason. Do not unnecessarily clear the state buffer before calling the function. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-04T21:49:49.678652Z K 7 svn:log V 952 Correctly handle AR_MoreAggr when assembling multi-descriptor final frames. Linux ath9k doesn't have this issue as it doesn't try queuing multi- descriptor frames to the hardware. Before, I was only setting the first and last descriptor in the final frame correctly - and that was done by accident. The first descriptor in the last sub-frame was being correctly updated by ath_tx_setds_11n(); the last descriptor in the last sub-frame was being correctly updated by ath_buf_set_rate(). But both of those are "incorrect". The correct behaviour is: * AR_IsAggr is set for all descriptors for all subframes in an aggregate. * AR_MoreAggr is set for all descriptors for all non-final sub-frames in an aggregate. Ie, all descriptors in the last sub-frame of an aggregate must have this field set to 0. I still need to do a couple of extra passes to ensure the pad delimiter field is being correctly handled in all descriptors in the last sub-frame. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-04-04T22:02:54.570211Z K 7 svn:log V 64 Save and restore VGA display memory between suspend and resume. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-04T22:22:50.094385Z K 7 svn:log V 76 Now that I've fixed the BAW TX hangs, disable this verbose debugging again. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-04T22:24:11.124055Z K 7 svn:log V 195 Disable the HWQ contents upon a TX queue reset, rather than a TX queue flush. This is designed to assist in figuring out what the hardware state is when something like a queue hang has occured. END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-04T22:40:38.457044Z K 7 svn:log V 45 Missing GPIO section from my previous commit END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-04T22:51:50.559179Z K 7 svn:log V 142 Track and optionally log the actual sync interrupt cause. These are involved in tracking host interface issues (ie, PCI/PCIe/AHB interface.) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-04T23:08:04.566527Z K 7 svn:log V 59 Remove empty directory in preparation for the 9.8.2 import END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-04T23:11:25.043563Z K 7 svn:log V 28 Vendor import of BIND 9.8.2 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-04T23:11:55.182842Z K 7 svn:log V 22 Tag the 9.8.2 release END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-04T23:14:01.649822Z K 7 svn:log V 77 Fix typo. Submitted by: pawel dot worach at gmail dot com MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-04T23:33:27.109026Z K 7 svn:log V 54 Add a new directory relevant to the 9.6-ESV-R6 import END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-04T23:39:49.594173Z K 7 svn:log V 33 Vendor import of BIND 9.6-ESV-R6 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-04T23:40:29.767619Z K 7 svn:log V 27 Tag the 9.6-ESV-R6 release END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-04T23:45:15.672820Z K 7 svn:log V 2069 Implement BAR TX. A BAR frame must be transmitted when an frame in an A-MPDU session fails to transmit - it's retried too often, or it can't be cloned for re-transmission. The BAR frame tells the remote side to advance the left edge of the block-ack window (BAW) to a new value. In order to do this: * TX for that particular node/TID must be paused; * The existing frames in the hardware queue needs to be completed, whether they're TXed successfully or otherwise; * The new left edge of the BAW is then communicated to the remote side via a BAR frame; * Once the BAR frame has been sucessfully TXed, aggregation can resume; * If the BAR frame can't be successfully TXed, the aggregation session is torn down. This is a first pass that implements the above. What needs to be done/ tested: * What happens during say, a channel reset / stuck beacon _and_ BAR TX. It _should_ be correctly buffered and retried once the reset has completed. But if a bgscan occurs (and they shouldn't, grr) the BAR frame will be forcibly failed and the aggregation session will be torn down. Yes, another reason to disable bgscan until I've figured this out. * There's way too much locking going on here. I'm going to do a couple of further passes of sanitising and refactoring so the (re) locking isn't so heavy. Right now I'm going for correctness, not speed. * The BAR TX can fail if the hardware TX queue is full. Since there's no "free" space kept for management frames, a full TX queue (from eg an iperf test) can race with your ability to allocate ath_buf/mbufs and cause issues. I'll knock this on the head with a subsequent commit. * I need to do some _much_ more thorough testing in hostap mode to ensure that many concurrent traffic streams to different end nodes are correctly handled. I'll find and squish whichever bugs show up here. But, this is an important step to being able to flip on 802.11n by default. The last issue (besides bug fixes, of course) is HT frame protection and I'll address that in a subsequent commit. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-04T23:58:41.197369Z K 7 svn:log V 47 Add Bv9ARM.pdf to the list of docs to install. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-05T00:08:16.324337Z K 7 svn:log V 118 Add Bv9ARM.pdf to the list of docs to install. (Direct commit because this file varies widely between BIND versions) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-05T00:53:21.838609Z K 7 svn:log V 279 MFC 232980,233011,233017,233117,233434,233436,233454,233529,233530,233618: Major pmap performance, concurrency, and correctness improvements, mostly for the 64-bit PMAP module (64-bit-capable CPUs with either a 32-bit or 64-bit kernel). Thanks to alc for his help and prodding. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-04-05T02:24:08.636003Z K 7 svn:log V 1243 umtx operation UMTX_OP_MUTEX_WAKE has a side-effect that it accesses a mutex after a thread has unlocked it, it event writes data to the mutex memory to clear contention bit, there is a race that other threads can lock it and unlock it, then destroy it, so it should not write data to the mutex memory if there isn't any waiter. The new operation UMTX_OP_MUTEX_WAKE2 try to fix the problem. It requires thread library to clear the lock word entirely, then call the WAKE2 operation to check if there is any waiter in kernel, and try to wake up a thread, if necessary, the contention bit is set again by the operation. This also mitgates the chance that other threads find the contention bit and try to enter kernel to compete with each other to wake up sleeping thread, this is unnecessary. With this change, the mutex owner is no longer holding the mutex until it reaches a point where kernel umtx queue is locked, it releases the mutex as soon as possible. Performance is improved when the mutex is contensted heavily. On Intel i3-2310M, the runtime of a benchmark program is reduced from 26.87 seconds to 2.39 seconds, it even is better than UMTX_OP_MUTEX_WAKE which is deprecated now. http://people.freebsd.org/~davidxu/bench/mutex_perf.c END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-04-05T03:05:02.501204Z K 7 svn:log V 300 In sem_post, the field _has_waiters is no longer used, because some application destroys semaphore after sem_wait returns. Just enter kernel to wake up sleeping threads, only update _has_waiters if it is safe. While here, check if the value exceed SEM_VALUE_MAX and return EOVERFLOW if this is true. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-05T04:29:35.926214Z K 7 svn:log V 81 Update to version 9.8.2, the latest from ISC, which contains numerous bug fixes. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-05T04:31:17.312984Z K 7 svn:log V 86 Update to version 9.6-ESV-R6, the latest from ISC, which contains numerous bug fixes. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-04-05T04:32:57.232036Z K 7 svn:log V 162 Update relevant to the 9.6-ESV-R6 release. Add Bv9ARM.pdf to the list of docs to install. (Direct commit because this file varies widely between BIND versions) END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-04-05T04:41:06.598872Z K 7 svn:log V 18 Fix VIMAGE build. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-05T07:59:59.402016Z K 7 svn:log V 307 zfs_ioctl: no need for ddi_copyin/out here because sys_ioctl handles that On FreeBSD the direct ioctl argument is automatically copied in/out as necesary by the kernel ioctl entry point. PR: kern/164445 Submitted by: Luis Garces-Erice Tested by: Attila Nagy MFC after: 5 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-05T10:30:54.480498Z K 7 svn:log V 113 MFC r233808: Add helper function to remove the process from the orphans list and use it instead of inlined code. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-05T10:33:39.332302Z K 7 svn:log V 183 MFC r233809: When process exists, not only the children shall be reparented to init, but also the orphans shall be removed from the orphan list, because the list header is destroyed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-05T10:36:35.336708Z K 7 svn:log V 67 MFC r233306: Remove the fragments which are not needed on FreeBSD. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-05T10:38:07.199066Z K 7 svn:log V 337 MFC r233307: Use xmalloc() instead of malloc() in the places where malloc() calls are assumed to not fail. Make the xcalloc() calling conventions follow the calloc(3) calling conventions and replace unchecked calls to calloc() with calls to xcalloc(). Remove redundand declarations from xmalloc.c, which are already present in rtld.h. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-04-05T15:16:51.211627Z K 7 svn:log V 236 Fix a typo in GCC affecting calculations with -ffast-math. The fix is similar to the one applied in GCC-4.3 in GCCSVN-r117929 under the GPLv2. Submitted by: Andrey Simonenko Reviewed by: mm Approved by: jhb (mentor) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-05T16:05:35.095395Z K 7 svn:log V 323 MFC 233675: Restore proper use of bounce buffers for ISA DMA. When locking was added, the call to pmap_kextract() was moved up, and as a result the code never updated the physical address to use for DMA if a bounce buffer was used. Restore the earlier location of pmap_kextract() so it takes bounce buffers into account. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-04-05T17:13:14.163110Z K 7 svn:log V 334 Add new ktrace records for the start and end of VM faults. This gives a pair of records similar to syscall entry and return that a user can use to determine how long page faults take. The new ktrace records are enabled via the 'p' trace type, and are enabled in the default set of trace points. Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-04-05T18:43:27.432778Z K 7 svn:log V 363 MFC r228648: On start most of sysctl_kern_proc functions use the same pattern: locate a process calling pfind() and do some additional checks like p_candebug(). To reduce this code duplication a new function pget() is introduced and used. As the function may be useful not only in kern_proc.c it is in the kernel name space. Suggested by: kib Reviewed by: kib END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-05T18:47:54.779052Z K 7 svn:log V 109 Properly handle absent AT_CANARY aux entry. Submitted by: Andrey Zonov MFC after: 3 days END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-04-05T19:32:39.869439Z K 7 svn:log V 147 MFC r232300 (pluknet): Update the description for -s flag after r232182. When displaying security credential information show also process umask. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-04-05T19:42:20.979889Z K 7 svn:log V 46 Don't set pc_cpu if ARM_VFP_SUPPORT isn't set END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-05T22:06:10.703811Z K 7 svn:log V 75 Rename DMA driver to SDMA so we can introduce new EDMA driver for TI SoCs. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-05T22:40:31.090248Z K 7 svn:log V 85 Add monthadar to the svn access list. I'm his mentor. Approved by: core (implicit) END K 10 svn:author V 4 stas K 8 svn:date V 27 2012-04-06T00:03:45.855372Z K 7 svn:log V 77 - Do not use deprecated krb5 error message reporting functions in libtelnet. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-06T04:29:17.271483Z K 7 svn:log V 131 MFC r233357: Implement xstrdup() using strlen()/xmalloc()/memcpy() already presented in rtld, instead of pulling in libc strdup(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-06T04:30:22.758530Z K 7 svn:log V 69 MFC r233360: Centralize the calculation of the top source directory. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-06T04:32:04.645430Z K 7 svn:log V 49 MFC r233361: Remove superfluous extern keywords. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-06T06:40:17.189450Z K 7 svn:log V 85 Release David Chisnall (theraven@) from mentorship. Approved by: brooks (co-mentor) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-04-06T06:53:58.341119Z K 7 svn:log V 806 - Improve BPF locking model. Interface locks and descriptor locks are converted from mutex(9) to rwlock(9). This greately improves performance: in most common case we need to acquire 1 reader lock instead of 2 mutexes. - Remove filter(descriptor) (reader) lock in bpf_mtap[2] This was suggested by glebius@. We protect filter by requesting interface writer lock on filter change. - Cover struct bpf_if under BPF_INTERNAL define. This permits including bpf.h without including rwlock stuff. However, this is is temporary solution, struct bpf_if should be made opaque for any external caller. Found by: Dmitrij Tejblum Sponsored by: Yandex LLC Reviewed by: glebius (previous version) Reviewed by: silence on -net@ Approved by: (mentor) MFC after: 3 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-04-06T06:55:21.634477Z K 7 svn:log V 1527 - Improve performace for writer-only BPF users. Linux and Solaris (at least OpenSolaris) has PF_PACKET socket families to send raw ethernet frames. The only FreeBSD interface that can be used to send raw frames is BPF. As a result, many programs like cdpd, lldpd, various dhcp stuff uses BPF only to send data. This leads us to the situation when software like cdpd, being run on high-traffic-volume interface significantly reduces overall performance since we have to acquire additional locks for every packet. Here we add sysctl that changes BPF behavior in the following way: If program came and opens BPF socket without explicitly specifyin read filter we assume it to be write-only and add it to special writer-only per-interface list. This makes bpf_peers_present() return 0, so no additional overhead is introduced. After filter is supplied, descriptor is added to original per-interface list permitting packets to be captured. Unfortunately, pcap_open_live() sets catch-all filter itself for the purpose of setting snap length. Fortunately, most programs explicitly sets (event catch-all) filter after that. tcpdump(1) is a good example. So a bit hackis approach is taken: we upgrade description only after second BIOCSETF is received. Sysctl is named net.bpf.optimize_writers and is turned off by default. - While here, document all sysctl variables in bpf.4 Sponsored by Yandex LLC Reviewed by: glebius (previous version) Reviewed by: silence on -net@ Approved by: (mentor) MFC after: 4 weeks END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-04-06T08:13:29.764813Z K 7 svn:log V 76 Free ballooned pages with the corresponding malloc type. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-06T09:03:02.873195Z K 7 svn:log V 86 Remove duplicate condition in if statement. Obtained from: brucec@ MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-06T09:36:22.994034Z K 7 svn:log V 1000 retrofit Safe Mode loader menu item actions The menu item is now made completely independent with the ACPI item - most modern systems seem to require ACPI and become even more "unsafe" without it. Safe Mode no longer disables APIC for the same reason. kbdmux is not disabled as this feature has proven itself stable. New actions: - SMP is disabled in the Safe Mode now - eventtimers are forced to periodic mode (some real and virtual systems seem to have problems otherwise) - geom extra vigorous integrity checking is disabled, this is to facilitate migration from previous versions Possible short term to do: - make SMP switch a separate menu item - restore APIC switch as a separate menu item Longer term to do: - turn various tweaks into separate menu items in a Safe Mode sub-menu Please consider adding a safety tweak to Safe Mode when introducing new major features or changes that may cause instabilities. Discussed with: jhb, scottl, Devin Teske MFC after: 3 weeks (stable/9 only) END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-04-06T11:06:47.223035Z K 7 svn:log V 245 MFC r233002, r233003 and r233012: Remove impossible error condition from the man page. On FreeBSD, all processes have a process group, so it is impossible for kill(2) to fail this way. POSIX also doesn't mention this error condition. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-04-06T11:07:44.836090Z K 7 svn:log V 269 MFC r232976: Hide stty(1) errors. If rc(8) is executed without using a TTY, this error appears at the beginning: stty: stdin isn't a terminal Because this is to be expected and of course not harmful, it is better to simply hide the error message. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-04-06T11:09:49.377687Z K 7 svn:log V 32 MFC r232841: Fix whitespace. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-04-06T13:06:01.412587Z K 7 svn:log V 337 Properly clear the O_NONBLOCK flag after opening the TTY. Though we should open the TTY with O_NONBLOCK to prevent rc(8) execution from potentially stalling, we must not forget to clear the flag later on, to prevent read(2) calls from failing later on. This prevented the shell pathname prompt from working properly. Reported by: kib END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-04-06T13:34:19.575934Z K 7 svn:log V 139 Fix build broken by r233938. Pointed by: David Wolfskill Approved by: kib (mentor) Pointy hat to: melifaro END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-04-06T14:26:05.581144Z K 7 svn:log V 66 we need to specify a NETMAP_API version or the ioctl() will fail. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-06T16:00:37.342746Z K 7 svn:log V 225 Give the kernel pmap lock a different name than user pmap locks. It has (slightly) different semantics and renaming it prevents a (harmless) WITNESS warning during bootup for 32-bit kernels on 64-bit CPUs. MFC after: 5 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-06T16:03:38.381366Z K 7 svn:log V 212 Reduce the frequency that the PowerPC/AIM pmaps invalidate instruction caches, by invalidating kernel icaches only when needed and not flushing user caches for shared pages. Suggested by: kib MFC after: 2 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-04-06T16:28:43.151167Z K 7 svn:log V 120 MFC r233389: Add a sysctl to set and retrieve binary osreldate of another process. Suggested by: kib Reviewed by: kib END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-04-06T16:30:17.125318Z K 7 svn:log V 120 MFC r233389: Add a sysctl to set and retrieve binary osreldate of another process. Suggested by: kib Reviewed by: kib END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-04-06T16:31:29.241553Z K 7 svn:log V 89 MFC r233390: When displaying binary information show also osreldate. Suggested by: kib END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-04-06T16:32:29.547583Z K 7 svn:log V 89 MFC r233390: When displaying binary information show also osreldate. Suggested by: kib END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-04-06T16:41:19.555860Z K 7 svn:log V 54 Micro-optimize free_pv_entry() for the expected case. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-06T17:21:31.923228Z K 7 svn:log V 290 MFC: r233827 (backported) Fix probing of SAS1068E with a device ID of 0x0059 after r232411 (MFC'ed to releng/8.3 in r232632). Reported by: infofarmer This is a minimal direct commit to releng/8.3 in order to restore pre-r232632 behavior for the above devices. Approved by: re (kensmith) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-04-06T17:49:11.697303Z K 7 svn:log V 121 MFS r233658: Update with the package set that will ship with 8.3-RELEASE. Reviewed by: portmgr, re Approved by: re (bz) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-06T18:18:48.002987Z K 7 svn:log V 103 Substantially reduce the scope of the locks held in pmap_enter(), which improves concurrency slightly. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-04-06T19:49:45.410158Z K 7 svn:log V 301 Free a cached page rather than only removing it. vm_page_cache_remove() should only be used in very little and specific cases (and marked as static likely) where the callers is going to take care also of the page flags appropriately, otherwise one can end up with a corrupted page. Reported by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-04-06T19:59:37.130912Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-04-06T20:34:00.890289Z K 7 svn:log V 52 Staticize vm_page_cache_remove(). Reviewed by: alc END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2012-04-06T21:19:28.780325Z K 7 svn:log V 614 Fix interrupt load balancing regression, introduced in revision 222813, that left all un-pinned interrupts assigned to CPU 0. sys/x86/x86/intr_machdep.c: In intr_shuffle_irqs(), remove CPU_SETOF() call that initialized the "intr_cpus" cpuset to only contain CPU0. This initialization is too late and nullifies the results of calls the intr_add_cpu() that occur much earlier in the boot process. Since "intr_cpus" is statically initialized to the empty set, and all processors, including the BSP, already add themselves to "intr_cpus" no special initialization for the BSP is necessary. MFC after: 3 days END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-06T21:40:27.703374Z K 7 svn:log V 123 On some devices MMC controller numbering starts from 0. Also it is unreliable to enable clocks based on device_get_unit(). END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-04-06T22:23:13.993687Z K 7 svn:log V 868 Change the SCSI INQUIRY peripheral qualifier that CTL reports for LUNs that don't exist. Anecdotal evidence indicates that it is better to return 011b (bad LUN) than 001b (LUN offline). However, this change also gives the user a sysctl/tunable, kern.cam.ctl.inquiry_pq_no_lun, to override the change and return to the previous behavior. (The previous behavior was to return 001b, or LUN offline.) ctl.c: Change the default inquiry peripheral qualifier to 011b, and add a sysctl and tunable to allow the user to change it back to 001b if needed. Don't insert a Copan copyright statement in the inquiry data. The copyright statements on the files are sufficient. ctl_private.h: Add sysctl variable context to the CTL softc. ctl_cmd_table.c, ctl_frontend_internal.c, ctl_frontend.c, ctl_backend.c, ctl_error.c: Include sys/sysctl.h. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-06T22:33:13.509647Z K 7 svn:log V 121 Execute an initial ptesync if and only if the PTE is actually being invalidated, as opposed to a ref/changed bit update. END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-06T22:51:02.304470Z K 7 svn:log V 48 pinmux and clocks for MMC controllers on AM335x END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-07T02:01:26.013417Z K 7 svn:log V 132 Remove duplicate txflags field from ath_buf. rename bf_state.bfs_flags to bf_state.bfs_txflags, as that is what it effectively is. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-07T02:51:53.619695Z K 7 svn:log V 216 Store away the RTS aggregate limit from the HAL. This will be used by some upcoming code to ensure that aggregates are enforced to be a certain size. The AR5416 has a limitation on RTS protected aggregates (8KiB). END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-04-07T03:10:26.507312Z K 7 svn:log V 95 libstand: Cleanup Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-04-07T03:20:14.177626Z K 7 svn:log V 195 sbin: revert all unnecessary changes. No changes to mount are required now. Also fdisk change is not needed anymore. Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-07T03:22:11.243593Z K 7 svn:log V 392 Enforce the RTS aggregation limit if RTS/CTS protection is enabled; if any subframes in an aggregate have different protection from the first frame in the formed aggregate, don't add that frame to the aggregate. This is likely a suboptimal method (I think we'll mostly be OK marking frames that have seqno's with the same protection as normal data frames) but I'll just be cautious for now. END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-04-07T03:28:46.493718Z K 7 svn:log V 115 nadfs: remove cleanerd from man pages Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-04-07T03:50:24.691908Z K 7 svn:log V 206 geom: revert changes in generic sys/geom/* and sys/sys/* - remove BIO_READOOB and BIO_WRITEOOB - access nand metadata via ioctl Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks END K 10 svn:author V 3 das K 8 svn:date V 27 2012-04-07T03:59:12.515645Z K 7 svn:log V 422 Fix a bug in remquo{,f,l}, in which the quotient didn't always have the correct sign when the remainder was 0. Fix a separate bug in remquo alone, in which the remainder and quotient were both off by a bit in certain cases involving subnormal remainders. The bugs affected all platforms except amd64 and i386, on which the routines are implemented in assembly. PR: 166463 Submitted by: Ilya Burylov MFC after: 2 weeks END K 10 svn:author V 3 das K 8 svn:date V 27 2012-04-07T04:00:30.267071Z K 7 svn:log V 143 Add some tests from PR 166463. Also make sure that all of the tests, old and new, check the sign bits of both the remainder and the quotient. END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-04-07T04:22:46.665138Z K 7 svn:log V 119 nand: Follow-up to latest changes in geom Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-04-07T04:39:14.698380Z K 7 svn:log V 97 Remove mount_nandfs Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks END