summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-02-12Back out per-CPU kernel profiling, it shouldn't modify a public headerMartin Pieuchot
at this moment.
2013-02-11Fix kernel profiling on MP systems by using per-CPU buffer. PreviouslyMartin Pieuchot
various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok mikeb@, haesbaert@
2013-02-11When information about threads are not requested sum the '%cpu' ofMartin Pieuchot
all threads in a process instead of returning only the '%cpu' for the main thread. This makes top(1) display the correct percentage of CPU usage for threaded processes when theads are not displayed. ok sthen@, mikeb@
2013-02-10switch m68k ports to gcc3Miod Vallat
2013-02-10Don't wait for memory from pool while holding vm_map_lock or we canBob Beck
deadlock ourselves - based on an infrequent hang caught by sthen, and diagnosed by kettenis and me. Fix after some iterations is to simply call uvm_map_allocate and allocate the map entry before grabbing the lock so we don't wait while holding the lock. ok miod@ kettenis@
2013-02-09- Use a switch statement for setting the chipset flagsBrad Smith
- Add some macros for working with the various newer generations of chipsets - Make use of the 5717 macro in a few places - Add some bits for identifying and supporting some of the newer chipsets ok sthen@
2013-02-09Remove no longer used struct emul extern declarations.Miod Vallat
2013-02-09Replace a bunch of if () else if () else if () else if () ... with thatMiod Vallat
modern brand new construct known as `switch'.
2013-02-09Add explicit __attribute__ ((__format__(__kprintf__)))) to the functions andMiod Vallat
function pointer arguments which are {used as,} wrappers around the kernel printf function. No functional change.
2013-02-09Grammar, typosMiod Vallat
2013-02-09No longer #ifdef BUS_SPACE_MAP_PREFETCHABLE, as all <machine/bus.h> areMiod Vallat
expcted to provide it nowadays.
2013-02-09ater -> afterMiod Vallat
2013-02-09Blame the right function when panic'ing.Miod Vallat
2013-02-09Fix indent, add RCS IdMiod Vallat
2013-02-09No longer define EXEC_SCRIPT (probably coming from old PefoBSD). Also,Miod Vallat
DB_ELFSIZE ought to be defined in <machine/db_machdep.h>, not <machine/exec.h>
2013-02-09No longer define the a.out relocation format struct.Miod Vallat
2013-02-09Do not bother defining cpu_exec_aout_makecmds() on platforms where we no longerMiod Vallat
(or never did) support a.out binaries (i.e. where _KERN_DO_AOUT is not defined).
2013-02-09Programme the VT6105M, VT6105 and RhineII-2 to permit frames of up toStuart Henderson
1758 bytes (MTU 1740) and raise hardmtu to allow the user to set them. Tests by Mark Patruck, Michal Markowski, mikeb, beck, dtucker. ok mikeb@
2013-02-09Allow the user to configure an MTU of up to 1518, which does not requireStuart Henderson
any additional chip reprogramming, and is tested to work fine on DP83815. ok mikeb@
2013-02-08- remove ununsed PCI_ANY_ID macrosJasper Lievisse Adriaanse
ok dlg@
2013-02-08add another DFE-530TX+Jasper Lievisse Adriaanse
ok sthen@
2013-02-08regenJasper Lievisse Adriaanse
2013-02-08add another DFE-530TX+ which happens to have a quirky vendor ID. use that IDJasper Lievisse Adriaanse
instead of going down the PCI_ANY_ID path. as discussed with and ok by sthen@
2013-02-08Insufficient levels of hops in the local brew led to Theo and I muckingPhilip Guenther
up the VFS calls in the error paths in coredump() Pointed out by armani@, ok beck@
2013-02-07Bring back reserve enforcement and page daemon wakeup into uvm_pglistalloc,Bob Beck
It was removed as this function was redone to use pmemrange in mid 2010 with the result that kernel malloc and other users of this function can consume the page daemon reserve and run us out of memory. ok kettenis@
2013-02-07make sure the page daemon considers BUFPAGES_INACT when decidingBob Beck
to do work, just as is done when waking it up. tested by me, phessler@, espie@, landry@ ok kettenis@
2013-02-07Sync.Paul Irofti
2013-02-07Add Radeon HD 7290.Paul Irofti
Found in a dmesg from Carsten Kunze on bugs@. Okay brynet@.
2013-02-07Remove dead code.Martin Pieuchot
ok mikeb@
2013-02-07convert mbuf tags to use pool(9) as a backend storage;Mike Belopuhov
ok markus claudio haesbaert henning
2013-02-06add pppx(4) interfaces to the "pppx" interface group, as done for variousStuart Henderson
other interface types. suggested/tested Mattieu Baptiste, ok dlg@ yasuoka@ giovanni@, ifconfig(8) reminder jmc@
2013-02-06Check for __PIC__, not PIC, as some files in libc will only see the former.Miod Vallat
Fixes the few TEXTREL which crept in libc.so.
2013-02-05Make the inet6 and inet cases in in_pcbrtentry() look similar.Alexander Bluhm
No functional change. OK millert@
2013-02-05netflow v10 omitted the sysUpTime flow set header field fromFlorian Obser
v9. Without it it's not possible to find out at what time a flow started/ended with only flowStartSysUpTime/flowEndSysUpTime. Fix this by using flowStartSeconds/flowEndSeconds for v10. Problem reported by Chris Ivancic and Colin Ligertwood, analyzed by benno@ Tested by benno@ against nprobe (which doesn't care that much one way or the other) Tested by Chris Ivancic against solarwinds collector. OK benno@
2013-02-05Do not profile the various ipi functions. This is a requirement for theMartin Pieuchot
upcoming per-CPU profiling modifications and it does not make much sense to profile such low-level functions anyway. ok kettenis@, miod@
2013-02-04The firmware isn't always happy with the length of the "join BSS" commandMark Kettenis
that we send. It seems to want some extra padding, but it isn't entirely clear how much. So pass the size of the entire buffer that we allocate for this command instead, which seems to always work. ok stsp@
2013-02-04Set sa_len correctly for PF_INET (and be consistent with the PF_INET6Todd C. Miller
case). On our platforms, sizeof(struct sockaddr) matches sizeof(struct sockaddr_in) so this hasn't caused problems but it is still incorrect. From Anthony Low. OK martynas@ bluhm@
2013-02-04some stuff i found in old storedge 3500 disk trays seem to work fine.David Gwynne
2013-02-03Let the octeon kernel link properly.Brian Callahan
ok miod@
2013-02-02- remove product/vendor table and let the driver attach based on class, etc.Federico G. Schwindt
- print what type of device is. tested by sthen@. similar diff tested by jasper@ and gonzalo@. ok mpi@ and sthen@ if you have one of these devices please give it a try and mail the details.
2013-02-02mvme68k ELF bits. Boot block updates heavily based upon the recent mvme88kMiod Vallat
a.out->ELF transition.
2013-02-02hp300 ELF bits. Requires many device and prom related structs to now be declaredMiod Vallat
as packed due to them containing 32-bit types at 16-bit but not 32-bit aligned offsets. The boot block updates (especially mkboot) come straight from NetBSD.
2013-02-02Kernel bits for m68k/ELF, mostly from NetBSD. In addition, the `pmod' symbelMiod Vallat
in fpsp has to be renamed due to a clash with other parts of the kernel.
2013-02-01Rewrite the receive filter handling code and cleanup the ioctl bits.Brad Smith
ok jsg@ krw@
2013-01-31welcome to 5.3-BETAMiod Vallat
2013-01-30In doreadlinkat(), only access auio.uio_resid if it's already beenMatthew Dempsky
initialized. (In the case where it wasn't initialized, the computed *retval ends up getting clobbered by the EINVAL error anyway so it's not an info leak, but it's still technically undefined behavior.) pointed out by Maxime Villard on tech ok guenther
2013-01-30backout 5718/5719/5720 support. the diff breaks the 5704C on my xserve g5David Gwynne
and i cant fix it without breaking a 5721 in another box. sthen@ agrees it is sad.
2013-01-297 &&'ed elements in a single KASSERT involving complex tests is just painfulBob Beck
when you hit it. Separate out these tests. ok millert@ kettenis@, phessler@, with miod@ bikeshedding.
2013-01-29Rewrite the receive filter handling code and cleanup the ioctl bits.Brad Smith
ok sthen@
2013-01-29- Set ENETRESET within myx_ioctl() instead of calling myx_iff() directly, to beBrad Smith
consistent with other drivers. - Clear IFF_ALLMULTI flag early and at the top of myx_iff(). - Set IFF_ALLMULTI when in promisc mode. ok dlg@