ı193205 188 259 179 256 175 161 169 137 210 209 164 407 119 742 153 3902 604 220 176 152 157 217 779 170 415 238 551 480 590 169 315 178 191 181 246 170 143 267 113 306 154 113 430 169 135 155 360 165 144 167 185 349 114 240 258 206 594 191 262 296 169 191 271 154 218 159 203 114 1894 245 203 1103 142 143 137 118 233 244 152 151 126 150 155 106 135 194 133 352 373 1098 963 432 144 266 618 242 238 262 509 492 164 254 186 221 706 140 289 382 613 186 138 171 240 174 184 123 125 130 165 115 119 185 116 120 119 105 106 145 864 189 769 114 271 181 205 161 264 123 167 355 375 161 211 100 151 131 104 133 126 155 602 459 148 123 179 225 111 136 169 143 142 185 255 380 225 380 221 418 109 200 144 605 706 1039 145 119 116 120 320 204 140 156 315 210 174 188 344 1433 173 K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-01T07:05:52.715460Z K 7 svn:log V 162 According to Intel documentation (307013), 3Gbps mode is supported on Desktop chipsets only for ICH7 series, so mark all ICH7M as ATA_SA150 instead of ATA_SA300. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-06-01T07:48:27.799474Z K 7 svn:log V 85 Use the "flag" word consistently. Submitted by: Ben Kaduk END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T07:54:27.296539Z K 7 svn:log V 159 When queueing a packet to a netisr thread and it's already being direct dispatched, suppress a wakeup -- the direct dispatching thread will generate it later. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T08:17:00.412247Z K 7 svn:log V 79 For consistency, make 'error' an int as it generally is throughout the kernel. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T08:32:24.018418Z K 7 svn:log V 65 Count wakeups sent and wakeups processed for netisr workstreams. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T08:34:34.655265Z K 7 svn:log V 73 Use the current workstream in swi_net, rather than the first workstream. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T08:50:56.275923Z K 7 svn:log V 41 Re-remove swi wakeup debugging counters. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T09:03:55.647100Z K 7 svn:log V 113 Add missing VNET setup in the deferred dispatch case. Lock around stats updates in forced direct dispatch mode. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-01T09:25:32.062762Z K 7 svn:log V 115 - Add missing data argument to printf. Submitted by: Pawel Worach MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-06-01T09:32:12.034629Z K 7 svn:log V 72 Document EINVAL for bind(2). Reviewed by: rwatson Obtained from: SuSv3 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T09:43:58.626714Z K 7 svn:log V 310 When cheaply calculating flow identifiers for packets coming in from network device drivers without hardware flow calculation, or for loopback traffic, use a different cheap hash that puts all interesting entropy into the bottom 8 bits of the flow ID, which works well with our default flow ID -> CPU mapping. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T10:04:37.067889Z K 7 svn:log V 23 Add missing $FreeBSD$. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-06-01T10:30:00.684003Z K 7 svn:log V 649 - Rename IP_NONLOCALOK IP socket option to IP_BINDANY, to be more consistent with OpenBSD (and BSD/OS originally). We can't easly do it SOL_SOCKET option as there is no more space for more SOL_SOCKET options, but this option also fits better as an IP socket option, it seems. - Implement this functionality also for IPv6 and RAW IP sockets. - Always compile it in (don't use additional kernel options). - Remove sysctl to turn this functionality on and off. - Introduce new privilege - PRIV_NETINET_BINDANY, which allows to use this functionality (currently only unjail root can use it). Discussed with: julian, adrian, jhb, rwatson, kmacy END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-06-01T10:30:52.673848Z K 7 svn:log V 61 Document IP_BINDANY IP socket option. Reviewed by: brueffer END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T10:41:38.369025Z K 7 svn:log V 3804 Reimplement the netisr framework in order to support parallel netisr threads: - Support up to one netisr thread per CPU, each processings its own workstream, or set of per-protocol queues. Threads may be bound to specific CPUs, or allowed to migrate, based on a global policy. In the future it would be desirable to support topology-centric policies, such as "one netisr per package". - Allow each protocol to advertise an ordering policy, which can currently be one of: NETISR_POLICY_SOURCE: packets must maintain ordering with respect to an implicit or explicit source (such as an interface or socket). NETISR_POLICY_FLOW: make use of mbuf flow identifiers to place work, as well as allowing protocols to provide a flow generation function for mbufs without flow identifers (m2flow). Falls back on NETISR_POLICY_SOURCE if now flow ID is available. NETISR_POLICY_CPU: allow protocols to inspect and assign a CPU for each packet handled by netisr (m2cpuid). - Provide utility functions for querying the number of workstreams being used, as well as a mapping function from workstream to CPU ID, which protocols may use in work placement decisions. - Add explicit interfaces to get and set per-protocol queue limits, and get and clear drop counters, which query data or apply changes across all workstreams. - Add a more extensible netisr registration interface, in which protocols declare 'struct netisr_handler' structures for each registered NETISR_ type. These include name, handler function, optional mbuf to flow ID function, optional mbuf to CPU ID function, queue limit, and ordering policy. Padding is present to allow these to be expanded in the future. If no queue limit is declared, then a default is used. - Queue limits are now per-workstream, and raised from the previous IFQ_MAXLEN default of 50 to 256. - All protocols are updated to use the new registration interface, and with the exception of netnatm, default queue limits. Most protocols register as NETISR_POLICY_SOURCE, except IPv4 and IPv6, which use NETISR_POLICY_FLOW, and will therefore take advantage of driver- generated flow IDs if present. - Formalize a non-packet based interface between interface polling and the netisr, rather than having polling pretend to be two protocols. Provide two explicit hooks in the netisr worker for start and end events for runs: netisr_poll() and netisr_pollmore(), as well as a function, netisr_sched_poll(), to allow the polling code to schedule netisr execution. DEVICE_POLLING still embeds single-netisr assumptions in its implementation, so for now if it is compiled into the kernel, a single and un-bound netisr thread is enforced regardless of tunable configuration. In the default configuration, the new netisr implementation maintains the same basic assumptions as the previous implementation: a single, un-bound worker thread processes all deferred work, and direct dispatch is enabled by default wherever possible. Performance measurement shows a marginal performance improvement over the old implementation due to the use of batched dequeue. An rmlock is used to synchronize use and registration/unregistration using the framework; currently, synchronized use is disabled (replicating current netisr policy) due to a measurable 3%-6% hit in ping-pong micro-benchmarking. It will be enabled once further rmlock optimization has taken place. However, in practice, netisrs are rarely registered or unregistered at runtime. A new man page for netisr will follow, but since one doesn't currently exist, it hasn't been updated. This change is not appropriate for MFC, although the polling shutdown handler should be merged to 7-STABLE. Bump __FreeBSD_version. Reviewed by: bz END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-01T10:49:08.177510Z K 7 svn:log V 507 DMA synchronization fixes: - In bce_rx_intr(), use BUS_DMASYNC_POSTREAD instead of BUS_DMASYNC_POSTWRITE, as we want to "read" from the rx page chain pages. - Document why we need to do PREWRITE after we have updated the rx page chain pages. - In bce_intr(), use BUS_DMASYNC_POSTREAD and BUS_DMASYNC_PREREAD when before and after CPU "reading" the status block. - Adjust some nearby style mismatches/etc. Pointed out by: yongari Approved by: davidch (no objection) but bugs are mine :) END K 10 svn:author V 3 rse K 8 svn:date V 27 2009-06-01T10:50:17.801753Z K 7 svn:log V 127 be more type correct and align local ckmalloc() with its underlying malloc(3) by using a "size_t" instead of an "int" argument END K 10 svn:author V 3 rse K 8 svn:date V 27 2009-06-01T11:02:09.868663Z K 7 svn:log V 84 correctly test for __GNUC__ macro (non-GCC compilers do not have it defined at all) END K 10 svn:author V 3 rse K 8 svn:date V 27 2009-06-01T11:11:46.448955Z K 7 svn:log V 60 align coding style with style(9) to avoid misunderstandings END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-01T11:15:54.106052Z K 7 svn:log V 62 Add _KERNEL protection. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 rse K 8 svn:date V 27 2009-06-01T11:38:38.880711Z K 7 svn:log V 124 use explicit 'unsigned int' instead of just the implicit-style 'unsigned' to make linting tools (e.g. FlexeLint) happy, too END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-01T12:18:51.273842Z K 7 svn:log V 683 * add hwmp_add_meshpreq(), hwmp_add_meshprep(), hwmp_add_meshperr() hwmp_add_meshrann() functions that construct the respective IE. * add HWMP state struct containing the head of the forwarding information table, the next sequence number to be used and the lock for the table; * implement vattach and vdetach routines in HWMP. These alloc/setup and destroy an HWMP state struct respectively; * lock/unlock when doing table lookups (inserts not yet implemented) * use the seq number now that we have it * remove ie/len code setup from send functions. * add _KERNEL protection in ieee80211_hwmp.h * add hwmp state pointer to ieee80211_vap Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T12:29:27.691147Z K 7 svn:log V 74 Merge r193031-r193225 from head to projects/pnet following netisr2 merge. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-01T13:13:47.768864Z K 7 svn:log V 322 Comment out old Realtek ALC883 quirk, that was disabling phantop power on mic inputs. I have no idea what for it was made that time, but now I have several reports that it should be removed to make microphones work. If this quirk is still required for some systems then they should be identified and specified explicitly. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-01T14:20:13.912708Z K 7 svn:log V 145 Add a missing parameter when displaying GPT partitions with an unknown UUID. Submitted by: Pawel Worach pawel.worach | gmail MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T15:03:58.302910Z K 7 svn:log V 454 Garbage collect NETISR_POLL and NETISR_POLLMORE, which are no longer required for options DEVICE_POLLING. De-fragment the NETISR_ constant space and lower NETISR_MAXPROT from 32 to 16 -- when sizing queue arrays using this compile-time constant, significant amounts of memory are saved. Warn on the console when tunable values for netisr are automatically adjusted during boot due to exceeding limits, invalid values, or as a result of DEVICE_POLLING. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-06-01T15:30:18.414698Z K 7 svn:log V 387 Merge fixes from p4: * Tighten v1 query input processing. * Borrow changes from MLDv2 for how general queries are processed. * Do address field validation upfront before accepting input. * Do NOT switch protocol version if old querier present timer active. * Always clear IGMPv3 state in igmp_v3_cancel_link_timers(). * Update comments. Tested by: deeptech71 at gmail dot com END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-01T15:49:42.134135Z K 7 svn:log V 498 Convert the two dimensional array to be malloced and introduce an accessor function to get the correct rnh pointer back. Update netstat to get the correct pointer using kvm_read() as well. This not only fixes the ABI problem depending on the kernel option but also permits the tunable to overwrite the kernel option at boot time up to MAXFIBS, enlarging the number of FIBs without having to recompile. So people could just use GENERIC now. Reviewed by: julian, rwatson, zec X-MFC: not possible END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T16:00:36.567975Z K 7 svn:log V 73 Update UPDATING for NETISR2 merge, fix a typo in another UPDATING entry. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T16:13:06.430242Z K 7 svn:log V 218 Add 'sy_flags', a currently unused per-syscall entry flags field that will see future use in 9-CURRENT and 8-STABLE for features such as the capability-mode enable flag and pay-as-you-audit. Discussed with: jhb, sson END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T16:14:38.267906Z K 7 svn:log V 82 Regenerate generated syscall files following changes to struct sysent in r193234. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-06-01T16:22:01.218067Z K 7 svn:log V 99 Add a comment about what may be happening when we get certain messages. No change to actual code. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-06-01T16:27:13.130387Z K 7 svn:log V 89 Make sure that we drain the LED blinking callout on detach. Submitted by: Paul B. Mahol END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-06-01T16:29:03.947942Z K 7 svn:log V 153 Move the unlock to after the ifdef (maybe the right fix is to remove the ifdef) since it calls bwi_start_locked, which expects to the lock to be held... END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-01T16:36:28.608707Z K 7 svn:log V 78 pad data structures to enable integration of future features w/o abi breakage END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-01T18:07:01.789117Z K 7 svn:log V 51 driver for Marvell 88W8363 Wireless LAN controller END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-01T18:07:38.681947Z K 7 svn:log V 175 Decrement __FreeBSD_version again to 96 as we are runing out of digits and want to be conservative - so not more than one version bump per day. Discussed with: jhb, kensmith END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-01T18:27:16.678311Z K 7 svn:log V 21 tools for mwl driver END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T18:38:36.024237Z K 7 svn:log V 209 Revert a recent netisr2 change: when billing packets to the current CPU, don't lock the workstream, as its mutexes may not have been initialized if there are fewer workstreams than CPUs. Run into by: hps, ps END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-01T18:42:16.985664Z K 7 svn:log V 58 Code cleanups to make this WARNS=6 clean. PR: bin/96128 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-01T18:43:33.572886Z K 7 svn:log V 17 Mark as WARNS=6. END K 10 svn:author V 4 joel K 8 svn:date V 27 2009-06-01T18:58:46.995478Z K 7 svn:log V 336 - Remove obsolete and confusing comment about renaming "sound" to "snd". We will look at renaming stuff for 9.0, but it's far from certain that we will do it this way. - Sort sysctl's alphabetically. I'll add a bunch of new sysctl's once ariff's next mega-patch goes in, and having everything sorted makes my job easier. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-01T19:06:08.822456Z K 7 svn:log V 73 Revert the WARNS change for now, need some time to fix the real problem. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-01T19:10:17.710967Z K 7 svn:log V 42 Add myself for ACPICA import preparation. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-01T19:16:31.969744Z K 7 svn:log V 62 Restore directory structures from actual vendor distribution. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-06-01T19:16:57.338512Z K 7 svn:log V 262 Set an rx jumbo cluster to the correct size before using bus_dmamap_load_mbuf_sg() on it. This prevents data corruption when the mxge MTU is between 4076 and 8172 on machines with 4KB pages and MXGE_VIRT_JUMBOS is in use (which it isn't, in -current or -stable) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-01T19:24:26.662943Z K 7 svn:log V 72 Temporarily revert system includes fixups to make future import easier. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-06-01T20:00:39.571083Z K 7 svn:log V 50 Remove myself now that the BIND 9.6 drama is over END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-06-01T20:14:05.488575Z K 7 svn:log V 73 Add a comment about the new dist-9.4 directory and using it for 7-stable END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-01T20:21:13.810378Z K 7 svn:log V 92 Re-tag ACPI-CA 20070320. This is not really pristine vendor distribution but close enough. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-01T20:26:51.586575Z K 7 svn:log V 252 Add a flags field to struct ucred, and export that via kinfo_proc, consuming one of its spare fields. The cr_flags field is currently unused, but will be used for features, including capability mode and pay-as-you-go audit. Discussed with: jhb, sson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-01T20:27:14.544600Z K 7 svn:log V 22 Adjust some comments. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-01T20:30:00.277125Z K 7 svn:log V 147 Add an internal pci_printf() routine similar to device_printf() except that it prefixes the output with 'pci:::: '. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-01T20:34:00.467193Z K 7 svn:log V 160 Change the "-4" option flag to "-e" since it does not refer to IPv4 and to make it consistent with the flag used by nfsd and mountd. Approved by: kib (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-01T20:35:09.096065Z K 7 svn:log V 112 Move subdirectoies of interpreter one level up as it is done in the vendor distribution tarball since 20080514. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-01T20:35:39.169822Z K 7 svn:log V 501 Add a simple API to manage scatter/gather lists of phyiscal addresses. Each list describes a logical memory object that is backed by one or more physical address ranges. To minimize locking, the sglist objects themselves are immutable once they are shared. These objects may be used in the future to facilitate I/O requests using physically-addressed buffers. For the immediate future I plan to use them to implement a new type of VM object and pager. Reviewed by: jeff, scottl MFC after: 1 month END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-01T20:41:33.351332Z K 7 svn:log V 96 Initial try at implementing path discovery from our node. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-01T20:42:27.868986Z K 7 svn:log V 165 Split linux_accept() syscall onto linux_accept_common() which should be used by linuxulator and linux_accept() itself. Approved by: kib (mentor) MFC after: 1 month END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-01T20:44:58.762313Z K 7 svn:log V 199 Implement a variation of the accept_common() which takes a flags argument. Do not preserve td_retval before kern_fcntl(F_SETFL) as it does not changed. Approved by: kib (mentor) MFC after: 1 month END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-01T20:48:39.946170Z K 7 svn:log V 73 Implement accept4 syscall. Approved by: kib (mentor) MFC after: 1 month END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-01T20:54:41.776745Z K 7 svn:log V 95 Add forgotten in previous commit flags argument. Approved by: kib (mentor) MFC after: 1 month END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-06-01T20:59:40.149301Z K 7 svn:log V 178 Remove an #undef MIN that slipped under the radar and led me to hastily introduce an #define MIN() a few lines below in r191816. Approved by: julian (mentor) Discussed with: bz END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-01T21:02:40.449019Z K 7 svn:log V 61 Import ACPICA 20090521 (with three patches from ACPICA GIT). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-01T21:07:54.232575Z K 7 svn:log V 121 Initialize the match structure. This is unnecessary but gcc insists to complain about it when we raise the WARNS level. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-01T21:10:19.047017Z K 7 svn:log V 64 Rename discover function. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-06-01T21:10:23.246121Z K 7 svn:log V 110 Update VNET base pointer setting macro to use a correct source of vnet context. Approved by: julian (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-01T21:13:38.879485Z K 7 svn:log V 21 Tag ACPICA 20090521. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-01T21:17:03.511688Z K 7 svn:log V 1800 Rework socket upcalls to close some races with setup/teardown of upcalls. - Each socket upcall is now invoked with the appropriate socket buffer locked. It is not permissible to call soisconnected() with this lock held; however, so socket upcalls now return an integer value. The two possible values are SU_OK and SU_ISCONNECTED. If an upcall returns SU_ISCONNECTED, then the soisconnected() will be invoked on the socket after the socket buffer lock is dropped. - A new API is provided for setting and clearing socket upcalls. The API consists of soupcall_set() and soupcall_clear(). - To simplify locking, each socket buffer now has a separate upcall. - When a socket upcall returns SU_ISCONNECTED, the upcall is cleared from the receive socket buffer automatically. Note that a SO_SND upcall should never return SU_ISCONNECTED. - All this means that accept filters should now return SU_ISCONNECTED instead of calling soisconnected() directly. They also no longer need to explicitly clear the upcall on the new socket. - The HTTP accept filter still uses soupcall_set() to manage its internal state machine, but other accept filters no longer have any explicit knowlege of socket upcall internals aside from their return value. - The various RPC client upcalls currently drop the socket buffer lock while invoking soreceive() as a temporary band-aid. The plan for the future is to add a new flag to allow soreceive() to be called with the socket buffer locked. - The AIO callback for socket I/O is now also invoked with the socket buffer locked. Previously sowakeup() would drop the socket buffer lock only to call aio_swake() which immediately re-acquired the socket buffer lock for the duration of the function call. Discussed with: rwatson, rmacklem END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-01T21:26:52.747764Z K 7 svn:log V 149 Fix segfault when giving invalid long option to pkg_info. PR: bin/133473 Submitted by: Rafal Grodzinski Approved by: ed (mentor) MFC after: 1 week END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-06-01T21:29:54.699127Z K 7 svn:log V 110 V_loif is not an array but a pure pointer, so treat it as such. Reviewed by: bz Approved by: julian (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-01T21:32:52.612895Z K 7 svn:log V 1009 Add an extension to the character device interface that allows character device drivers to use arbitrary VM objects to satisfy individual mmap() requests. - A new d_mmap_single(cdev, &foff, objsize, &object, prot) callback is added to cdevsw. This function is called for each mmap() request. If it returns ENODEV, then the mmap() request will fall back to using the device's device pager object and d_mmap(). Otherwise, the method can return a VM object to satisfy this entire mmap() request via *object. It can also modify the starting offset into this object via *foff. This allows device drivers to use the file offset as a cookie to identify specific VM objects. - vm_mmap_vnode() has been changed to call vm_mmap_cdev() directly when mapping V_CHR vnodes. This avoids duplicating all the cdev mmap handling code and simplifies some of vm_mmap_vnode(). - D_VERSION has been bumped to D_VERSION_02. Older device drivers using D_VERSION_01 are still supported. MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-01T21:38:44.014229Z K 7 svn:log V 49 Create a project tree for ACPICA 20090521 merge. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-01T21:42:26.586373Z K 7 svn:log V 51 MFp4. Log supported AHCI controller capabilities. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-01T21:54:22.170291Z K 7 svn:log V 45 Remove another d_thread_t use that crept in. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-06-01T21:54:59.565625Z K 7 svn:log V 24 - Add Hungarian catalog END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-06-01T21:58:59.096288Z K 7 svn:log V 138 Add support for the build options that are currently in the port: WITH_BIND_IDN WITH_BIND_LARGE_FILE WITH_BIND_SIGCHASE WITH_BIND_XML END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-06-01T22:05:08.177640Z K 7 svn:log V 149 Update note about IDN and XML support, and combine it with the note about IPv6 support Fix alphebetization of the new dnssec-keyfromlabel directory END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-01T22:09:42.129650Z K 7 svn:log V 58 memmove is defined in support.S on arm - don't compile in END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-06-01T22:14:45.874660Z K 7 svn:log V 57 Commit the updates to this file for the new BIND options END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-06-01T22:34:09.058172Z K 7 svn:log V 31 Increase NGROUPS_MAX to 32767. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-06-01T22:47:59.984297Z K 7 svn:log V 56 Add a note about the change to rcorder for pf and ipfw. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-06-01T23:53:15.406350Z K 7 svn:log V 59 Remove double-inserted END() macros. Reported by: sobomax END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T00:04:10.426002Z K 7 svn:log V 14 count packets END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T00:06:39.616608Z K 7 svn:log V 43 don't dispatch frames to vap's not running END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-02T00:21:30.882950Z K 7 svn:log V 98 Don't assume page register value is 0 and restore previous page register after issuing 'powerup'. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-02T00:21:47.115371Z K 7 svn:log V 39 fix pmap compile & link post integrate END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-02T00:30:30.905503Z K 7 svn:log V 255 Program LED registers for 88E1116/88E1149 PHYs. These PHYs are found on Marvell Yukon Ultra, Marvell Yukon Extreme controllers. While I'm here explicitly issue 'powerup' command for 88E1149 PHY. Tested by: jhb, Warren Block ( wblock <> wonkity dot com ) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T00:33:28.435336Z K 7 svn:log V 280 Fix monitor mode vaps to work as intended: o track # bpf taps on monitor mode vaps instead of # monitor mode vaps o spam monitor mode taps on tx/rx o fix ieee80211_radiotap_rx_all to dispatch frames only if the vap is up o while here print radiotap (and superg) state in show com END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-02T04:00:17.689789Z K 7 svn:log V 1000 Add preliminary Yukon Extreme support and register definitions. Yukon Extreme uses new descriptor format for TSO and has Tx frame parser which greatly reduces CPU cycles spent in computing TCP/UDP payload offset calculation in Tx checksum offloading path. The new descriptor format also removed TCP/UDP payload computation for TSO which in turn results in better TSO performance. It seems Yukon Extreme has a lot of new (unknown) features but only basic offloading is supported at this time. So far there are two known issues. o Sometimes Rx overrun errors happen when pulling data over gigabit link. Running over 100Mbps seem to ok. o Ethernet hardware address shows all-zeroed value on 88E8070. Assigning ethernet address with ifconfig is necessary to make it work. Support for Yukon Extreme is not perfect but it would be better than having a non-working device. Special thanks to jbh who fixed several bugs of initial patch. Tested by: jhb, Warren Block ( wblock <> wonkity dot com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-02T04:35:44.371540Z K 7 svn:log V 866 Add frame parser capability of Yukon FE+ and Yukon Extreme. With this feature hardware automatically computes TCP/UDP payload offset. Introduce MSK_FLAG_AUTOTX_CSUM to mark the capability. Yukon Extreme B0 revision is known to have a silicon for the feature so disable it. Yukon Extreme B0 still can do Tx checksum offloading but CPU have to compute TCP/UDP payload offset. To enable traditional checksum offloading, disable automatic Tx checksum calculation capability. Yukon Extreme A0 revision could not use store-and-forward mode for jumbo frames(silicon bug) so disable Tx checksum offloading for jumbo frames. I believe controllers that have MSK_FLAG_AUTOTX_CSUM capability or new descriptor format do not have Tx checksum offload bug so disable checksum offloading workaround for for short frames. Tested by: jhb, Warren Block ( wblock <> wonkity dot com ) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-02T04:44:38.109247Z K 7 svn:log V 335 MFC r191742,r191871: Linux socketpair() call expects explicit specified protocol for AF_LOCAL domain unlike FreeBSD which expects 0 in this case. 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. Approved by: kib (mentor) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2009-06-02T04:45:56.245385Z K 7 svn:log V 49 Catch up with the times: "mozilla" -> "firefox". END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-02T04:47:28.284151Z K 7 svn:log V 169 MFC r191875: Return EAFNOSUPPORT instead of EINVAL in case when the incorrect or unsupported domain argument to linux_socket() is specified. Approved by: kib (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-02T04:59:29.497665Z K 7 svn:log V 521 Add Rx checksum offloading support for Yukon FE+ and Yukon Extreme. These controllers use newer descriptor format and the new descriptor format uses status LE to indicate the status of checksum. Rx checksummed value used in previous controllers were very cryptic and I failed to understand how to use them. In addition most controllers in previous generations had Rx checksum offloading bug. While I'm here introduce a MSK_FLAG_NORX_CSUM flag to bypass checking Rx checksum offloading as Yukon FE+ A0 has status LE bug. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-02T05:08:57.196189Z K 7 svn:log V 145 Add Yukon Extreme device ids, 88E8071 and 88E8072. While I'm here correct description of 88E8070. 88E8070 is Yukon Extreme and have gigabit PHY. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-02T05:13:02.687178Z K 7 svn:log V 141 Add 88E8071, 88E8072 to the supported hardware list. While I'm here correct description of 88E8070. It's Yukon Extreme and have gigabit PHY. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-06-02T06:55:32.648828Z K 7 svn:log V 168 - Use an acquire barrier to increment f_count in fget_unlocked and remove the volatile cast. Describe the reason in detail in a comment. Discussed with: bde, jhb END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-06-02T07:35:51.408779Z K 7 svn:log V 414 Rather than using both -prune (which requires directory-first tree traversal) and -delete (which implies depth-first traversal), avoid using -delete in favour of -execdir. This has a side-effect of not removing directories that contain files, even if we delete all of those files, but IMHO that's a better option than specifying all possible local filesystem types in this script. PR: 122811 MFC after: 3 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-02T08:02:27.448833Z K 7 svn:log V 399 Correct a boundary case error in the management of a page's dirty bits by shm_dotruncate() and vnode_pager_setsize(). Specifically, if the length of a shared memory object or a file is truncated such that the length modulo the page size is between 1 and 511, then all of the page's dirty bits were cleared. Now, a dirty bit is cleared only if the corresponding block is truncated in its entirety. END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-06-02T09:25:56.666489Z K 7 svn:log V 70 MFC: Mention the danger of running programs using ``!''. PR: 112481 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-02T09:58:17.855310Z K 7 svn:log V 157 Add support for the four PUC serial interfaces found on IBM SurePOS 300 series POS terminals. MFC after: 3 days Submitted by: Marc Balmer END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-02T12:35:04.526300Z K 7 svn:log V 94 Include for va_*(). I'm not sure how this compiled on amd64 without this. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-06-02T13:03:35.613686Z K 7 svn:log V 124 Handle lock recursion differenty by always checking against LO_RECURSABLE instead the lock own flag itself. Tested by: pho END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T13:44:36.172468Z K 7 svn:log V 614 Remove window(1) from the base system. Some time ago Tom Rhodes sent me an email that he was willing to perform various cleanups to the window(1) source code. After some discussion, we both decided the best thing to do, was to move window(1) to the ports tree. The application isn't used a lot nowadays, mainly because it has been superseeded by screen, tmux, etc. A couple of hours ago Tom committed window(1) to ports (misc/window), so I'm removing it from the tree. I don't think people will really miss it, but I'm describing the change in UPDATING anyway. Discussed with: trhodes, pav, kib Approved by: re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-02T15:59:46.431651Z K 7 svn:log V 44 Remove unneeded include. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-06-02T16:48:10.833405Z K 7 svn:log V 196 In bwi_newstate, only zero the bssid when we stop a STA. And only when we've not stopped the card. It hangs the system when we touch the CSR after bwistop. This fixes the hanging on kldunload. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-06-02T16:52:33.835571Z K 7 svn:log V 284 Buf-ring fixes for mxge - always maintain byte/mcast/drop stats via drbr - move #define of IFNET_BUF_RING so that its picked up by all files in the driver - conditionalize IFNET_BUF_RING on the FreeBSD_version bump just after it appeared in the tree. Sponsored by: Myricom Inc. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T16:57:27.805674Z K 7 svn:log V 520 Remove hack used to deal with ifnet teardown now that if_detach and the bridge do a better job. o move ether_ifdetach to the top of ieee80211_detach o do not clear if_softc at the top of ieee80211_detach; we no longer need this because we are safeguarded against calls coming back through if_ioctl o simplify the bpf tracker now that we don't null if_softc This also fixes an issue where having a bpf consumer active when a vap is destroyed would cause a crash because bpf referenced free'd memory. Reviewed by: imp END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-02T17:27:51.698112Z K 7 svn:log V 90 Add libusb20_tr_get_length to get the transfer length. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-02T17:27:54.913070Z K 7 svn:log V 42 Re-enable WARNS=6 after my universe test. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-02T17:29:15.549343Z K 7 svn:log V 75 Staticize ukbd_detach and fix indentation. Submitted by: Sylvestre Gallon END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-02T17:30:18.352233Z K 7 svn:log V 143 Fix multithread issue where the is_uref variable was not set and cleared properly in the CDEV private data. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-02T17:31:16.075270Z K 7 svn:log V 78 Fix compile after the removal of bsd_udev. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-02T17:31:59.294728Z K 7 svn:log V 88 Reorgansise the logic for tranversing the pipe list. Submitted by: Hans Petter Selasky END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T17:36:42.761925Z K 7 svn:log V 32 Add my very own user directory! END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T17:41:44.880994Z K 7 svn:log V 34 Allow vendor dirs for LLVM/Clang. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T17:42:02.096231Z K 7 svn:log V 39 Add LLVM and Clang vendor directories. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T17:47:50.356208Z K 7 svn:log V 74 Give myself a ~100 MB sizelimit for now. I want to import Clang and LLVM. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T17:52:33.551355Z K 7 svn:log V 24 Import LLVM, at r72732. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T17:54:45.551045Z K 7 svn:log V 28 Tag the LLVM r72732 import. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-06-02T17:57:24.877595Z K 7 svn:log V 92 - Use volatile for signal variables. Suggested by: Jaakko Heinonen END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T17:58:47.974293Z K 7 svn:log V 25 Import Clang, at r72732. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T17:59:42.716162Z K 7 svn:log V 29 Tag the Clang r72732 import. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T18:03:38.159366Z K 7 svn:log V 28 Create the ClangBSD branch. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T18:05:51.129074Z K 7 svn:log V 14 Give us LLVM. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T18:06:41.228727Z K 7 svn:log V 15 Give us Clang! END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T18:07:17.587965Z K 7 svn:log V 54 Remove the size limit again. I've finished importing. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-02T18:26:17.737381Z K 7 svn:log V 767 Add internal 'mac_policy_count' counter to the MAC Framework, which is a count of the number of registered policies. Rather than unconditionally locking sockets before passing them into MAC, lock them in the MAC entry points only if mac_policy_count is non-zero. This avoids locking overhead for a number of socket system calls when no policies are registered, eliminating measurable overhead for the MAC Framework for the socket subsystem when there are no active policies. Possibly socket locks should be acquired by policies if they are required for socket labels, which would further avoid locking overhead when there are policies but they don't require labeling of sockets, or possibly don't even implement socket controls. Obtained from: TrustedBSD Project END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-06-02T18:30:09.224061Z K 7 svn:log V 97 Initialize iov and iovlen before use. Reported by: Lucius Windschuh END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-02T18:31:08.713856Z K 7 svn:log V 672 Remove MAC kernel config files and add "options MAC" to GENERIC, with the goal of shipping 8.0 with MAC support in the default kernel. No policies will be compiled in or enabled by default, but it will now be possible to load them at boot or runtime without a kernel recompile. While the framework is not believed to impose measurable overhead when no policies are loaded (a result of optimization over the past few months in HEAD), we'll continue to benchmark and optimize as the release approaches. Please keep an eye out for performance or functionality regressions that could be a result of this change. Approved by: re (kensmith) Obtained from: TrustedBSD Project END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-02T18:53:21.449654Z K 7 svn:log V 21 MFV: ACPICA 20090521 END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T18:53:21.989466Z K 7 svn:log V 178 move ifq_detach from if_detach to if_free; this permits callers to reference if_snd in the period between detach+free which helps simplify detach code Reviewed by: jhb, rwatson END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T18:55:27.461960Z K 7 svn:log V 89 move if_detach to the top of ieee80211_ifdetach to close various races Reviewed by: jhb END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-02T19:28:26.814786Z K 7 svn:log V 108 Place the fifo and ref counting variables on the stack to prevent races. Submitted by: Hans Petter Selasky END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-02T20:00:32.445120Z K 7 svn:log V 68 Fix include path fixup for contrib/dev/acpica/include/platform/*.h. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T20:00:43.974863Z K 7 svn:log V 171 partially fix mode setting; this no longer returns an error but still needs to handle the case where the vap is up+running Noticed by: "Paul B. Mahol" END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-02T20:02:58.742164Z K 7 svn:log V 30 Canonify include paths again. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T20:32:13.756122Z K 7 svn:log V 75 fix setting of ni_txrate Submitted by: "Paul B. Mahol" END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T20:35:15.512362Z K 7 svn:log V 263 Add Makefiles to build Clang. Right now it just builds an unpatched Clang. It doesn't use Clang to build anything yet. Not all applications in bin/ are actually built and installed. They are there to make it a little easier to debug some issues once in a while. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T20:40:23.790687Z K 7 svn:log V 283 Add local modifications to the Clang sources. - Custom include paths. Use proper relative pathnames, to prevent stock header files from being included during buildworld, etc. - Experimental ARM modifications. I haven't submitted these yet, because I haven't tested them enough. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-02T20:44:21.551879Z K 7 svn:log V 68 Remove function redeclaration. It was upstreamed but lost somehow. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-02T20:47:10.648455Z K 7 svn:log V 119 Add CLANG_IS_CC, which will install Clang as cc, instead of GCC. This also means it will build everything with Clang. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T20:48:12.714375Z K 7 svn:log V 9 fix typo END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T20:51:59.528554Z K 7 svn:log V 59 remove another vestige of the null if_softc on detach hack END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T21:11:26.592245Z K 7 svn:log V 39 restart tdma beacons after vap destroy END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T21:12:07.520631Z K 7 svn:log V 12 fix comment END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T21:13:57.491050Z K 7 svn:log V 41 count frag tx failures as an ifnet error END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-02T21:17:56.173528Z K 7 svn:log V 34 improve raw xmit failure handling END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-02T21:40:57.876460Z K 7 svn:log V 60 Fix previous commits. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-06-02T22:15:47.637831Z K 7 svn:log V 504 Add support for the experimental nfs subsystem to the scripts in /etc/rc.d. They use the following new rc variables: nfsv4_server_enable - set to "YES" to run the experimental server nfsuserd_enable - set to "YES" to run nfsuserd for NFSv4 client and server nfsuserd_flags - command line flags for nfsuserd nfscbd_enable - set to "YES" to run the experimental nfs client's NFSv4 callback daemon nfscbd_flags - command line flags for nfscbd Reviewed by: dougb Approved by: kib (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-02T22:22:09.737042Z K 7 svn:log V 362 Mark MAC Framework sx and rm locks as NOWITNESS to suppress warnings that might arise from WITNESS not understanding its locking protocol, which should be deadlock-free. Currently these warnings generally don't occur, but as object locking is pushed into policies for some object types, they would otherwise occur more often. Obtained from: TrustedBSD Project END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-02T22:31:57.860172Z K 7 svn:log V 55 Chase ACPICA API changes (for kernel and boot loader). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-02T22:52:58.416646Z K 7 svn:log V 30 Merge ACPI utilities as well. END K 10 svn:author V 7 davidch K 8 svn:date V 27 2009-06-02T23:30:02.514786Z K 7 svn:log V 83 - MFC BCM5709 PHY code to fix fix ukphy attachment and PHY write timeout errors. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-03T00:59:06.653942Z K 7 svn:log V 130 checkpoint cxgb cleanup: - remove cxgb_multiq.c - remove cxgb_support.c currently disabled / broken: - TOE - tx coalescing END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-03T01:06:21.131405Z K 7 svn:log V 17 fix WR_HDR usage END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-03T01:13:12.525516Z K 7 svn:log V 42 eliminate header_size deduction from mbuf END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-03T01:59:42.105142Z K 7 svn:log V 75 retrieve mbuf from software descriptor allocate 2k clusters from zone_pack END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-03T02:06:49.423043Z K 7 svn:log V 49 clear next pointers and set M_PKTHDR when needed END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-03T03:14:30.671421Z K 7 svn:log V 48 enable cxgb_transmit, remove OACTIVE flag check END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-03T03:42:00.908955Z K 7 svn:log V 91 stop using sx for port locks - this bit of cleverness causes more trouble than it is worth END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-06-03T04:10:22.652958Z K 7 svn:log V 158 calls callout_drain(9) to un-schedule a scan timer to prevent a page fault in softclock. Submitted by: sam Reviewed by: jhb, sam (original version), thompsa END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-03T08:05:53.351271Z K 7 svn:log V 285 MFC of tzdata2009h: - Fix coordinates of Africa/Gaborone, Pacific/Noumea, Pacific/Tongatapu, Europe/Vatican - Fix URLs (=3D -> = etc) - Jordan doesn't go at last Friday of March 00:00 but no last Thursday of March 24:00 - Specifically state license for the data: public domain END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-03T08:16:34.974789Z K 7 svn:log V 133 Use ISO C99 style inline semantics in msun. Because we use ISO C99 nowadays, we can just get rid of enforcing GNU89-style inlining. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-06-03T08:17:18.017597Z K 7 svn:log V 285 MFC of tzdata2009h: - Fix coordinates of Africa/Gaborone, Pacific/Noumea, Pacific/Tongatapu, Europe/Vatican - Fix URLs (=3D -> = etc) - Jordan doesn't go at last Friday of March 00:00 but no last Thursday of March 24:00 - Specifically state license for the data: public domain END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-03T08:21:11.389523Z K 7 svn:log V 129 Commit local msun changes. Apart from changes similar to r193368, I have to disable inline asm in msun, related to LLVM PR3678. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-03T08:49:44.691006Z K 7 svn:log V 321 By default, label all network interfaces as biba/equal on attach. This makes it easier for first-time users to configure and work with biba as remote acess is still allowed. Effectively, this means that, by default, only local security properties, not distributed ones, are enforced. Obtained from: TrustedBSD Project END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-06-03T09:23:31.108040Z K 7 svn:log V 17 Correct comment. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-06-03T09:24:58.812058Z K 7 svn:log V 107 lchflags(2) takes int, not u_long like chflags(2) and fchflags(2). Strange, isn't it? Pointed out by: bde END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-06-03T09:28:58.806768Z K 7 svn:log V 52 Where if not in examples we should follow style(9)? END K 10 svn:author V 3 snb K 8 svn:date V 27 2009-06-03T09:44:22.636906Z K 7 svn:log V 512 Add vm_lowmem event handler for dirhash. This will cause dirhashes to be deleted when the system is low on memory. This ought to allow an increase to vfs.ufs.dirhash_maxmem on machines that have lots of memory, without degrading performance by having too much memory reserved for dirhash when other things need it. The default value for dirhash_maxmem is being kept at 2MB for now, though. This work was mostly done during the 2008 Google Summer of Code. Approved by: dwmalone (mentor), re MFC after: 3 months END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-03T13:19:12.657845Z K 7 svn:log V 614 Add all local hacks to make apps build with Clang instead of GCC. - libcrypto: Disable inline assembly, because of LLVM PR3678. - libgcc: Build with GCC. Too many GCCisms. - csu: Clang somehow overoptimizes the out of bound array indexing. - gcc: Proper use of the inline keyword. - libzpool: Uses #pragma weak. LLVM PR3679. - librt: - rtld-elf: Places data in different sections than GCC, which triggers an assertion in rtld sources. Also uses #pragma weak. LLVM PR3679. - Several bootloaders: No support for -fno-unit-at-a-time. - loader: Issue with Clang's default library directories. To be investigated. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-06-03T13:25:50.723993Z K 7 svn:log V 945 - Sync our copies of ext2fs Linux headers to current Linux versions. Minimize differencies between our ext2fs headers and relevant Linux versions by using EXT2_SB macro to access the superblock fields. Most of the differencies in access to these fields are now hidden inside this macro. - Rename the s_db_per_group field of ext2fs_sb_info to s_gdb_count to reflect the similar change in Linux headers. New name also seem to be more appropriate for this field. - Use proper types for s_first_inode and s_inode_size in-core superblock fields. Now they reflec types used in the on-disk superblock version. - Add support for older filesystem revisions that doesn't have proper s_first_ino and s_inode_size fields in the on-disk superblock. In these cases predefined values for these fields are used. - Add simple sanity checks for s_first_inode and s_inode_size correctness. Reviewed by: bde (previous version) MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-03T13:28:00.167513Z K 7 svn:log V 54 Import LLVM, at r72770. This should fix LLVM PR4225. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-03T13:28:36.396455Z K 7 svn:log V 28 Tag the LLVM r72770 import. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-03T13:29:08.116005Z K 7 svn:log V 25 Import Clang, at r72770. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-03T13:29:37.579912Z K 7 svn:log V 29 Tag the Clang r72770 import. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-06-03T14:18:37.535454Z K 7 svn:log V 226 - Style(9) improvements. - Convert all K&R definitions to ANSI equialents. - Retire bsd_malloc and bsd_free macros and use malloc/free directly. - Drop some unused debugging calls. This commit brings no functional changes. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-03T16:04:21.215209Z K 7 svn:log V 112 Also build libc with GCC. It also needs #pragma weak. Not build libc with GCC causes things like PAM to break. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-06-03T16:04:27.786510Z K 7 svn:log V 46 remove branch, useful parts already merged in END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-06-03T16:10:08.690978Z K 7 svn:log V 62 create a branch for ipfw cleanup work in preparation for 8.0R END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-03T16:11:27.611458Z K 7 svn:log V 223 Integrate latest FreeBSD, LLVM and Clang sources. The LLVM developers fixed PR4225. Because we saw some random crashes in the ports build cluster related to this bug, I think it's important to have this bugfix integrated. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-03T16:28:29.122635Z K 7 svn:log V 117 Make GPT style partitiong endian-safe in U-Boot support library. Submitted by: Piotr Ziecik Obtained from: Semihalf END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2009-06-03T17:19:12.604978Z K 7 svn:log V 79 Trim an obsolete comment. Noticed by: lifengkai END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-03T17:25:19.954936Z K 7 svn:log V 96 treat IEEE80211_S_CSA as a "running state"; this fixes ap mode 11h channel switch announcements END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-06-03T17:30:10.452461Z K 7 svn:log V 250 - Remove unused sparc64-bitops.h file. Our ext2fs code doesn't use sparc64-specific bitops implemetations and relies on generic ones. Furthermore, bitops implementations present in sparc64-bitops.h are written in C similarly to generic bitops. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-03T18:46:28.819056Z K 7 svn:log V 1335 Continue work to optimize performance of "options MAC" when no MAC policy modules are loaded by avoiding mbuf label lookups when policies aren't loaded, pushing further socket locking into MAC policy modules, and avoiding locking MAC ifnet locks when no policies are loaded: - Check mac_policies_count before looking for mbuf MAC label m_tags in MAC Framework entry points. We will still pay label lookup costs if MAC policies are present but don't require labels (typically a single mbuf header field read, but perhaps further indirection if IPSEC or other m_tag consumers are in use). - Further push socket locking for socket-related access control checks and events into MAC policies from the MAC Framework, so that sockets are only locked if a policy specifically requires a lock to protect a label. This resolves lock order issues during sonewconn() and also in local domain socket cross-connect where multiple socket locks could not be held at once for the purposes of propagatig MAC labels across multiple sockets. Eliminate mac_policy_count check in some entry points where it no longer avoids locking. - Add mac_policy_count checking in some entry points relating to network interfaces that otherwise lock a global MAC ifnet lock used to protect ifnet labels. Obtained from: TrustedBSD Project END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-06-03T19:31:26.743299Z K 7 svn:log V 78 Adjust the padding of struct pcpu to r193219. Submitted by: Eygene Ryabinkin END