ext2fs: more verbose messages about unsupported ext2fs features

2019-06-27 Thread Kevin Lo
Hi, It may be useful for users to know which ext2fs features are not supported. This patch adds more verbose messages mostly based on FreeBSD's r320578. w/o patch: ext2fs: unsupported incompat features 0x2c2 w/ patch: ext2fs: unsupported incompat features: 64bit Index: sys/ufs/ext2fs/ext2fs.h =

Re: Pump my sched: fewer SCHED_LOCK() & kill p_priority

2019-06-27 Thread Timo Myyrä
Amit Kulkarni writes: >> root on sd2a (88532b67c09ce3ee.a) swap on sd2b dump on sd2b >> TSC skew=-6129185140 drift=170 >> TSC skew=-6129184900 drift=-10 >> TSC skew=-6129184890 drift=-20 >> TSC skew=-6129184910 drift=30 >> TSC skew=-6129184910 drift=10 >> TSC skew=-6129184900 drift=20 >> TSC skew

Re: Pump my sched: fewer SCHED_LOCK() & kill p_priority

2019-06-27 Thread Amit Kulkarni
> root on sd2a (88532b67c09ce3ee.a) swap on sd2b dump on sd2b > TSC skew=-6129185140 drift=170 > TSC skew=-6129184900 drift=-10 > TSC skew=-6129184890 drift=-20 > TSC skew=-6129184910 drift=30 > TSC skew=-6129184910 drift=10 > TSC skew=-6129184900 drift=20 > TSC skew=-6129184910 drift=30 > iwm0: hw

Re: Pump my sched: fewer SCHED_LOCK() & kill p_priority

2019-06-27 Thread Timo Myyrä
Martin Pieuchot writes: > On 06/06/19(Thu) 15:16, Martin Pieuchot wrote: >> On 02/06/19(Sun) 16:41, Martin Pieuchot wrote: >> > On 01/06/19(Sat) 18:55, Martin Pieuchot wrote: >> > > Diff below exists mainly for documentation and test purposes. If >> > > you're not interested about how to break t

Re: TSC synchronization on MP machines

2019-06-27 Thread Timo Myyrä
Paul Irofti writes: > Hi, > > Here is an initial diff, adapted from NetBSD, that synchronizes TSC > clocks across cores. > > CPU0 is the reference clock and all others are skewed. During CPU > initialization the clocks synchronize by keeping a registry of each CPU > clock skewness and adapting th

Re: ld.so speedup (part 1)

2019-06-27 Thread Jeremie Courreges-Anglas
On Sat, Apr 27 2019, Nathanael Rensen wrote: > The diff below speeds up ld.so library loading where the dependency tree > is broad and deep, such as samba's smbd which links over 100 libraries. > > See for example https://marc.info/?l=openbsd-misc&m=155007285712913&w=2 > > The timings below are f

TSC synchronization on MP machines

2019-06-27 Thread Paul Irofti
Hi, Here is an initial diff, adapted from NetBSD, that synchronizes TSC clocks across cores. CPU0 is the reference clock and all others are skewed. During CPU initialization the clocks synchronize by keeping a registry of each CPU clock skewness and adapting the TSC read routine accordingly. I c