Re: [uml-devel] kernel stalls in balance_dirty_pages_ratelimited()

2014-10-19 Thread Thomas Meyer
Am Sonntag, den 19.10.2014, 17:02 +0100 schrieb Anton Ivanov: > On 19/10/14 15:59, Thomas Meyer wrote: > > Am Dienstag, den 14.10.2014, 08:31 +0100 schrieb Anton Ivanov: > >> I see a very similar stall on writeout to ubd with my patches (easy) and > >> without (difficult - takes running an IO soak

Re: [uml-devel] [PATCH] um: Remove unused bp stack-frame pointer

2014-10-19 Thread Manfred Schlaegl
On 2014-10-18 17:40, Richard Weinberger wrote: > Am 18.10.2014 um 17:24 schrieb Manfred Schlaegl: >> On 2014-10-18 17:19, Richard Weinberger wrote: >>> Am 18.10.2014 um 17:12 schrieb Manfred Schlaegl: On 2014-10-18 16:42, Richard Weinberger wrote: > Am 18.10.2014 um 16:23 schrieb Manfred S

Re: [uml-devel] kernel stalls in balance_dirty_pages_ratelimited()

2014-10-19 Thread Anton Ivanov
On 19/10/14 15:59, Thomas Meyer wrote: > Am Dienstag, den 14.10.2014, 08:31 +0100 schrieb Anton Ivanov: >> I see a very similar stall on writeout to ubd with my patches (easy) and >> without (difficult - takes running an IO soak for a few days). >> >> It stalls (usually) when trying to flush the j

[uml-devel] [PATCH v3 1/3] um: Move uml_postsetup in the init_thread stack

2014-10-19 Thread Thomas Meyer
atomic_notifier_chain_register() and uml_postsetup() do call kernel code that rely on the current macro and a valid task_struct resp. thread_info struct. Signed-off-by: Thomas Meyer --- diff --git a/arch/um/include/shared/as-layout.h b/arch/um/include/shared/as-layout.h index 41c8c77..ca1843e

[uml-devel] [PATCH v3 2/3] um: add a kmsg_dumper

2014-10-19 Thread Thomas Meyer
Add a kmsg_dumper, that dumps the kmsg buffer to stdout, when no console is available. This an enables the printing of early panic() calls triggered in uml_postsetup(). Signed-off-by: Thomas Meyer --- diff -r ee0ba83fd81e arch/um/kernel/Makefile --- a/arch/um/kernel/Makefile Sat Oct 11 18:55:

[uml-devel] [PATCH v3 3/3] um: enable trace irqflags support

2014-10-19 Thread Thomas Meyer
Add TRACE_IRQFLAGS_SUPPORT to UML. This enables LOCKDEP_SUPPORT and TRACING_SUPPORT. Signed-off-by: Thomas Meyer --- diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common index 87bc868..6a33c3a 100644 --- a/arch/um/Kconfig.common +++ b/arch/um/Kconfig.common @@ -28,10 +28,9 @@ config PCI

Re: [uml-devel] kernel stalls in balance_dirty_pages_ratelimited()

2014-10-19 Thread Thomas Meyer
Am Dienstag, den 14.10.2014, 08:31 +0100 schrieb Anton Ivanov: > I see a very similar stall on writeout to ubd with my patches (easy) and > without (difficult - takes running an IO soak for a few days). > > It stalls (usually) when trying to flush the journal file of ext4. Hi, here an extract o

[uml-devel] [UM] Long loop in __getnsdayoftime() after resume from ram

2014-10-19 Thread Thomas Meyer
Hello, in UML kernel I get a long cpu using loop in __getnstimeofday() (kernel/time/timekeeping.c:315) in the call of timespec_add_ns(), when I left the host kernel suspended to ram for a few hours and resume again. this is because it seems like the tk->xtime_sec wasn't updated yet, but the nsecs