Mihai Carabas [Fri, 10 Aug 2012 12:11:48 +0000]
sys/kern/usched_bsd4.c: set default usched_bsd4_upri_affinity to 16
Mihai Carabas [Thu, 9 Aug 2012 14:44:02 +0000]
sys/kern/usched_bsd4.c: improve batchy_looser_pri_test searching through the mask
Mihai Carabas [Thu, 9 Aug 2012 10:01:34 +0000]
sys/sys/cpu_topology.h: fix code style
Mihai Carabas [Thu, 9 Aug 2012 09:54:18 +0000]
ktr: add KTR_GLOBAL_BUFFER. Use only the buffer from cpu 0 for a consistent order of the evens. The entries are allocated atomicly
Mihai Carabas [Tue, 7 Aug 2012 23:25:30 +0000]
sys/kern/kern_ktr.c: added global timestamp option
Mihai Carabas [Tue, 7 Aug 2012 11:49:28 +0000]
sys/kern/usched_bsd4.c: fix batchy looser pri search mask
Mihai Carabas [Mon, 6 Aug 2012 19:45:26 +0000]
ktr: add new entry KTR_COND_LOG; usched: fix batchy looser mask bug
Mihai Carabas [Sun, 5 Aug 2012 19:52:55 +0000]
usched_bsd4: added posibility to configure the level you want cache-coherent heuristic to stick to
Mihai Carabas [Fri, 3 Aug 2012 18:53:49 +0000]
sys/kern/usched_bsd4.c: fix some KTR printings
Mihai Carabas [Fri, 3 Aug 2012 18:19:46 +0000]
sys/kern/usched_bsd4.c: clean-up code; add KTR debug prints
Mihai Carabas [Thu, 2 Aug 2012 22:43:29 +0000]
sys/kern/usched_bsd4.c: limit the HT searchings to the current socket
Mihai Carabas [Thu, 2 Aug 2012 22:31:30 +0000]
sys/kern/usched_bsd4.c: uncomment HT code
Mihai Carabas [Thu, 2 Aug 2012 17:18:49 +0000]
sys/kern/usched_bsd4.c: enable kprintf debug for a pid
Mihai Carabas [Tue, 31 Jul 2012 09:58:08 +0000]
sys/kern/usched_bsd4.c: clean usched_bsd4_smt_enable - has no benefical effect on scheduling
Mihai Carabas [Sun, 29 Jul 2012 18:55:27 +0000]
sys/platform/../mp_machdep.c: fix core_bits calculation for FUNC_B
Mihai Carabas [Thu, 26 Jul 2012 23:05:38 +0000]
sys/kern/usched_bsd4.c: fix lwkt_create (remove TDF_NOSTART - due to changed mechanism to tsleep/wakeup)
Mihai Carabas [Thu, 26 Jul 2012 18:06:48 +0000]
sys/kern/usched_bsd4.c: added smt pulling heuristic and a lot of debug kprintf and KTR
Mihai Carabas [Thu, 26 Jul 2012 18:00:21 +0000]
sys/kern/kern_clock.c: added support for sched_ticks in a LWP
Mihai Carabas [Tue, 10 Jul 2012 10:13:25 +0000]
sys/kern/usched_bsd4.c: fix cpu election when no free cpu is found
Mihai Carabas [Sun, 8 Jul 2012 18:37:42 +0000]
sys/kern/usched_bsd4.c: add cache hotness heuristic
Mihai Carabas [Sat, 30 Jun 2012 16:11:54 +0000]
CPU Topology: fix bug - apicid (get next valid apicid)
Mihai Carabas [Sat, 30 Jun 2012 15:11:06 +0000]
cpu_topology: fix bug - apicids aren't consecutive
Mihai Carabas [Sat, 30 Jun 2012 00:11:06 +0000]
cpu_topology: fix get_XXX_id - get the id from the APICID, not CPUID
Mihai Carabas [Fri, 29 Jun 2012 23:35:38 +0000]
cpu_topology: add some debug printfs
Mihai Carabas [Thu, 28 Jun 2012 16:41:58 +0000]
usched_bsd4: schedule the threads of a process on the same core
Mihai Carabas [Thu, 21 Jun 2012 15:41:35 +0000]
vkernel: fix some issues in formating the man 7 page for vkernel
Mihai Carabas [Thu, 21 Jun 2012 14:23:17 +0000]
vkernel: move the -b/-B paramters to -n as options (-n ncpus[:lbits[:cbits]])
Mihai Carabas [Thu, 21 Jun 2012 14:21:55 +0000]
vkernel: update vkernel.7 man for lbits and cbits options from -n parameter
Mihai Carabas [Mon, 18 Jun 2012 17:52:05 +0000]
vkernel: add argument -b|-B description in help output
Mihai Carabas [Mon, 18 Jun 2012 17:51:19 +0000]
mp_machdep.c: fix get_CHIP_id functions
Mihai Carabas [Mon, 18 Jun 2012 16:09:55 +0000]
sys/platform/vkernel/platform/init.c: forgot to add b:B: to getopt
Mihai Carabas [Mon, 18 Jun 2012 14:56:36 +0000]
sys/platform/pc64/x86_64/mp_machdep.c: remove kprintf debugging for AMD cpu
Mihai Carabas [Mon, 18 Jun 2012 14:55:58 +0000]
sys/platform/xxx/include/smp.h: some clean-up for non-SMP compilation
Mihai Carabas [Mon, 18 Jun 2012 08:52:15 +0000]
CPU Topology: guarding all the code with ifdef SMP. On UP there is nothing to do here
Mihai Carabas [Mon, 18 Jun 2012 08:51:30 +0000]
usched_bsd4: added init sysctl tree function for non-SMP
Mihai Carabas [Mon, 18 Jun 2012 08:49:07 +0000]
sys/platform/pc32/i386/mp_machdep.c: fix some issues to get working the vkernels
Mihai Carabas [Mon, 18 Jun 2012 08:48:36 +0000]
pc64/x86_64/mp_machdep.c: fix some issues to get working the vkernels
Mihai Carabas [Mon, 18 Jun 2012 08:47:15 +0000]
CPU topology: added support to build a custom CPU topology within a vkernel. New params: -b and -B
Mihai Carabas [Mon, 18 Jun 2012 08:46:54 +0000]
CPU topology: added support to build a custom CPU topology within a vkernel64. New params: -b and -B
Mihai Carabas [Sat, 16 Jun 2012 23:39:28 +0000]
sys/platform/pc32/i386/identcpu.c: fix compile error - unused variables cmp and htt
Mihai Carabas [Sat, 16 Jun 2012 18:42:21 +0000]
platform/pcXX/XXXX/identcpu.c: comment out the code for printing the number of cores. It is not complete, invalidates a bit for AMD cpus and this interfere with cpu topology detection. CPU core/package info will be obtain from sysctl "hw.cpu_topology.tree"
Mihai Carabas [Fri, 15 Jun 2012 19:25:33 +0000]
x86_64/identcpu.c: remove topology info from printcpuinfo() - the checks weren't coherent
Mihai Carabas [Fri, 15 Jun 2012 18:48:23 +0000]
x86_64/mp_machdep.c: more kprintf debug
Mihai Carabas [Fri, 15 Jun 2012 12:52:44 +0000]
x86_64/mp_machdep.c: add temporary debugging kprintf messages
Mihai Carabas [Fri, 15 Jun 2012 10:56:23 +0000]
usched_bsd4: add ht_enable sysctl option; make a sysctl leaf with usched_bsd4 configurable parameters; schedule decisions when ht_enable based on lwp_batch of the siblings
Mihai Carabas [Fri, 15 Jun 2012 10:54:11 +0000]
CPU Topology: fix coding style acording to man 9 style
Mihai Carabas [Wed, 13 Jun 2012 11:54:42 +0000]
subr_cpu_topology.c: fix comment and coding style
Mihai Carabas [Wed, 13 Jun 2012 11:54:22 +0000]
mp_machdep: fix comment and coding style
Mihai Carabas [Sat, 9 Jun 2012 20:11:47 +0000]
CPU Topology: fix spelling for sysctl physical_siblings entry
Mihai Carabas [Mon, 4 Jun 2012 20:29:28 +0000]
CPU Topology: fix compile errors for i386 - some missing constant defines
Mihai Carabas [Sun, 3 Jun 2012 19:15:12 +0000]
CPU Topology: rename by convention from cpu_topology.c to subr_cpu_topology.c
Mihai Carabas [Sun, 3 Jun 2012 15:08:46 +0000]
CPU Topology: check if there are any physical siblings before add the sysctl node
Mihai Carabas [Sun, 3 Jun 2012 15:08:06 +0000]
CPU Topology: add machdep detection for 32bit. NOT TESTED YET
Mihai Carabas [Sun, 3 Jun 2012 13:58:00 +0000]
CPU Topology: fix bug - don't create core_id leaf if there are only physical cpus
Mihai Carabas [Sun, 3 Jun 2012 12:49:18 +0000]
CPU Topology: sysctl information about cpus
Mihai Carabas [Sun, 3 Jun 2012 10:17:13 +0000]
usched_bsd4: added per CPU information about the cpunode they belong
Mihai Carabas [Sun, 3 Jun 2012 10:16:45 +0000]
CPU Topology - fix bug: use APICID in building the topology tree
Mihai Carabas [Sat, 2 Jun 2012 18:23:18 +0000]
CPU Topology: add init entry in sys/kernel.h
Mihai Carabas [Sat, 2 Jun 2012 17:53:08 +0000]
CPU Topology: fix tree print
Mihai Carabas [Sat, 2 Jun 2012 16:56:35 +0000]
CPU Topology: fix some compile errors
Mihai Carabas [Sat, 2 Jun 2012 15:47:06 +0000]
CPU Topology: Refactoring (split machdep and general code). Fix Intel detection bug.
Mihai Carabas [Fri, 1 Jun 2012 21:31:48 +0000]
x86_64: build CPU topology support
Mihai Carabas [Thu, 28 Jun 2012 10:46:33 +0000]
fix UP - PCI memory
Sepherosa Ziehau [Fri, 10 Aug 2012 08:22:44 +0000]
bce: Add TSO support
Obatined-from: FreeBSD
With following modification:
These chips can handle ip.ip_len and tcphdr.th_sum, if they are setup
according to Microsoft LSO specification, so ip.ip_len should not be
cleared and tcphdr.th_sum should be left as it is.
According-to: bnx2
Sepherosa Ziehau [Fri, 10 Aug 2012 06:20:49 +0000]
bce: Remove debug stuffs from polling code
Sepherosa Ziehau [Fri, 10 Aug 2012 06:19:15 +0000]
bce: Remove debug stuffs from output path
Antonio Huete Jimenez [Fri, 10 Aug 2012 08:42:07 +0000]
tuxload - Minor modifications.
- Add some output.
- First create the files, then mmap() them
Sepherosa Ziehau [Fri, 10 Aug 2012 04:51:59 +0000]
bce: Set RX interrupt rate ~6000Hz
Sepherosa Ziehau [Fri, 10 Aug 2012 04:36:17 +0000]
bce: Don't loop in the interrupt handler to drain TX/RX
Sepherosa Ziehau [Fri, 10 Aug 2012 02:27:13 +0000]
bce: Remove debug stuffs on RX/TX interrupt path
Sepherosa Ziehau [Fri, 10 Aug 2012 02:19:01 +0000]
bce: Remove debugging stuffs in interrupt handler
Sascha Wildner [Thu, 9 Aug 2012 19:15:53 +0000]
posix_memalign.3: Document aligned_alloc().
Sascha Wildner [Thu, 9 Aug 2012 17:42:46 +0000]
libc: Add a copyright to aligned_alloc.c
Sascha Wildner [Thu, 9 Aug 2012 17:39:11 +0000]
malloc.3: Remove a ,
François Tigeot [Thu, 9 Aug 2012 10:52:34 +0000]
ixgbe(4): Sync with FreeBSD
Update to the ixgbe driver:
- Add a couple of new devices
- Flow control changes in shared and core code
- Bug fix to Flow Director for 82598
- Shared code sync to internal with required core change
François Tigeot [Thu, 9 Aug 2012 08:47:55 +0000]
ixgbe: compilation fix for debug routines
The driver didn't build when DBG was set to 1.
Sascha Wildner [Thu, 9 Aug 2012 07:58:46 +0000]
at_quick_exit.3: Add an ERRORS section.
Submitted-by: vsrinivas
Sascha Wildner [Thu, 9 Aug 2012 07:58:31 +0000]
libc: Add a copyright to quick_exit.c
Reported-by: vsrinivas
Sascha Wildner [Thu, 9 Aug 2012 07:53:03 +0000]
<stdlib.h>: Adjust the visibility of our C11 functions.
Sascha Wildner [Thu, 9 Aug 2012 07:50:14 +0000]
Add at_quick_exit(3) and quick_exit(3) manual pages.
Taken-from: FreeBSD
Sascha Wildner [Thu, 9 Aug 2012 07:40:10 +0000]
mdoc: Let us refer to C11 in manual pages with ".St -isoC-2011".
John Marino [Wed, 8 Aug 2012 23:00:33 +0000]
xterm: Remove ability to restore console after man, less, etc.
Having a man page disappear before the read the end (if it indeed appears
at all) is pretty annoying. Equally annoying is using the "more" command
on a file with few lines only to see nothing. The default behavior of
xterm console had few fans.
This removes the smcup and rmcup codes from xterm-basic, the basis for
the xterm console definitions. Now man pages are left on the screen
after viewing, and the pagers work as expected.
Sepherosa Ziehau [Thu, 9 Aug 2012 06:56:45 +0000]
emx: Status change is protected by main serializer
No need to hold all of the serializers during a status poll
Sascha Wildner [Thu, 9 Aug 2012 00:56:25 +0000]
cut(1): Add back -w (split on whitespace functionality).
Reported-by: Tim Darby <t+dfbsd@timdarby.net>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2385>
John Marino [Wed, 8 Aug 2012 21:22:08 +0000]
cut: Sync with FreeBSD
Addresses:
http://bugs.dragonflybsd.org/issues/2385
reported-by: Tim Darby
Sascha Wildner [Wed, 8 Aug 2012 13:42:58 +0000]
hpt27xx(4): Use NULL for pointers.
Sascha Wildner [Wed, 8 Aug 2012 12:18:22 +0000]
Add the hpt27xx(4) driver for HighPoint RocketRAID 27xx SAS controllers.
The manual page mentions the following adapters to be supported:
* RocketRAID 271x
* RocketRAID 272x
* RocketRAID 274x
* RocketRAID 276x
* RocketRAID 278x
I have tested it with a RocketRAID 2720.
Taken-from: FreeBSD
Sepherosa Ziehau [Wed, 8 Aug 2012 13:11:11 +0000]
bnx: Disable RX max BDs based interrupt moderation
The RX max coalesce BDs is limited to 255, which means that the chip will
generate ~5800 interrupts/s when it sinks 1.48Mpps tiny packets. However,
interrupt rate at 4000Hz is already enough for the chip to sink 1.48Mpps
tiny packets, so ticks based RX interrupt moderation should be prefered.
Sepherosa Ziehau [Wed, 8 Aug 2012 11:11:03 +0000]
bnx: Allow TX/RX max coalesce BDs to be 0; mainly for debugging
Sepherosa Ziehau [Wed, 8 Aug 2012 08:35:53 +0000]
bnx: Correct debug messages
Sepherosa Ziehau [Wed, 8 Aug 2012 08:11:11 +0000]
bnx: Rearrange the code to check the spare TX descripors first
While im here, remove the useless fragmentation checksum code, which
is never supported by this driver
Sepherosa Ziehau [Wed, 8 Aug 2012 07:53:30 +0000]
bnx: Increase spare TX descriptors to 33 to incorporate TSO segment
Sepherosa Ziehau [Wed, 8 Aug 2012 05:31:56 +0000]
emx: emx_timer() only requires main serializer
Sepherosa Ziehau [Wed, 8 Aug 2012 05:21:20 +0000]
em/emx: Fix up detach path
- We could release management control only if PCI BAR is mapped
- Release multicase array memory
Sepherosa Ziehau [Wed, 8 Aug 2012 04:18:26 +0000]
emx: Increase spare TX descriprors to 33 incorporate TSO segment
Sepherosa Ziehau [Wed, 8 Aug 2012 04:09:51 +0000]
emx: Make sure that mbuf is changed before busdma sync
This should not be problem for emx, since it does not have any
busdma constraint thus no effective busdma sync will happen.
Sepherosa Ziehau [Wed, 8 Aug 2012 03:49:41 +0000]
igb: Make sure that mbuf is changed before busdma sync
This should not be problem for igb, since it does not have any
busdma constraint thus no effective busdma sync will happen.
Sepherosa Ziehau [Mon, 6 Aug 2012 12:15:15 +0000]
alc: Stablize this driver and fix various porting overlooks
- Use ifnet serializer to protect driver data. This should fix the
various panics that were observed on the network output path.
- Fix busdma setup.
- Always allocate the descriptor rings and status blocks at the lower
4GB. The original way will require the RX/TX bufs to be located at
the lower 4GB, which is a great waste of bounce buffers, cpu cycles
and memory bandwidth.
- Don't mess up M_PKTHDR on RX path.
- Allocate mbuf w/ MB_WAIT on initialization path.
- Enable MSI by default.
John Marino [Tue, 7 Aug 2012 11:35:26 +0000]
ncurses: Fix pkgsrc check and use of ncurses
Without the macro SET_NEED_WCHAR_H defined, the ncurses header will not
include wchar.h which is where the wint_t type is defined. This breaks
any program loading ncurses.h without defining this macro because several
functions use the wint_t type.
Define wint_t as int if wchar.h isn't included. This fixes the ncurses
check on several pkgsrc configuration checks and allows the package to
build with the system ncurses.
Sascha Wildner [Tue, 7 Aug 2012 07:19:35 +0000]
arcmsr(4): Use cam_calc_geometry().