summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc_debug.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-11-06teach the side-effect free drivers about the partition they are dealingderaadt4-21/+35
by passing a start/length in the HIB_INIT op. Then rebase all hibernate-time block offsets to be relative to the start of that partition. This simplifies things a lot. ok mlarkin
2013-11-06regenstsp2-2/+7
2013-11-06Add RTS5229 Card Reader PCI ID. From Pedro Martelletto.stsp1-1/+2
2013-11-06Call the new MD hook before and after setting the power state of a device.mpi1-5/+17
This is actually a noop on all arches but ACPI ones, where it deals with Power Resources. ok kettenis@, deraadt@
2013-11-06Add support for Power Resources for Dx states and the necessary hookmpi9-88/+322
for PCI devices. This hook should be called twice, before and after changing the power state of a PCI device. Before setting the device to the new state, the ACPI layer will notify every power resources linked to the device for that state and make sure they are turned "_ON". After changing the state of the device, it will decrement the reference of every power resources linked to that device for the old state and turn them "_OFF" if they are no longer referenced. This fixes the no-USB after resume problem seen on various ThinkPad, problem initialy diagnosed with Alexander Polakov. ok kettenis@, deraadt@
2013-11-06fix format stringeric1-3/+3
2013-11-06fix assertion that could lead to orphaned messages left in the queueeric1-8/+10
after all envelopes are gone.
2013-11-06Much much improved config parser and related changes.eric16-753/+1348
Simplify code and do not impose an order on conditions and rule options. Format changes that may require smtpd.conf update for some setups: - SSL certificates are no longer automatically loaded, but must be explicitely declared using the "pki" keyword. - "certificate" option becomes "pki" in listener and accept rules. - "ssl://" becomes "secure://" in relay via rules. - "helo" becomes "hostnames" in relay rules New features: - accept rules do not need an explicit action, in which case alias table or .forward must provide one. - new "forward-only" action to force relaying and reject rcpts that expand as local delivery. - "!" (negation) modifier on rule matching conditions. - new "recipient" rule matching condition. - new "verify" option on listeners and relay rules to reject invalid certificates. Other changes: - remember the helo name advertised on incoming mail and use it for sending bounces. - bump envelope version (existing envelopes are updated on-the-fly).
2013-11-06dont leak ccbs in mpii_sas_remove_device. detaching lots (like, 1000) ofdlg1-1/+3
things could run you out of command slots without this.
2013-11-06remove some abuse of bufqs where they were overloaded to store workq_tasksdlg2-23/+12
for completing swap io against files. this in turn bloated struct buf. this moves from using workq_tasks to the task api, but stores the task handler in vndbuf which is allocated specially for every io in this path anyway. ok kettenis@ beck@
2013-11-06Errant assignment that snuck in long ago. Pointed out by deraadt@mlarkin1-3/+1
2013-11-05Fix ifconfig with IPv6 tunnel addresses which was broken by thebluhm1-2/+3
vxlan(4) commit. found by todd@; OK reyk@
2013-11-05Cleanup, no functional change:schwarze4-41/+12
1. avoid code duplication in rewinddir() by calling seekdir() directly 2. move __seekdir() into seekdir() and _telldir_unlocked() into telldir() Both functions were called from nowhere else. 3. remove some unused #include directives and one unused function prototype ok otto@ millert@
2013-11-05no more iop/ioprbs; ok deraadtjmc3-28/+6
2013-11-05avoid touching the signal traps during autoinstalluwe1-23/+25
With this, the installer finishes even when there are kernel messages output during the installation. :) original diff and ok halex@
2013-11-05octrng: Add name checks during match.pirofti1-1/+11
2013-11-05octrng: Fix control flags.pirofti1-4/+4
They had the wrong endian representation. Found the hardway by bcallah@. Thanks!
2013-11-05octrng: Disable debug by default.pirofti1-2/+1
2013-11-05syncderaadt28-125/+76
2013-11-05kill iop(4); spotted by jmcderaadt9-20/+9
2013-11-05Remove useless #ifdef *BSD cruft from sppp(4). No binary change.stsp1-94/+2
ok sthen
2013-11-05Sigh. How many typos can be made in one diff. Fix DL_SETPSOFFSET() tokrw1-3/+3
be DL_SETPOFFSET().
2013-11-05DL_SETDSIZE() and DL_SETPSIZE() are not the same thing. Use the latterkrw1-3/+3
to set partition size. Fixes tree breakage found by Scott McEachern.
2013-11-05Instead of comparing the lower and higher addresses of all the multicastmpi5-34/+21
entries to decide if the IFF_ALLMULTI flag should be set, check if there is at least one real range between them. This should not introduce any behavior change but will help changing our representation of multicast entries.
2013-11-05Add a stub for the new MD hook needed to handle ACPI Power Resources.mpi11-11/+22
ok kettenis@
2013-11-05Make sure seekdir(3) works even when dirp->dd_buf still contains someschwarze1-1/+2
pending entries: At the time of the lseek(2), also invalidate the buffer in order to force getdents(2) during the next readdir(3). Because this throws away buffered data that could still be used in some cases, this is not particularly efficient, but at least it works; i will suggest optimizations soon. Bug found when investigating perl-5.18.1/t/op/threads-dirh.t that was reported broken by Andrew Fresh <andrew at afresh1 dot com>. ok guenther@ deraadt@
2013-11-05Fix RAID levels 0, 4, 5, and 6 with partitions larger than 2TB.reyk3-8/+9
A 64bit bit operation with the 32bit strip size could overflow and result in ridiculously small volumes when using large partitions (eg. 4x 3TB in RAID 5 resulted in a ~2TB volume). It is fixed by casting the strip size to an unsigned 64bit value. ok tedu@ millert@ deraadt@
2013-11-05Change an #if 0 surrounding a debug printf into a DPRINTF instead.mlarkin1-4/+2
2013-11-05new function uvm_hibswap() finds a the largest free zone in swap, whichderaadt3-43/+50
hibernate can use place the data. ok mlarkin
2013-11-05Mention the TX checksum offload support.brad4-15/+16
2013-11-05remove pool constructors and destructors. theyre called for everydlg2-37/+5
get and put, so they dont save us anything by caching constructed objects. there were no real users of them, and this api was never documented. removing conditionals in a hot path cant be a bad idea either. ok deraadt@ krw@ kettenis@
2013-11-05Replace direct references to p_size, p_offset and d_secperunit withkrw12-58/+54
DL_[GET|SET]PSIZE(), DL_[GET|SET]POFFSET(), DL_[GET|SET]DSIZE() in order to get|set correct value that includes the high bits of the value.
2013-11-04Enable locking of fields using the acpi global lock if required. Seems to fixkettenis1-3/+3
a couple of machines and so far caused no regressions. Pt this in the tree now to get wider testing. ok deraadt@
2013-11-04substantial namespace cleanup. Might go a little bit too far, but wederaadt5-90/+98
can expose some of the kernel structures with split .h files if need be. Discussed with various, including jsing.
2013-11-04Rename beagle_machdep.c to omap_machdep.csyl2-2/+2
ok rapha@, jasper@, bmercer@, patrick@
2013-11-04fuse_opt_insert_arg() can take empty string as argument.syl1-2/+2
unbreak ntfs-3g. ok pirofti@
2013-11-04If compiled for hibernate, reserve the last page of the primary swapderaadt1-1/+14
space (in case we need to place a hibernate signature there) ok miod
2013-11-04improve a panic messagederaadt1-2/+2
2013-11-04A few too many tabs snuck in there.bcallah1-1/+1
2013-11-04Add RCS ID.bcallah1-0/+1
ok pirofti@ jasper@
2013-11-04more iop.h left; Mark Patruckderaadt3-7/+3
2013-11-04Use proper ANSI function definitions for functions that take nomillert2-21/+21
arguments. Avoids warnings when -Wold-style-definition is used. OK deraadt@
2013-11-04syncderaadt1-0/+1
2013-11-04Hook up nginx.conf(5) to the build.florian1-2/+2
put it in deraadt@, OK schwarze@
2013-11-04syncderaadt24-170/+0
2013-11-04remove iop(4) driver. it is entirely unmaintained and supports somethingderaadt56-6924/+60
which basically doesn't exist at all. reminded about it by brad
2013-11-04Test rekeying with all KexAlgorithms.dtucker1-3/+10
2013-11-04The radeondrm code that sets the DPMS mode may sleep, so it should not be runkettenis2-8/+29
from a timeout like our burner code does. Hand this off to a taskq. tracked down by claudio@ ok jsg@
2013-11-04Convert wskbd_set_mixervolume() to use a task internally instead ofmpi7-61/+68
being called in a workq. ok kettenis@
2013-11-04Use the async version of uhidev_set_report(), there's no need to sleepmpi1-2/+3
until the transfer is done when submitting a command since the answers are read from the interrupt and we cannot do much if it fails. ok sasano@