summaryrefslogtreecommitdiff
path: root/sys/conf
AgeCommit message (Collapse)Author
2016-11-30Enable mira in kernel builds.Stefan Sperling
For now, only build mira if the iwm(4) or iwn(4) drivers are also built since other wifi drivers don't even have 11n support yet. This limits platforms affected by this change to i386 and amd64. make release on i386/amd64 platforms tested by tb@ (thanks!) ok tb@ mpi@ kettenis@
2016-11-29Build kernel with DEBUG=-g by default.Martin Pieuchot
This will allow us to extract type informations from DWARF2 sections. It also makes developer life easier as debug information are now included in every object. Resulting kernels will be stripped using strip(1) instead of ld(1). Kernel build time increases by approximately 10%. However it is still possible to disable this by defining DEBUG="". ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@
2016-11-14Remove radix_mpath dragons.Martin Pieuchot
This code insn't used since ART is the default. ok vgross@
2016-10-21add generalised access to per cpu data structures and counters.David Gwynne
both the cpumem and counters api simply allocates memory for each cpu in the system that can be used for arbitrary per cpu data (via cpumem), or a versioned set of counters per cpu (counters). there is an alternate backend for uniprocessor systems that basically turns the percpu data access into an immediate access to a single allocation. there is also support for percpu data structures that are available at boot time by providing an allocation for the boot cpu. after autoconf, these allocations have to be resized to provide for all cpus that were enumerated by boot. ok mpi@
2016-10-16Strip trailing obj/ from kernel build directories, so kernelsTheo Buehler
are again marked with GENERIC{,.MP} RAMDISK, etc. Problem noticed by several (jsg, semarie, ...) ok many (sthen, natano, millert, deraadt, ...) Explanations why quotes aren't necessary by even more. Thanks!
2016-09-18option INSECURE is obsoleteTheo de Raadt
2016-09-16teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64Jasper Lievisse Adriaanse
to lookup the number of function parameters. however having this basic facility allows us to expand it's usage. currently hidden behind the (disabled) DDBCTF kernel option as some of the required tools are not available in base yet. in addition to that one also needs recent bootblocks that load the .SUNW_ctf kernel section. discussed with mpi@ over many a cider and ale in cambridge feedback and ok guenther@ mpi@
2016-09-15enable the subr_tree version of red-black trees again.David Gwynne
the problem with the .h file pulling in sys/param.h for NULL, which in turn goes and pulls in a ton of MI insanity, has been fixed. ok deraadt@
2016-09-09disable subr_tree code for nowDavid Gwynne
2016-09-06zap bha, hiding outside dev/ treeTed Unangst
2016-09-05enable the subr_tree version of red-black treesDavid Gwynne
2016-09-04Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernelMartin Pieuchot
profiling framework. Code patching is used to enable probes when entering functions. The probes will call a mcount()-like function to match the behavior of a GPROF kernel. Currently only available on amd64 and guarded under DDBPROF. Support for other archs will follow soon. A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0 to be able to use this feature. Inputs and ok guenther@
2016-09-03Add in the (disabled) kernel glue for BFDPeter Hessler
OK claudio@, henning@
2016-09-01make the version symbol a fixed size (512) to reduce the potential forTed Unangst
bad effects when savecore reads beyond it ok deraadt (and thanks to bluhm for remembering that this happens)
2016-09-01Import switch(4), an in-kernel OpenFlow switch which can work alone.Kazuya Goda
switch(4) currently supports OpenFlow 1.3.5. Currently, it's disabled by the kernel config. With help from yasuoka@ reyk@ jsg@. ok deraadt@ yasuoka@ reyk@ henning@
2016-08-13Add the core of the code for dwge(4), a driver for the Synopsis DesignwareMark Kettenis
GMAC core which is used on the Allwinner A20 SoCs and later SoCs in the Allwinner family. Since this core is very likely to show up the base of other devices, it gets to live here in dev/ic. Ported from NetBSD (where it is named awge(4)) by patrick@. Some further fixes by me. ok deraadt@
2016-08-11fuse requires ufs_ihash.cMartin Natano
ok mpi
2016-08-05Switch the sunxi platform over to the new interrupt establish API. ThisMark Kettenis
involves turning sxiahci(4) into a real driver that dynamically attaches. ehci(4) now also attaches dynamically. ok jsg@, patrick@
2016-08-05imxahci(4) needs ahci.cMark Kettenis
2016-07-26pool debug dance, part deuxTed Unangst
2016-07-26Welcome to 6.0-current.Mark Kettenis
ok deraadt@
2016-07-25disable tmpfs because it receives zero maintainance.Theo de Raadt
2016-07-23do the pool debug release dance. ok deraadtTed Unangst
2016-07-15take us out of -betaTheo de Raadt
2016-06-17urtwn device now needs rtwn.c, even if rtwn device isn't builtPhilip Guenther
ok mpi@ jca@ mglocker@
2016-05-11crank to 6.0-betaTheo de Raadt
2016-05-06Revert the previous commit. There still are bad interactions between theMark Kettenis
pagedaemon and the buffer cache. requested by deraadt@
2016-05-03Stop using a soft-interrupt context to process incoming network packets.Martin Pieuchot
Use a new task that runs holding the KERNEL_LOCK to execute mp-unsafe code. Our current goal is to progressively move input functions to the unlocked task. This gives a small performance boost confirmed by Hrvoje Popovski's IPv4 forwarding measurement: before: after: send receive send receive 400kpps 400kpps 400kpps 400kpps 500kpps 500kpps 500kpps 500kpps 600kpps 600kpps 600kpps 600kpps 650kpps 650kpps 650kpps 640kpps 700kpps 700kpps 700kpps 700kpps 720kpps 640kpps 720kpps 710kpps 800kpps 640kpps 800kpps 650kpps 1.4Mpps 570kpps 1.4Mpps 590kpps 14Mpps 570kpps 14Mpps 590kpps ok kettenis@, bluhm@, dlg@
2016-04-25remove systraceTed Unangst
2016-04-25unlink systrace from the build. pledge is the glorious future that awaits.Ted Unangst
the rest of systrace to be deleted in a serious of followup commits. ok from larger openbsd developer community
2016-04-19Keep db_write_cmd() in the only place where it is used, just like we didMartin Pieuchot
with db_show_regs().
2016-04-18Bump the default of cachepercent to 90 to see if we can find problems beforeBob Beck
we try to remove it entirely ok deraadt@
2016-03-25Free some more space in kernel - for network code, of course - by removalVadim Zhukov
of three unused FS-related functions. okay mpi@ and beck@
2016-03-24Enable ART.Martin Pieuchot
Leave the define for the moment, this will be changed as soon as we're confident enough. "it must be a 3-line diff" krw@ ok bluhm@, mikeb@, dlg@, reyk@, deraadt@
2016-03-09Hook up dev/ic/rtwn.c -- should have been part of rtwn(4) split commit.Stefan Sperling
2016-03-09delete dangling vax referenceTheo de Raadt
2016-03-09Move db_show_regs() in the only file where it is used and turn it private.Martin Pieuchot
ok mlarkin@
2016-03-01Copy the stackgap_init() and stackgap_alloc() functions fromChristian Weisgerber
compat/common/compat_util.c to dev/systrace.c, the one place they are used, and remove the remaining kernel references to compat/*. ok visa@
2016-02-28Support for running Linux binaries under emulation is going away.Christian Weisgerber
Remove "option COMPAT_LINUX" and everything directly tied to it from the kernel and the corresponding man page documentation. ok visa@ guenther@
2016-02-25activate POOL_DEBUG during -current; miodTheo de Raadt
2016-02-25we are now hacking on 5.9-currentTheo de Raadt
2016-02-18Die, trailing whitespace, die!Kenneth R Westerback
2016-02-01move to -release modeJonathan Gray
requested by deraadt@
2016-01-06document the signify command for the next release, so that users canSebastian Benoit
verify before the netx upgrade. document that signify.1 needs an edit bump once in a while. ok tedu@ florian@
2016-01-06deactivate POOL_DEBUG for releaseSebastian Benoit
ok deraadt, jsg
2015-12-19move to 5.9-betaTheo de Raadt
2015-12-08split the interface send queue (struct ifqueue) implementation out.David Gwynne
the intention is to make it more clear what belongs to a transmit queue and what belongs to an interface. suggested by and ok mpi@
2015-12-03Implement etherip(4) driverKazuya Goda
This commit is not removing the existing EtherIP part of gif(4) and it keeps EtherIP of gif(4) working. ok jbg@ sthen@ mpi@ reyk@ yasuoka@
2015-12-01Split functions in if_bridge.c into if_bridge.c bridgectl.c .Kazuya Goda
Splitting functions in if_bridge.c into if_bridge.c for the forwarding part and bridgectl.c for the control part. It shouldn't have any functional change. ok reyk@ mpi@ yasuoka@
2015-11-06Do not compile net/radix_mpath.c in ART-enabled kernels.Martin Pieuchot
In such kernels multipath routing support is independant from the data structure used to perform the binary lookup. Is is implemented as a singly-listed list of route entries. This is possible because a "struct rtentry" is no longer mapped 1:1 to a node in the tree.