ĩL191796 204 732 325 187 821 218 227 347 247 302 163 216 179 377 252 605 313 314 629 176 274 1868 180 129 418 817 162 224 315 323 258 300 290 292 228 286 146 291 311 115 140 151 239 141 199 318 300 152 125 103 160 341 110 141 415 205 169 206 118 168 208 986 130 201 167 165 157 148 110 175 270 364 435 187 282 151 415 141 223 124 234 249 204 285 182 205 162 558 431 158 159 140 182 172 139 162 145 177 383 234 297 378 182 209 176 1043 169 171 198 643 174 135 145 117 150 302 174 173 155 191 858 238 252 272 458 127 137 200 271 138 139 130 123 115 199 117 298 303 161 180 856 393 226 150 150 538 248 250 114 107 200 173 524 230 105 113 258 107 250 148 250 267 241 304 302 266 130 113 247 172 129 277 204 171 212 134 130 364 580 171 125 204 125 377 366 124 482 171 127 168 116 483 126 283 432 791 230 188 182 202 166 323 167 298 330 K 10 svn:author V 4 emax K 8 svn:date V 27 2009-05-04T20:48:07.430805Z K 7 svn:log V 638 MFC r191366 Fix sbappendrecord_locked(). The main problem is that sbappendrecord_locked() relies on sbcompress() to set sb_mbtail. This will not happen if sbappendrecord_locked() is called with mbuf chain made of exactly one mbuf (i.e. m0->m_next == NULL). In this case sbcompress() will be called with m == NULL and will do nothing. I'm not entirely sure if m == NULL is a valid argument for sbcompress(), and, it rather pointless to call it like that, but keep calling it so it can do SBLASTMBUFCHK(). PR: kern/126742 Investigated by: pluknet < pluknet -at- gmail -dot- com > No response from: freebsd-current@, freebsd-bluetooth@ END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-05-04T20:53:19.508185Z K 7 svn:log V 231 MFC r191388 Implement low-level Bluetooth HCI API. This should make it easier to make Linux BlueZ libhci port. Reviewed by: Iain Hibbert < plunky -at- rya-online -dot- net > of NetBSD Inspired by: Linux BlueZ Inspired by: NetBSD END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-05-04T21:00:43.867728Z K 7 svn:log V 94 MFC r190868 Remove obsolete/bogus layering. Reviewed by: freebsd-current@, freebsd-hackers@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-05-04T21:04:29.073463Z K 7 svn:log V 728 MFC: Expand the support for PCI-e memory mapped configuration space access. Note that unlike in HEAD, this defaults to off and must be explicitly enabled by setting the loader tunable hw.pci.mcfg=1. - Add support for the Intel 915GM chipsets by reading the BAR. - Add parsing of the ACPI MCFG table to discover memory mapped configuration access on modern machines. - Port the memory mapped config acess to amd64. On amd64 it uses the direct map. - For config requests to busses not listed in ACPI's min/max valid buses, fall back to using type #1 configuration access instead. - Add a workaround for some K8 chipsets that do not expose all devices on bus 0 via MCFG and fall back to type #1 for those devices instead. END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-05-04T21:13:06.166984Z K 7 svn:log V 124 MFC r190869 Introduce KB_POLLED flag to struct keyboard's kb_flags field. Reviewed by: freebsd-current@, freebsd-hackers@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-05-04T21:58:32.682335Z K 7 svn:log V 134 MFC: When a file lookup fails due to encountering a doomed vnode from a forced unmount, consistently return ENOENT rather than EBADF. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-04T23:36:20.097916Z K 7 svn:log V 251 One more piece of the mesh link peering puzzle. The state machine is not yet completely implemented and some timers need to be set. While there, expert the peer id, local id and the link peering FSM to user land. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-05-05T01:13:20.565681Z K 7 svn:log V 154 Do not try to initialize LAPIC timer if we are not going to use it. It solves assertion, when kernel built with INVARIANTS configured to use i8254 timer. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-05T03:49:30.055010Z K 7 svn:log V 205 Merge r178257 (jkim) from HEAD to stable/7: Add stubs for syscalls introduced in Linux 2.6.17 kernel. Some GNU libc version started using them before 2.6.17 was officially out. Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-05T03:51:41.072880Z K 7 svn:log V 67 Regenerate syscall table after r191804. Approved by: kib (mentor) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-05-05T05:49:08.885518Z K 7 svn:log V 121 Add a constant PR_MAXMETHOD to better define the jail/OSD interface. Reviewed by: dchagin, kib Approved by: bz (mentor) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-05-05T07:05:13.072826Z K 7 svn:log V 85 MFC of tzdata2009g: Egypt will have DST till the end of September the coming years. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2009-05-05T08:30:38.752927Z K 7 svn:log V 279 chmod u+c snb Nick will be working on improving the memory allocation code in dirhash. He's already implemented and tested a set of changes on last year's summer of code, and we'll be looking to get those changes into the tree soon. I will be Nick's mentor. Approved by: core END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-05T09:08:37.290934Z K 7 svn:log V 159 MFC r191011: The bus_dmamap_load_uio(9) shall use pmap of the thread recorded in the uio_td to extract pages from, instead of unconditionally use kernel pmap. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-05T09:16:57.324292Z K 7 svn:log V 512 MFC r190886: When vm_map_wire(9) is allowed to skip holes in the wired region, skip the mappings without any of read and execution rights, in particular, the PROT_NONE entries. This makes mlockall(2) work for the process address space that has such mappings. Since protection mode of the entry may change between setting MAP_ENTRY_IN_TRANSITION and final pass over the region that records the wire status of the entries, allocate new map entry flag MAP_ENTRY_WIRE_SKIPPED to mark the skipped PROT_NONE entries. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-05T09:20:07.530056Z K 7 svn:log V 220 MFC r190690: When removing or renaming snaphost, do not delve into request_cleanup(). The later may need blocks from the underlying device that belongs to normal files, that should not be locked while snap lock is held. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-05T09:24:20.266160Z K 7 svn:log V 221 MFC r191313: On the exit of the child process which parent either set SA_NOCLDWAIT or ignored SIGCHLD, unconditionally wake up the parent instead of doing this only when the child is a last child. MFC r191319: Fix typo. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-05T10:34:43.866519Z K 7 svn:log V 536 MFC r189878: Fix two issues with bufdaemon, often causing the processes to hang in the "nbufkv" sleep. Do not retry request for the new block from ffs_bufwrite() when write is done from bufdaemon and there is a buffer shortage. In getnewbuf(), help bufdaemon to flush dirty buffers owned by the vnode locked by curthread. For MFC, default value for sysctl vfs.flushbufqtarget is set to -1, disabling the helpers. The TDP_BUFNEED flag value from HEAD conflicts with TDP_UPCALLING KSE bit, so it is moved to the end of allocated bits. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-05T10:43:14.192880Z K 7 svn:log V 84 MFC r191135: Export the number of times bufdaemon got help from the normal threads. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-05T10:46:49.244630Z K 7 svn:log V 181 MFC r191136: In flushbufqueues(), do not allocate sentinel buffer on the stack, struct buf is large. Use sleeping malloc(9) call, and zero the allocated buf as a debugging feature. END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-05-05T10:56:12.295688Z K 7 svn:log V 1774 Change the curvnet variable from a global const struct vnet *, previously always pointing to the default vnet context, to a dynamically changing thread-local one. The currvnet context should be set on entry to networking code via CURVNET_SET() macros, and reverted to previous state via CURVNET_RESTORE(). Recursions on curvnet are permitted, though strongly discuouraged. This change should have no functional impact on nooptions VIMAGE kernel builds, where CURVNET_* macros expand to whitespace. The curthread->td_vnet (aka curvnet) variable's purpose is to be an indicator of the vnet context in which the current network-related operation takes place, in case we cannot deduce the current vnet context from any other source, such as by looking at mbuf's m->m_pkthdr.rcvif->if_vnet, sockets's so->so_vnet etc. Moreover, so far curvnet has turned out to be an invaluable consistency checking aid: it helps to catch cases when sockets, ifnets or any other vnet-aware structures may have leaked from one vnet to another. The exact placement of the CURVNET_SET() / CURVNET_RESTORE() macros was a result of an empirical iterative process, whith an aim to reduce recursions on CURVNET_SET() to a minimum, while still reducing the scope of CURVNET_SET() to networking only operations - the alternative would be calling CURVNET_SET() on each system call entry. In general, curvnet has to be set in three typicall cases: when processing socket-related requests from userspace or from within the kernel; when processing inbound traffic flowing from device drivers to upper layers of the networking stack, and when executing timer-driven networking functions. This change also introduces a DDB subcommand to show the list of all vnet instances. Approved by: julian (mentor) END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-05-05T12:57:16.211977Z K 7 svn:log V 87 - Add support for PXA270 cpu. Submitted by: Jacques Fourie END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-05-05T13:48:53.857902Z K 7 svn:log V 35 Make gmultipath(8) easier to find. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-05-05T14:46:18.116034Z K 7 svn:log V 325 MFC: Sync with HEAD - Proxy PCI MSI/MSI-X requests and bus interrupt requests for child devices instead of passing them through directly. This allows child devices to use MSI/MSI-X interrupts. - Proxy PCI VPD requests. - Proxy bus resource allocation requests to allow multiple child devices to share access to a BAR. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-05T14:53:58.144255Z K 7 svn:log V 720 Merge from HEAD to stable/7: r178976 (rdivacky): Implement robust futexes. Most of the code is modelled after what Linux does. This is because robust futexes are mostly userspace thing which we cannot alter. Two syscalls maintain pointer to userspace list and when process exits a routine walks this list waking up processes sleeping on futexes from that list. r183871: Make robust futexes work on linux32/amd64. Use PTRIN to read user-mode pointers. Change types used in the structures definitions to properly-sized architecture-specific types. r185002: In the robust futexes list head, futex_offset shall be signed, and glibc actually supplies negative offsets. Change l_ulong to l_long. Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-05T14:55:23.326336Z K 7 svn:log V 66 Regenerate syscall table after 191820. Approved by: kib (mentor) END K 10 svn:author V 3 snb K 8 svn:date V 27 2009-05-05T15:03:19.472640Z K 7 svn:log V 131 Add myself as a mentee of dwmalone for the committers graph. Also add my birthday to the calendar. Approved by: dwmalone (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-05T15:19:45.896759Z K 7 svn:log V 218 Merge from HEAD to stable/7: r189861: Include linux_futex.h before linux_emul.h r189862: Ignore FUTEX_FD op, as it is done by linux. r189867: Sort include files in the alphabetical order. Approved by: kib (mentor) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-05-05T15:36:23.538668Z K 7 svn:log V 226 Revert part of r191494 which used the udev state to mark suspending, this needs to be set via two variables (peer_suspended and self_suspended) and can not be merged into one. Submitted by: Hans Petter Selasky Pointy hat: me END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-05-05T15:39:29.464801Z K 7 svn:log V 161 Remove USB shutdown methods from device drivers as its the host controllers responsibility to detach the bus. PR: usb/133896 Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-05-05T15:41:30.126892Z K 7 svn:log V 203 Make sure the frame list base address is re-programmed after stopping the USB schedule, in case the hardware clears the frame list base address. Submitted by: Hans Petter Selasky Reported by: Chao Shin END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-05-05T16:26:06.149985Z K 7 svn:log V 197 Unbreak LINT build, caused by a change in struct ng_node layout introduced with r191816, which become uncovered only with NETGRAPH_DEBUG defined. NOT approved by mentor (julian) due to emergency. END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-05-05T16:27:45.472694Z K 7 svn:log V 199 Silence unsolicited spam printed out when KTR_MLD happens to be in KTR_COMPILE mask. Compiling KTR trace points in does not necessarily mean enabling them, use proper check against ktr_mask instead. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-05-05T16:29:08.141698Z K 7 svn:log V 135 GPT style partitioning for loader(8) with U-Boot support library (tested on ARM). Submitted by: Piotr Ziecik kosmo ! semihalf dot com END K 10 svn:author V 5 remko K 8 svn:date V 27 2009-05-05T16:37:33.535430Z K 7 svn:log V 191 MFC r182896 Add support for the CyberPower CP1500AVRLCD. PR: 126845 Submitted by: gavin Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) END K 10 svn:author V 4 rene K 8 svn:date V 27 2009-05-05T16:45:25.688639Z K 7 svn:log V 53 Add my birthday to the calendar. Approved by: remko END K 10 svn:author V 5 remko K 8 svn:date V 27 2009-05-05T17:22:48.112737Z K 7 svn:log V 196 MFC r182896 Add support for the CyberPower CP1500AVRLCD. PR: 126845 Submitted by: gavin Approved by: imp (mentor, implicit) MFC after: 1 week Approved by: imp (mentor, implicit) END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-05-05T18:02:07.461176Z K 7 svn:log V 218 MFC r174848 by julian: give thread0 the tid 100000 ... and bumpt the others to start at 100001. This is convenient for ACPI code that needs a thread id that is never zero. Reviewed by: jkim Approved by: jhb (mentor) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-05-05T20:54:26.918748Z K 7 svn:log V 21 o FreeBSD 7.2 added. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-06T00:31:33.651431Z K 7 svn:log V 45 Backout latest revision. Makes arm bootable. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-06T01:50:04.371804Z K 7 svn:log V 59 revert r191633; this breaks at91 & xscale (likely all arm) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-06T02:31:07.883423Z K 7 svn:log V 144 - Handle memory requests on apb level, do not pass them up to nexus - Unmask IRQ in bus_intr_setup - Do not count timer IRQ (IRQ0) as stray END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-06T02:31:46.854501Z K 7 svn:log V 47 - Add APB base and size for memory rman in apb END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-06T02:34:35.411835Z K 7 svn:log V 104 - Rollback to legacy NFS RPC implementation. New one has unaligned memory access after nfsm_dissect END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-06T02:46:04.383397Z K 7 svn:log V 223 - Rollback to the hack with 3-bytes offset in base address. uart_bus_XXXXX resources are handled in uart(4) code and we need more sophysticated way to define which space should be used for device based on hints END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-06T02:55:43.753864Z K 7 svn:log V 205 - Use index ops in order to avoid TLBMiss exceptions when flushing caches on mapping removal - Writeback all VA for page that is being copied in pmap_copy_page to guaranty up-to-date data in SDRAM END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-05-06T04:40:18.875849Z K 7 svn:log V 59 Reduce diffs against i386. Use the hardclockintr function. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-05-06T05:08:22.996279Z K 7 svn:log V 30 Flatten vendor/binutils/dist. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-05-06T05:08:58.648640Z K 7 svn:log V 9 Cleanup. END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-05-06T08:49:39.483561Z K 7 svn:log V 68 Unbreak options VIMAGE kernel builds. Approved by: julian (mentor) END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-05-06T13:30:46.354881Z K 7 svn:log V 248 Remove unnecessary CURVNET_SET() calls where curvnet context is (i.e. seems to be) already set. This should reduce console noise due to curvnet recursion reports. This change has no impact on nooptions VIMAGE builds. Approved by: julian (mentor) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-05-06T17:48:39.258194Z K 7 svn:log V 18 Fix XENHVM build. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-05-06T17:52:38.618069Z K 7 svn:log V 49 Disable adaptive mutexes and rwlocks for XENHVM. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-05-06T18:21:48.612106Z K 7 svn:log V 321 - Split the queue mutex into one for the event queue and one for the BIO queue, as they do not really relate and to prepare for an additional queue to be covered by the BIO queue mutex. - Implement wrappers for fetching the next element from the event queue as well as for putting a new element into the BIO queue. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-05-06T18:24:56.132414Z K 7 svn:log V 111 - GV_BIO_RETRY is not used, and it is actually impossible with more than 8 values for bio_cflags/bio_pflags. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-06T18:27:12.501341Z K 7 svn:log V 74 Add a few more MBSS handling cases. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-05-06T18:27:28.880550Z K 7 svn:log V 112 - Fix a bug where the bio_data field of the wrong BIO is freed if an error occurs when doing a RAID5 request. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-05-06T18:37:32.470146Z K 7 svn:log V 25 - Add forgotten KASSERT. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-05-06T19:06:28.152540Z K 7 svn:log V 75 - Check if any plexes are doing internal maintenance before removing them. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-05-06T19:18:19.706459Z K 7 svn:log V 114 - Fix a case where a RAID5 volume would think that it is supposed to grow a new subdisk after a parity rebuild. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-05-06T19:34:32.785026Z K 7 svn:log V 892 - Split up the BIO queue into a queue for new and one for completed requests. This is necessary for two reasons: 1) In order to avoid collisions with the use of a BIOs flags set by a consumer or a provider 2) Because GV_BIO_DONE was used to mark a BIO as done, not enough flags was available, so the consumer flags of a BIO had to be misused in order to support enough flags. The new queue makes it possible to recycle the GV_BIO_DONE flag into GV_BIO_GROW. As a consequence, gvinum will now work with any other GEOM class under it or on top of it. - Use bio_pflags for storing internal flags on downgoing BIOs, as the requests appear to come from a consumer of a gvinum volume. Use bio_cflags only for cloned BIOs. - Move gv_post_bio to be used internally for maintenance requests. - Remove some cases where flags where set without need. PR: kern/133604 END K 10 svn:author V 3 jmg K 8 svn:date V 27 2009-05-06T20:07:28.748985Z K 7 svn:log V 38 fix grammar... Reviewed by: cperciva END K 10 svn:author V 6 cognet K 8 svn:date V 27 2009-05-06T20:24:17.217923Z K 7 svn:log V 105 Use the good hints for the NSLU, it should fix the network adapter. PR: arm/134092 Submitted by: gavin END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-06T20:48:45.270931Z K 7 svn:log V 72 Prepare beacons in MBSS mode too. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-06T22:26:04.035856Z K 7 svn:log V 69 MFC r191004: Correct a bug where pr_data should have been assigned. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-06T22:26:49.584466Z K 7 svn:log V 61 MFC r191005: Don't exit until all truss children were exit. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-06T22:31:04.789653Z K 7 svn:log V 54 - Increase size limit for HEAD merge to projects/mips END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-06T22:40:01.132244Z K 7 svn:log V 16 Merge from HEAD END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-06T23:09:26.737904Z K 7 svn:log V 83 add support for the Beacon Not Ready (BNR) interrupt (available on 5211 and later) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-06T23:49:55.644883Z K 7 svn:log V 177 o cleanup checks for which vap combinations are permitted and what to use for ic_opmode o fixes the case where creating ahdemo+wds vaps caused ic_opmode to be set to hostap END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-07T00:35:32.960437Z K 7 svn:log V 271 optimize ath_tx_findrix: there's no need to walk the rates table as sc_rixmap is an inverse map NB: could eliminate the check for an invalid rate by filling in 0 for invalid entries but the rate control modules use it to identify bogus rates so leave it for now END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-07T01:14:59.187459Z K 7 svn:log V 338 MFC r190982: Don't blindly set IP packet length from interface MTU in TSO case. Remote host can advertise smaller MSS than that of sender so upper stack might have adjusted the MSS which in turn generates IP packets that are less size than that of interface MTU. Reported by: Bjoern Koenig ( bkoenig <> alpha-tierchen dot de ) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-05-07T02:13:56.519503Z K 7 svn:log V 91 Use vendor and product macro expansion to make the device table smaller and more readable. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-05-07T02:15:58.687182Z K 7 svn:log V 185 - Fix the u3g port detection where it would not calculate the correct number of ports when multiple interfaces are present. - Claim all interfaces regardless of how many are attached END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-05-07T02:17:09.670831Z K 7 svn:log V 55 Add the Sierra AC885U and increase the max ports to 8. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-07T03:23:22.462682Z K 7 svn:log V 318 Rework r191742. Use the protocol family constants for the domain argument validation. Return EAFNOSUPPORT in case when the incorrect domain argument is specified. Return EPROTONOSUPPORT instead of passing values that are not 0 to the BSD layer. Suggested by: rwatson Approved by: kib (mentor) MFC after: 1 month END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-07T03:39:23.543492Z K 7 svn:log V 47 - Add interrupt handling for AR71XX PCI bridge END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-05-07T05:42:13.419811Z K 7 svn:log V 130 Define the kernel pmap in the same way on arm as on every other architecture. Eliminate an unused definition. Tested by: cognet END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-05-07T05:44:13.544634Z K 7 svn:log V 32 Eliminate an incorrect comment. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-07T09:34:02.803706Z K 7 svn:log V 137 Return EAFNOSUPPORT instead of EINVAL in case when the incorrect or unsupported domain argument is specified. Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-07T09:39:20.679086Z K 7 svn:log V 152 To avoid excessive code duplication move MI definitions to the MI header file. As it is defined in Linux. Approved by: kib (mentor) MFC after: 1 month END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-07T10:01:05.315527Z K 7 svn:log V 107 Add preliminary KTR(9) support to the linux emulation layer. Approved by: kib (mentor) MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-07T10:37:22.764298Z K 7 svn:log V 192 MFC r191439: Do not call vm_page_lookup() from the ddb routine, namely from "show vmopag" implementation. Iterate over memq to calculate the runs. Make the code slightly more style-compliant. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-07T11:47:51.939535Z K 7 svn:log V 87 Program the rx filter for mesh and add comments. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-07T12:55:58.999070Z K 7 svn:log V 108 Change linux struct tms definition to match actual linux one. Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-07T13:08:26.950713Z K 7 svn:log V 67 Print mesh node information. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-07T13:49:48.224370Z K 7 svn:log V 466 Add tcsetsid(3). The entire world seems to use the non-standard TIOCSCTTY ioctl to make a TTY a controlling terminal of a session. Even though tcsetsid(3) is also non-standard, I think it's a lot better to use in our own source code, mainly because it's similar to tcsetpgrp(), tcgetpgrp() and tcgetsid(). I stole the idea from QNX. They do it the other way around; their TIOCSCTTY is just a wrapper around tcsetsid(). tcsetsid() then calls into an IPC framework. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-07T14:24:50.510570Z K 7 svn:log V 334 Linux exports HZ value to user space via AT_CLKTCK auxiliary vector entry, which is available for Glibc as sysconf(_SC_CLK_TCK). If AT_CLKTCK entry is not exported, Glibc uses 100. linux_times() shall use the value that is exported to user space. Pointyhat to: dchagin PR: kern/134251 Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-05-07T14:34:49.786325Z K 7 svn:log V 63 s/ath0/wlan0/ since we no longer use the real device directly. END K 10 svn:author V 8 skreuzer K 8 svn:date V 27 2009-05-07T14:39:01.785046Z K 7 svn:log V 62 Adding myself as a ports committer Approved by: wxs (mentor) END K 10 svn:author V 8 skreuzer K 8 svn:date V 27 2009-05-07T15:32:13.441926Z K 7 svn:log V 43 Add my birthday Approved by: wxs (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-07T16:14:31.153734Z K 7 svn:log V 86 Add KTR(9) tracing for futex emulation. Approved by: kib (mentor) MFC after: 1 month END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-05-07T16:31:38.830199Z K 7 svn:log V 77 Create a complete copy of the source tree to work on increasing NGROUPS_MAX. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-05-07T16:31:50.563147Z K 7 svn:log V 44 Update example with feedback from thompsa@. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-05-07T16:42:45.336430Z K 7 svn:log V 70 ABI expansions to hopefully future-proof our MIB/netstat code for 8.0 END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-05-07T16:43:49.156962Z K 7 svn:log V 53 repository sync to multi-OS repo ... spaceing change END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-05-07T17:05:03.731601Z K 7 svn:log V 81 Use a 32 bit type for the interface mask as this equals the max interface count. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-07T17:39:23.395746Z K 7 svn:log V 291 If we have a regular rint handler, never go into rint_bypass mode. It turns out if we called cfmakeraw() on a TTY with only a rint handler in place, it could inject data into the TTY, even though it should be redirected. Always take a look at the hooks before looking at the termios flags. END K 10 svn:author V 6 philip K 8 svn:date V 27 2009-05-07T18:03:47.215341Z K 7 svn:log V 138 Add PCI IDs for the Broadcom 5825 incarnation. Submitted by: Brian A. Seklecki MFC after: 1 day END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-07T18:14:21.794199Z K 7 svn:log V 204 Eliminate the loop and the call to pause(9) in vfs_vget_ino(). If vfs_busy(MBF_NOWAIT) failed, unlock the vnode and sleep in vfs_busy(). Suggested and reviewed by: jeff Tested by: pho MFC after: 3 weeks END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-05-07T18:36:47.628096Z K 7 svn:log V 283 Move the per-prison Linux MIB from a private one-off pointer to the new OSD-based jail extensions. This allows the Linux MIB to accessed via jail_set and jail_get, and serves as a demonstration of adding jail support to a module. Reviewed by: dchagin, kib Approved by: bz (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-05-07T19:17:06.384187Z K 7 svn:log V 90 Add ID of one more SII3132 revision found on adaptec aar-1225sa rev a2. PR: kern/127289 END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-05-07T19:46:29.119243Z K 7 svn:log V 114 Give vfs_getopt the type it's expecting. Write 100 times: "32 bits is so twentieth century." Noticed by: dchagin END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-07T19:57:14.005666Z K 7 svn:log V 82 No man page currently exists so comment the two uncommented non-trivial functions END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-07T20:28:06.768481Z K 7 svn:log V 948 Asynchronously release vnodes to avoid blocking on range locks when calling back in to zfs. This is based on a fix that went in to opensolaris on March 9th. However, it uses a dedicated thread instead of a Solaris' taskq to avoid doing a blocking memory allocation with the vnode interlock held. This fixes a long-time deadlock in ZFS. This is not, strictly speaking, an LOR. The spa_zio thread releases a vnode, this calls in to vn_reclaim which in turn needs to acquire range locks to sync dirty data out to disk. The range locks are already held by a user-level process waiting on a condition variable that it the process is waiting on a spa_zio thread to signal it on. The process could not be signalled because the spa_zio thread could not proceed. The nature of this problem was not apparent due to ZFS locks opting out of witness which meant that DDB did not know about the locks that were held by ZFS. Reviewed by: pjd MFC after: 7 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-07T20:39:23.223249Z K 7 svn:log V 74 Checkpoint mesh peer link handling. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-07T20:57:06.208029Z K 7 svn:log V 77 Allow the VM to provide backpressure on the ARC cache as it does on Solaris. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-07T21:51:13.318298Z K 7 svn:log V 103 avoid LOR and gratuitous extra lock acquisitions by moving user_evict list buffers to a temporary list END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-05-07T23:01:03.589474Z K 7 svn:log V 545 Partially revert r191171, which went too far in trying to eliminate some duplicated code. In particular, archive_read_open_filename() has different close handling than archive_read_open_fd(), so delegating the former to the latter in the degenerate case (a NULL filename is treated as stdin) broke reading from pipelines. In particular, this fixes occasional port failures that were seen when using "gunzip | tar" pipelines under /bin/csh. Thanks to Alexey Shuvaev for reporting this failure and patiently helping me to track down the cause. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-07T23:02:15.804425Z K 7 svn:log V 80 move VN_RELE_ASYNC to the compatibility layer with the rest of the VN_* defines END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-07T23:02:51.678958Z K 7 svn:log V 41 define VN_RELE_ASYNC for use by libzpool END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-07T23:34:41.473074Z K 7 svn:log V 51 don't call vn_rele_async_fini in the !_KERNEL case END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-08T00:15:27.596835Z K 7 svn:log V 25 kill unused OS_GETUPTIME END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-08T00:23:00.596513Z K 7 svn:log V 58 kill more portability functions that are no longer useful END K 10 svn:author V 8 sepotvin K 8 svn:date V 27 2009-05-08T02:18:46.730687Z K 7 svn:log V 204 Change the internal buffer used to store input lines from a static buffer to a dynamically allocated one in order to support input lines of arbitrary length. Approved by: kan (mentor) MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-05-08T03:19:57.223773Z K 7 svn:log V 82 Add one more board ID with inverted external amplifier control. PR: kern/121156 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-05-08T13:44:33.970604Z K 7 svn:log V 77 Drain the tasks before the interface stop call in case a restart was queued. END K 10 svn:author V 6 philip K 8 svn:date V 27 2009-05-08T14:01:40.142097Z K 7 svn:log V 60 MFC r191894: Add PCI IDs for the Broadcom 5825 incarnation. END K 10 svn:author V 6 philip K 8 svn:date V 27 2009-05-08T14:09:31.862238Z K 7 svn:log V 96 Sync ubsec(4) with reality, note BCM5825 support. Pointed out by: brueffer MFC after: 1 minute END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-05-08T14:11:06.723382Z K 7 svn:log V 765 Introduce a new virtualization container, provisionally named vprocg, to hold virtualized instances of hostname and domainname, as well as a new top-level virtualization struct vimage, which holds pointers to struct vnet and struct vprocg. Struct vprocg is likely to become replaced in the near future with a new jail management API import. As a consequence of this change, change struct ucred to point to a struct vimage, instead of directly pointing to a vnet. Merge vnet / vimage / ucred refcounting infrastructure from p4 / vimage branch. Permit kldload / kldunload operations to be executed only from the default vimage context. This change should have no functional impact on nooptions VIMAGE kernel builds. Reviewed by: bz Approved by: julian (mentor) END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-05-08T14:28:06.394123Z K 7 svn:log V 145 Remove a bogus check that unintentionally slipped in r191816. This change has no functional impact on nooptions VIMAGE builds. Submitted by: bz END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-05-08T14:34:25.312524Z K 7 svn:log V 159 A NOP change: style / whitespace cleanup of the noise that slipped into r191816. Spotted by: bz Approved by: julian (mentor) (an earlier version of the diff) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-05-08T15:14:52.089883Z K 7 svn:log V 179 Use log(9) for debug and status messages and hide some of the details with macros to allow for future flexibility in logging. Submitted by: zachary dot loafman at isilon dot com END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-08T20:06:37.115265Z K 7 svn:log V 366 Burn TTY ioctl bridges in compat layers. I really don't want any pieces of code to include ioctl_compat.h, so let the ibcs2 and svr4 compat leave sgtty alone. If they want to support sgtty, they should emulate it on top of termios, not sgtty. The code has been marked with BURN_BRIDGES for a long time. ibcs2 and svr4 are not really popular pieces of code anyway. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-08T20:08:43.792446Z K 7 svn:log V 36 Regenerate ibcs2 system call table. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-08T20:16:04.872719Z K 7 svn:log V 46 Regenerate system call tables to use SVN ids. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-05-08T20:48:06.382899Z K 7 svn:log V 104 Remove a use of NGROUPS by replacing a couple hand rolled checks that are equivalent to access() calls. END K 10 svn:author V 7 davidch K 8 svn:date V 27 2009-05-08T22:20:45.517206Z K 7 svn:log V 174 - Fixed incorrect packet length problem caused be earlier change to support ZERO_COPY_SOCKETS. - Created #define for context initialization retry count. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-08T23:34:17.422350Z K 7 svn:log V 42 Add less. While I'm there sort the list. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-08T23:34:35.668198Z K 7 svn:log V 43 Flatten all tags of the dist tree of less. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-08T23:37:41.700493Z K 7 svn:log V 34 Bootstrap merge history for less. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-08T23:45:27.476202Z K 7 svn:log V 27 Vendor import of less v429 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-08T23:47:49.317281Z K 7 svn:log V 19 Tag for less v429. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-09T00:35:38.715354Z K 7 svn:log V 102 MFC r176093 (glebius): If the vhid already present, return EEXIST instead of non-informative EINVAL. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-09T01:35:27.988883Z K 7 svn:log V 21 Update to less v429. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-09T01:45:55.727349Z K 7 svn:log V 203 - rename atomic.S and crc32.c to avoid collisions when linking zfs in to the kernel - update Makefile - ifdef out acl_{alloc, free}, they aren't used by zfs and conflict with existing in-kernel routines END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-05-09T05:07:36.289874Z K 7 svn:log V 210 Convert IPFW_DEFAULT_TO_ACCEPT into a loader tunable 'net.inet.ip.fw.default_to_accept'. The current value can also be queried via a read-only sysctl of the same name. Requested by: plosher MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-09T05:39:35.199937Z K 7 svn:log V 67 atomic.S has been renamed opensolaris_atomic.S to avoid collisions END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-09T05:45:13.404644Z K 7 svn:log V 86 fix atomic.S rename and vimage breakage The latter was pointed out by Artem Belevich END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-05-09T08:30:44.025815Z K 7 svn:log V 763 Fix a race involving vnode_pager_input_smlfs(). Specifically, in the case that vnode_pager_input_smlfs() zeroes the page, it should not mark the page as valid until after the page is zeroed. Otherwise, the page could be mapped for read access (e.g., by vm_map_pmap_enter()) before the page is zeroed. Reviewed by: tegge Eliminate gratuitous clearing of the page's dirty mask by vnode_pager_input_smlfs(). Instead, assert that the page is clean. Reviewed by: tegge Eliminate some blank lines. Eliminate pointless calls to pmap_clear_modify() and vm_page_undirty() from vnode_pager_input_old(). The page is not mapped. Therefore, it cannot have any page table entries that are modified. Eliminate an incorrect comment from vnode_pager_generic_getpages(). END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-09T15:09:40.953994Z K 7 svn:log V 301 Add support for old TTY ioctls to kdump. At first I allowed ioctl_compat.h to be included, but it just returned an empty file. I had to do this, to keep kdump happy. I really want to raise a compiler error when including this header, so now it will just throw an error if you don't set COMPAT_43TTY. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-05-09T15:41:22.298336Z K 7 svn:log V 133 Work around non-standard behaviour of rpcbind in some versions of Linux (FC4?). Submitted by: zachary dot loafman at isilon dot com END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-09T16:42:57.808061Z K 7 svn:log V 59 TTYs don't necessarily use /dev/ttyxx. Submitted by: csjp END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-05-09T17:47:42.545868Z K 7 svn:log V 58 Unmark the ASR Compat IOCTLs as BURN_BRIDGES, per scottl@ END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-05-09T18:09:17.788124Z K 7 svn:log V 445 Do not embed struct ucred into larger netcred parent structures. Credential might need to hang around longer than its parent and be used outside of mnt_explock scope controlling netcred lifetime. Use separate reference-counted ucred allocated separately instead. While there, extend mnt_explock coverage in vfs_stdexpcheck and clean-up some unused declarations in new NFS code. Reported by: John Hickey PR: kern/133439 Reviewed by: dfr, kib END K 10 svn:author V 7 roberto K 8 svn:date V 27 2009-05-09T18:09:18.806931Z K 7 svn:log V 151 Remove reference to nonexistant manpage. PR: ports/131898 Submitted by: Niclas Zeising Prodded by: sbruno END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-05-09T18:25:58.954597Z K 7 svn:log V 157 Implement RFC 5095 more fully. Rather than marking this no-op code as BURN_BRIDGES, just remove it. Adjust comments. Reviewed by: dwhite, emaste, battlez END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-05-09T18:50:01.429576Z K 7 svn:log V 22 Remove bogus comment. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-09T18:53:07.508357Z K 7 svn:log V 15 update to v3.1 END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-09T18:54:18.292812Z K 7 svn:log V 107 Makefile to record the technique by which the .uu files are generated from the Intel-distributed .fw files END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-05-09T19:00:47.720190Z K 7 svn:log V 81 Retire kern.vm.kmem.size. It was marked as obsolete prior to 5.2, so it can go. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-09T19:01:24.841901Z K 7 svn:log V 432 Clean up . - Just use #error when including in the kernel. Code hasn't used this header for years now and probably doesn't compile anyway, because of -Werror. - Get rid of struct ttysize, TIOCGSIZE and TIOCSSIZE. All code nowadays use both TIOC[GS]SIZE and TIOC[GS]WINSZ. Because we have other popular systems that don't implement the first, it's of little use to support interfaces nowadays. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-05-09T19:08:22.574488Z K 7 svn:log V 137 Spell NULL properly, use (void) rather than () for functions with no parameters. Mark two items as static that aren't used elsewhere... END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-09T19:19:19.157603Z K 7 svn:log V 13 iwn firmware END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-09T19:19:30.911485Z K 7 svn:log V 21 restore ref to iwnfw END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-09T19:22:37.948869Z K 7 svn:log V 165 push wme parameter setting to the taskq thread; the update callback from net80211 can happen from the ithread and submitting the fw cmd requires a sleepable context END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-09T19:44:23.506424Z K 7 svn:log V 15 hookup iwnfw.4 END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2009-05-09T20:18:20.752210Z K 7 svn:log V 154 Describe the topology_spec sysctl and do some minor adjustments to relating documentation. Reviewed by: brooks (older version) Approved by: gnn (mentor) END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2009-05-10T00:00:25.448348Z K 7 svn:log V 51 - Use "device\t" and "options \t" for consistency. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-05-10T02:21:19.352564Z K 7 svn:log V 153 Cancel the scan when going to INIT state. Should do this for other states here too as once the protocol newstate handler runs the scan has always ended. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-05-10T02:44:19.549922Z K 7 svn:log V 170 Abort any scan on a fatal firmware. ic_scan_curchan is overridden to perform the scan in firmware and this relies on the firmware to wake up the scan task on completion. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-05-10T04:38:37.735414Z K 7 svn:log V 147 - Create a new mbuf optimization branch since svn can't automatically merge the old one across the many removes and moves involved in usb2. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-05-10T05:17:51.605765Z K 7 svn:log V 210 - Merge in changes from jeff_mbuf with one addition. - In m_refm() make all referenced data available in the ext area for compatibility with existing code that makes assumptions about referenced sizes. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-05-10T08:54:10.529524Z K 7 svn:log V 208 - Fix promisc/multicast/broadcast parameters setting by introducing the new ate_rxfilter function to set requested parameters. Use this function on parameters change rather than reinitializing the chip. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-05-10T10:32:29.289095Z K 7 svn:log V 172 - Fix multicast operation that I broke in previous commit. - Do not enable multicast hash lookup if no multicast addresses were configured or if promisc mode is enabled. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-05-10T11:05:22.283887Z K 7 svn:log V 37 - Fix build with INVARIANTS enabled. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-10T15:37:48.279761Z K 7 svn:log V 18 MFC 191746:191961 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-05-10T16:00:41.366169Z K 7 svn:log V 146 PowerPC does not, in general, have ISA sound devices or an ISA bus, so add PowerPC to list of platforms for which we don't want to depend on ISA. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-05-10T17:05:43.754997Z K 7 svn:log V 80 Eliminate stale comments. Eliminate a case of unnecessary page queues locking. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-05-10T18:11:14.506612Z K 7 svn:log V 37 Added two more nullfs test scenarios END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-10T18:16:07.487623Z K 7 svn:log V 180 Rework r189362, r191883. The frequency of the statistics clock is given by stathz. Use stathz if it is available, otherwise use hz. Pointed out by: bde Approved by: kib (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-10T18:17:26.578834Z K 7 svn:log V 108 Implement more peer link management. Peering now works more reliably. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-10T18:19:10.422658Z K 7 svn:log V 76 Fix direction matching on input path. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-05-10T18:19:16.060563Z K 7 svn:log V 119 Added test scenarios for page faults while doing filesystem data move to or from userspace during read(2) and write(2) END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-05-10T18:23:17.166542Z K 7 svn:log V 42 Added test scenario variation of tmpfs.sh END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-05-10T18:25:14.690017Z K 7 svn:log V 38 Added simple test scenario for PMC(3) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-10T18:27:20.589073Z K 7 svn:log V 267 Introduce linux_kernver() interface which is intended for an exact designation of the emulated kernel version. linux_kernver() returns integer value formatted as 'VVVMMMIII' where VVV - version, MMM - major revision, III - minor revision. Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-10T18:43:43.741681Z K 7 svn:log V 483 Do not export AT_CLKTCK when emulating Linux kernel prior to 2.4.0, as it has appeared in the 2.4.0-rc7 first time. Being exported, AT_CLKTCK is returned by sysconf(_SC_CLK_TCK), glibc falls back to the hard-coded CLK_TCK value when aux entry is not present. Glibc versions prior to 2.2.1 always use hard-coded CLK_TCK value. For older applications/libc's which depends on hard-coded CLK_TCK value user should set compat.linux.osrelease less than 2.4.0. Approved by: kib (mentor) END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-05-10T18:58:30.136705Z K 7 svn:log V 79 Handle the noswap scenario. While here, remove unused variable and fix spacing END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-05-10T19:27:05.220998Z K 7 svn:log V 30 MFC: r191012 Fix whitespace. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-05-10T19:29:06.309843Z K 7 svn:log V 108 MFC: r191071 Fix masking of TTE bits; the TD_*_MASK macros need shifting via the corresponding TD_*_SHIFT. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-05-10T19:40:59.565790Z K 7 svn:log V 30 MFC: r191077 Fix whitespace. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-05-10T19:50:24.196327Z K 7 svn:log V 281 MFC: r191638 - Change some softc members to be unsigned where more appropriate. - Add some missing const. - Move the size of the window spun by the registers to the softc as neither using va_mem_size for this nor va_mem_base for the start of the bus addresses is appropriate. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-05-10T20:14:19.117189Z K 7 svn:log V 270 Change uses of the struct ccb_hdr timeout_ch missed when isp(4) was adapted to MPSAFE cam(4) to a isp(4) specific callout structure. Thanks to Florian Smeets for providing access to a machine exhibiting this problem for debugging. Approved by: mjacob MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-05-10T20:22:41.582429Z K 7 svn:log V 29 - Fix style. - Use __FBSDID. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-05-10T20:41:52.821298Z K 7 svn:log V 386 Just like in cpu_halt(), use cpu_shutdown() rather than ofw_exit() directly in cpu_reset() in order to idle the APs before exiting the kernel and letting the BSP enter the firmware so that processes like init(8) which still might be running on an AP at that point don't cause a panic there when it crashes due to the fact it no longer can be supported by the kernel. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-10T21:01:33.397307Z K 7 svn:log V 76 Initial take on handling data frames. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-05-11T02:39:49.033607Z K 7 svn:log V 31 ports upgt(4) driver for USB2. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-11T04:18:58.936529Z K 7 svn:log V 74 rename xdr support files to avoid conflicts when linking in to the kernel END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-05-11T04:57:40.414294Z K 7 svn:log V 24 Fix typo in bwi driver. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-05-11T05:16:57.796309Z K 7 svn:log V 390 Revert CVS revision 1.94 (svn r16840). Current pmap implementations don't suffer from the race condition that motivated revision 1.94. Consequently, the work-around that was implemented by revision 1.94 is no longer needed. Moreover, reverting this work-around eliminates the need for vfs_busy_pages() to acquire the page queues lock when preparing a buffer for read. Reviewed by: tegge END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-11T07:57:29.268368Z K 7 svn:log V 30 less has been updated to v429 END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-11T13:42:40.773858Z K 7 svn:log V 186 Add forgotten linux to bsd flags argument mapping into the linux_recv(). PR: kern/134276 Submitted by: Thomas Mueller Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-11T13:50:42.151880Z K 7 svn:log V 335 Translate l_timeval arg to native struct timeval in linux_setsockopt()/linux_getsockopt() for SO_RCVTIMEO, SO_SNDTIMEO opts as l_timeval has MD members. Remove bogus __packed attribute from l_timeval struct on __amd64__. PR: kern/134276 Submitted by: Thomas Mueller Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-05-11T15:33:26.064959Z K 7 svn:log V 694 Remove the thread argument from the FSD (File-System Dependent) parts of the VFS. Now all the VFS_* functions and relating parts don't want the context as long as it always refers to curthread. In some points, in particular when dealing with VOPs and functions living in the same namespace (eg. vflush) which still need to be converted, pass curthread explicitly in order to retain the old behaviour. Such loose ends will be fixed ASAP. While here fix a bug: now, UFS_EXTATTR can be compiled alone without the UFS_EXTATTR_AUTOSTART option. VFS KPI is heavilly changed by this commit so thirdy parts modules needs to be recompiled. Bump __FreeBSD_version in order to signal such situation. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-05-11T16:32:58.657327Z K 7 svn:log V 133 Fix a kernel compilation error, introduced after r191990, by defining thread with curthread in the AUDIT case. Reported by: dchagin END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-05-11T16:37:31.810590Z K 7 svn:log V 96 MFC: Always compute the root of the kernel source tree and explicitly pass it to module builds. END K 10 svn:author V 5 green K 8 svn:date V 27 2009-05-11T16:45:53.281679Z K 7 svn:log V 88 These are some cosmetic changes to improve the clarity of libthr's fork implementation. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-05-11T17:05:41.808171Z K 7 svn:log V 109 LFS cannot be loaded, compiled, torn, spindled or mutilated in FreeBSD: it was deleted around FreeBSD 3.x... END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-05-11T17:13:52.178926Z K 7 svn:log V 74 Update a few XXX comments Submitted by: ddk ddk ddkprog at yahoo dot com END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-05-11T17:29:11.035704Z K 7 svn:log V 230 Always use __null to define NULL for GCC 4+. Use '0' rather than '(void *)0' for NULL for C++ compilers compiling kernel code. Together this makes it easier to build kernel modules using C++. Reviewed by: imp MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-11T18:20:34.744970Z K 7 svn:log V 72 Checkpoint input data processing. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-11T18:45:04.463555Z K 7 svn:log V 200 Modify nfsvno_fhtovp() to ensure that it always sets the credp argument. Returning without credp set could result in a caller doing crfree() on garbage. Reviewed by: kan Approved by: kib (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-11T18:52:46.324686Z K 7 svn:log V 238 Add macros around the sx operations in snp(4). As an experiment, I changed snp(4) to use a mutex instead of an sx lock. We can't enable this right now, because Syscons still picks up Giant. It's nice to already have the framework there. END