[uml-devel] unmet direct dependencies in -next

2015-08-09 Thread Richard Weinberger
Hi! -next faces some build issues on UML because of unmet direct dependencies. Mostly due to HAS_IOMEM and I2C. warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM) warning: (ST_IRQCHIP && HIP04_ETH && STMMA

Re: [uml-devel] [PATCH v2] um: Switch clocksource to hrtimers

2015-08-09 Thread Richard Weinberger
On Tue, Jul 14, 2015 at 1:45 PM, Thomas Meyer wrote: > Switch the UML clocksource from interval timers to posix interval timers and > move to a monotonic timer. > > This fixes suspend&resume related timer issues and improves network > performance > as TCP state machines are now fed with the correc

[uml-devel] [PATCH] um: Switch clocksource to hrtimers

2015-08-09 Thread Thomas Meyer
Switch the UML clocksource from interval timers to posix interval timers and move to a monotonic timer. This fixes suspend&resume related timer issues and improves network performance as TCP state machines are now fed with the correct time; also correct QoS and traffic shaping. Signed-off-by: Tho

Re: [uml-devel] [PATCH v2] um: Switch clocksource to hrtimers

2015-08-09 Thread Thomas Meyer
Am Sonntag, den 09.08.2015, 12:31 +0200 schrieb Richard Weinberger: > On Tue, Jul 14, 2015 at 1:45 PM, Thomas Meyer > wrote: > > Switch the UML clocksource from interval timers to posix interval > > timers and > > move to a monotonic timer. > > > > This fixes suspend&resume related timer issues

Re: [uml-devel] uml_net zombie processes

2015-08-09 Thread Richard Weinberger
On Wed, Jul 15, 2015 at 3:58 PM, Thomas Meyer wrote: > Am Mittwoch, den 15.07.2015, 12:12 +0200 schrieb Richard Weinberger: >> On Mon, Jul 13, 2015 at 5:12 PM, Thomas Meyer >> wrote: >> > Am Montag, den 13.07.2015, 17:11 +0200 schrieb Richard Weinberger: >> > > Am 13.07.2015 um 17:08 schrieb Thom

Re: [uml-devel] uml_net zombie processes

2015-08-09 Thread Thomas Meyer
Am Sonntag, den 09.08.2015, 19:57 +0200 schrieb Richard Weinberger: > On Wed, Jul 15, 2015 at 3:58 PM, Thomas Meyer > wrote: > > Am Mittwoch, den 15.07.2015, 12:12 +0200 schrieb Richard > > Weinberger: > > > On Mon, Jul 13, 2015 at 5:12 PM, Thomas Meyer > > > wrote: > > > > Am Montag, den 13.07

[uml-devel] [PATCH] um: Fix waitpid() usage in helper code

2015-08-09 Thread Richard Weinberger
If UML is executing a helper program it is using waitpid() with the __WCLONE flag to wait for the program as the helper is executed from a clone()'ed thread. While using __WCLONE is perfectly fine for clone()'ed childs it won't detect terminated childs if the helper has issued an execve(). We have

[uml-devel] [PATCH] um: Fix kernel mode fault condition

2015-08-09 Thread Richard Weinberger
We have to exclude memory locations <= PAGE_SIZE from the condition and let the kernel mode fault path catch it. Otherwise a kernel NULL pointer exception will be reported as a kernel user space access. Fixes: d2313084e2c (um: Catch unprotected user memory access) Signed-off-by: Richard Weinberger