summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-05-29Use atomic operations to operate on netisr, instead of clearing it at splhigh.Miod Vallat
This changes nothing on legacy architectures, but is a bit faster (and simpler) on the interesting ones.
2007-05-29Beef up malo_hexdump() to emulate hexdump -C output. Helps to see hiddenClaudio Jeker
agendas in buffers that stupidly encode numbers as strings so that we need to parse them in the kernel as seen on che(4). OK mglocker@
2007-05-29gain another 5+% in ip forwarding performance.Henning Brauer
boring details: skip looking for ipsec tags and descending into ip_spd_lookup if there are no ipsec flows, except in one case in ip_output (spotted by markus) where we have to if we have a pcb. ip_spd_lookup has the shortcut already, but there is enough work done before so that skipping that gains us about 5%. ok theo, markus
2007-05-29missing couple of #ifdef DIAGNOSTIC and style nits from art@Bob Beck
2007-05-29Fix bus_dmamap_sync size argument.Alexander Yurchenko
2007-05-29Kill stale commentMarco Peereboom
2007-05-29Fix race in sync code.Marco Peereboom
2007-05-29Collapse the __partition_u1 union in struct disklabel,Thordur I. Bjornsson
keep p_cpg around since its need. remove p_sgs. ok otto@,krw@
2007-05-29Nuke the predefined vattr, it was only used for !DIAGNOSTIC,Thordur I. Bjornsson
this shrinks the i386 RAMDISK a bit. (Using the predefined vattr for GENERIC meant a growth of 416bytes without any measurable perfomance gain). ok krw@, art@
2007-05-29TAILQ_LAST takes two arguments.Pierre-Yves Ritschard
2007-05-29adapt from netbsd:Nikolay Sturm
fold sys_shmat1() back into sys_shmat(), instead add flag for shmget(2) to specify that later shmat(2) for the shared memory segment should succeed even if the segment would be marked removed; use this to implement the Linux-compatible semantics of shmat(2) this fixes current opera with shm ok millert
2007-05-29use the right capitalization for `SBus'Igor Sobrado
ok jmc@
2007-05-29use the right capitalization for `MBus' and `SBus'Igor Sobrado
ok jmc@
2007-05-29use the right capitalization for `MBus'Igor Sobrado
ok jmc@
2007-05-29Add global variable apm_attached, machine dependant probe routine for ACPIGordon Willem Klok
will check this flag durring probe, meaning that if the machine has APM ACPI will not attach. This should remove one obstacle on the road to enabling ACPI by default. ok marco, dreaadt, art, krw, art
2007-05-29forgot to move to using shared boot.cTheo de Raadt
2007-05-29Re-add sync.Marco Peereboom
ok tedu
2007-05-29theo says degrees is spelled degreesTed Unangst
2007-05-29code typoTheo de Raadt
2007-05-29typoTheo de Raadt
2007-05-29put the temperature msr in line with the othersTed Unangst
2007-05-29Correct fix for the last backout use strlcpy() to fill dv_xname. OK beck@Claudio Jeker
2007-05-29Some improvements for better intel cpu support.Ted Unangst
Add EST support from i386, minus the tables Also add in support for CPU temperature sensors, based on diff to tech by Pierre Riteau. ok deraadt gwk
2007-05-29back out last commit. It helps to compile before commiting. OK beck@ art@Claudio Jeker
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
free room in struct partition by packing fragment size and fragments/block more tighlty and use the resulting space to make offset and size 48 bits. For the disk part we use spare fields in struct disklabel. Kernel converts in-mem copy of the on-disk label if needed, disklabel(8) writes new version. We are careful to only change fields not used by bootloaders. Conception of basic scheme by deraadt. ok deraadt@ krw@
2007-05-29work around really bad softc abuse by marco; proper fixes for this willTheo de Raadt
be part of a later rototilling
2007-05-29IMP is dead and nothing uses NETISR_IMP so remove it from the netisr list.Claudio Jeker
OK henning@ mcbride@
2007-05-29 Step one of some vnode improvements - change getnewvnode toBob Beck
actually allocate "desiredvnodes" - add a vdrop to un-hold a vnode held with vhold, and change the name cache to make use of vhold/vdrop, while keeping track of which vnodes are referred to by which cache entries to correctly hold/drop vnodes when the cache uses them. ok thib@, tedu@, art@
2007-05-29Refactor readdisklabel() to ensure there is a single point of return, inKenneth R Westerback
preparation for translating all disk labels visible to the kernel to the soon to arrive V1 format. ok otto@ deraadt@
2007-05-29Add led(4).Mark Kettenis
2007-05-29New driver for front panel LEDs on the V215/245.Mark Kettenis
2007-05-29byebyeTed Unangst
2007-05-29regenTed Unangst
2007-05-29linux_getcwd is the same as the system one.Ted Unangst
discovered/ok beck
2007-05-29Fix compilation of kernels without I686_CPU: piixpcib is alwaysTom Cosgrove
needed (not just for I686_CPU), but it and ichpcib only call the update_cpuspeed functions for I686_CPU. ok tedu@ deraadt@
2007-05-29Remove a debugging printf left behind by accident.Artur Grabowski
2007-05-29PMAP_STEAL_MEMORY for amd64Artur Grabowski
drahn@ ok
2007-05-29Spaces, no binary changes.Claudio Jeker
2007-05-29Sparc64 does not like 32 bit pointers. Bad me.Marco Peereboom
help tedu ok todd
2007-05-29Kill some #if define(__OtherBSD__). OK dlg@Claudio Jeker
2007-05-29gain us another 10+% of performance.Henning Brauer
boring details: long time ago (in r1.313) code was added to handle protocol checksums: > Check protocol (TCP/UDP/ICMP/ICMP6) checksums of all incoming packets, > and drop packets with invalid checksums. Without such a check, pf would > return RST/ICMP errors even for packets with invalid checksums, which > could be used to detect the presence of the firewall, reported by > "Ed White" in http://www.phrack.org/phrack/60/p60-0x0c.txt. that meant we did the checksumming for each and every packet traversing pf. now only do the checksumming right before we send an RST back, so in all other cases we save that work. ok bob theo
2007-05-29these standalone commands are never used anymore; ok tomTheo de Raadt
2007-05-29update comment re nosuidcoredump sysctljoshua stein
ok tedu
2007-05-29Add a name argument to the RWLOCK_INITIALIZER macro.Thordur I. Bjornsson
Pick reasonble names for the locks involved.. ok tedu@, art@
2007-05-29put suid coredumps into /var/crash if kern.nosuidcoredump is set to 2.Ted Unangst
makes debugging easier, docs in a bit ok beck deraadt
2007-05-29remove support for many alternative kernel choices -- only try /bsd andTheo de Raadt
not the other stupid names. that feature was retarded. tested on a few architectures by a few people
2007-05-28Revert accidental commit of acpi enabling. don't do that yet.Bob Beck
2007-05-28bob missed a file, zap zapTed Unangst
2007-05-28some remnants of the timestamping code i missedTed Unangst
2007-05-28fix C++ style commentChris Kuethe
from brad, ok deraadt