summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2017-11-24add timeout_barrier, which is like intr_barrier and taskq_barrier.David Gwynne
if you're trying to free something that a timeout is using, you have to wait for that timeout to finish running before doing the free. timeout_del can stop a timeout from running in the future, but it doesn't know if a timeout has finished being scheduled and is now running. previously you could know that timeouts are not running by simply masking softclock interrupts on the cpu running the kernel. however, code is now running outside the kernel lock, and timeouts can run in a thread instead of softclock. timeout_barrier solves the first problem by taking the kernel lock and then masking softclock interrupts. that is enough to ensure that any further timeout processing is waiting for those resources to run again. the second problem is solved by having timeout_barrier insert work into the thread. when that work runs, that means all previous work running in that thread has completed. fixes and ok visa@, who thinks this will be useful for his work too.
2017-11-23Add fibocom L831-EAU to umb manjob
Confirmed on Thinkpad X270
2017-11-23document minor changesMarc Espie
2017-11-21Delete mentions of the gettext module, which has been obsoleted and removed.Christian Weisgerber
2017-11-17add some missing markup; from artturi almJason McIntyre
2017-11-17Add the word "software" to our dictionary to help passing the testAlexander Bluhm
of Sub::Attribute Perl module. OK jmc@
2017-11-17add if_rxr_livelocked so rxr users can request backpressure themselves.David Gwynne
right now the rx ring moderation code makes a decision globally that a machine is livelocked, and uses that to apply backpressure on all the rx rings. we're moving toward having the network stack run on multiple cpus, and fed from multiple rx rings. if_rxr_livelocked lets a driver apply backpressure explicitely if something tells it that whatever is consuming previous packets cannot keep up. while here expose the current ring watermark with if_rxr_cwm. tweaks and ok visa@
2017-11-17the COMPILER transition mechanism is goneChristian Weisgerber
2017-11-16fix SEE ALSO;Jason McIntyre
2017-11-16Add PCI attachment for dwiic(4) needed by Intel 100 Series machinesJoshua Stein
ok kettenis
2017-11-16sync struct ifreq with if.h. ifr_vnetid is now a proper member ofTheo Buehler
struct ifreq and is no longer overloaded with ifr_metric. Moreover, ifr_index and ifr_llprio were missing and mandoc -Tlint complained about a "useless macro: Tn". ok jmc, benno, visa
2017-11-15wrap some long lines for function prototypes with .Fo, .Fa, and .Fc.David Gwynne
no functional change, ie, the output is the same
2017-11-14Set soname when building shared libraries.Mark Kettenis
ok guenther@
2017-11-13add taskq_barrierDavid Gwynne
taskq_barrier guarantees that any task that was running on the taskq has finished by the time taskq_barrier returns. it is similar to intr_barrier. this is needed for use in ifq_barrier as part of an upcoming change.
2017-11-13tweak previous;Jason McIntyre
2017-11-13add a generic packet rate matching filter. allows things likeHenning Brauer
pass in proto icmp max-pkt-rate 100/10 all packets matching the rule in the direction the state was created are taken into consideration (typically: requests, but not replies). Just like with the other max-*, the rule stops matching if the maximum is reached, so in typical scenarios the default block rule would kick in then. with input from Holger Mikolon ok mikeb
2017-11-10replace last instances of /dev/arandom with /dev/urandomChristian Weisgerber
2017-11-08/usr/share/compile -> relink; ok tbJason McIntyre
2017-11-05Consolidate lib.so.*.a, ld.so.a and the kernel relink kit intoRobert Peichaer
one location under /usr/share/relink. Be more specific in src/etc/rc reorder_libs() what filesystems need r/w remount and ensure that their mount state is restored. Idea and positive feedback from deraadt@ OK aja@ tb@
2017-11-03update reference to ports www page after it moved.Steven Mestdagh
ok jca@ tb@
2017-11-02Capability dc is supported by cu(1) since r1.22.remi
ok nicm@ danj@ jca@ jmc@
2017-11-02sundry tweaks; ok mpiJason McIntyre
2017-11-02syncMartin Pieuchot
2017-11-02Switch DEC 3000 (TURBOchannel) alpha serial code to MI z8530 code.Martin Pieuchot
ttyB* minor numbers change; be sure to rerun MAKEDEV if you do not upgrade with bsd.rd Adapted from NetBSD by miod@
2017-11-01add missing El, though i'm sort of guessing as to its position;Jason McIntyre
2017-11-01Update ruby-module.5 for default ruby version switch from 2.3 to 2.4Jeremy Evans
Also remove ruby 1.8, 2.1, and 2.2 information, as that support was removed. Additionally, extconf CONFIGURE_STYLE support was removed, so remove mention of that as well.
2017-10-30List bwfm(4) in usb(4).Patrick Wildt
Prompted by and ok jmc@
2017-10-30Fix grammar mistake I was supposed to fix before committing.Patrick Wildt
2017-10-30Add bwfm(4) manpage.Patrick Wildt
ok stsp@
2017-10-30Document {mtx,rw,rrw}_init_flags() and MUTEX_INITIALIZER_FLAGS().Visa Hankala
Input and OK jmc@, OK mpi@
2017-10-29Sync example with description.Martin Pieuchot
From Bryan Linton.
2017-10-27Allocate IPv6 reassembly structs using pools instead of malloc(),Visa Hankala
and drop the now redundant allocation type M_FTABLE. OK mikeb@, bluhm@, mpi@
2017-10-27Mention <elf.h> rather than <elf_abi.h> which is not portable.Martin Pieuchot
2017-10-26Build clang on armv7.Mark Kettenis
ok jsg@, patrick@, deraadt@
2017-10-25Remove the TCP_FACK option and associated #if{,n}def code.job
TCP_FACK was disabled by provos@ in June 1999. TCP_FACK is an algorithm that decides that when something is lost, all not SACKed packets until the most forward SACK are lost. It may be a correct estimate, if network does not reorder packets. OK visa@ mpi@ mikeb@
2017-10-24remove defines for ioctls the kernel doesn't recogniseJonathan Gray
ok mpi@
2017-10-23Update to tzdata2017c from ftp.iana.orgTodd C. Miller
2017-10-23Modernize documentation of .Ao and .Aq.Ingo Schwarze
I looked through our whole tree and failed to find a single use that is really convincing, except those with .Mt. Putting it around character and key names is somewhat widespread and maybe acceptable, even if hardly useful. So for now, delete the bogus examples and explain what these macros are really used for. Discourage the most common abuses. Triggered by a question from Raf Czlonka <rczlonka at gmail dot com>.
2017-10-23remove mention of unused MACOBIOVERBOSE and NBUF optionsJonathan Gray
2017-10-22TCP_SACK is no longer optional.job
OK mikeb@
2017-10-17add missing HISTORY; based on CVS logs and release announcementsIngo Schwarze
2017-10-17Full rewrite:Ingo Schwarze
Remove much that was outdated, misleading, or irrelevant. Add some lacking information instead. Joint work with deraadt@, using much feedback from guenther@ and naddy@, OK deraadt@ jmc@ naddy@.
2017-10-17remove the remaining references to .depend files since nothing creates themChristian Weisgerber
any longer; ok espie@ deraadt@
2017-10-16ifconfig's tunnel command has been using the SIOCSLIFPHYADDR ioctl(2)Martin Pieuchot
since 2001. Never too late to correct a lie.
2017-10-14tweak previous;Jason McIntyre
2017-10-13Integrate the description of flow queues into the main body of textMike Belopuhov
2017-10-12Copy comment for M_LOOP from header file to mbuf(9).Alexander Bluhm
2017-10-12some style fixes from ross l richardson;Jason McIntyre
checked by/ok bluhm
2017-10-11add em7345; from christoph r. murauerJason McIntyre
2017-10-06Kill the divert-packet socket option IP_DIVERTFL to filter packets.Alexander Bluhm
It used a loop over the global list divbtable that would be hard to make MP safe. The port net/dnsfilter does not work without this, it should be converted to divert-to. Neither other ports nor base use this filter feature. ports checked by sthen@; OK mpi@ benno@