[uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Joel Fernandes
Hi, I wrote a kernel module to play with hrtimer subsystem and it hangs with UML, Any ideas on why it may be hanging? It doesn't hang on any of my other machines. Hopefully I'm not doing something stupid, but I don't think I am.. It appears the timer handler does fire. However, the UML process is

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Richard Weinberger
Am Mittwoch, 28. März 2018, 12:28:02 CEST schrieb Joel Fernandes: > Hi, > > I wrote a kernel module to play with hrtimer subsystem and it hangs > with UML, Any ideas on why it may be hanging? It doesn't hang on any > of my other machines. Hopefully I'm not doing something stupid, but I > don't thi

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Geert Uytterhoeven
On Wed, Mar 28, 2018 at 12:28 PM, Joel Fernandes wrote: > while(release_now == 0); while (release_now == 0) cpu_relax(); Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversatio

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Richard Weinberger
Am Mittwoch, 28. März 2018, 15:11:29 CEST schrieb Geert Uytterhoeven: > On Wed, Mar 28, 2018 at 12:28 PM, Joel Fernandes wrote: > > while(release_now == 0); > > while (release_now == 0) > cpu_relax(); Not sure whether a cpu_relax() fixes the problem. I guess the root of the prob

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Joel Fernandes
Thanks for the quick reply. On Wed, Mar 28, 2018 at 6:19 AM, Richard Weinberger wrote: > Am Mittwoch, 28. März 2018, 15:11:29 CEST schrieb Geert Uytterhoeven: >> On Wed, Mar 28, 2018 at 12:28 PM, Joel Fernandes > wrote: >> > while(release_now == 0); >> >> while (release_now == 0) >>

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Richard Weinberger
Am Donnerstag, 29. März 2018, 00:19:39 CEST schrieb Joel Fernandes: > Thanks for the quick reply. > > On Wed, Mar 28, 2018 at 6:19 AM, Richard Weinberger wrote: > > Am Mittwoch, 28. März 2018, 15:11:29 CEST schrieb Geert Uytterhoeven: > >> On Wed, Mar 28, 2018 at 12:28 PM, Joel Fernandes > > wro

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Geert Uytterhoeven
On Thu, Mar 29, 2018 at 12:35 AM, Richard Weinberger wrote: > Am Donnerstag, 29. März 2018, 00:19:39 CEST schrieb Joel Fernandes: >> On Wed, Mar 28, 2018 at 6:19 AM, Richard Weinberger wrote: >> > Am Mittwoch, 28. März 2018, 15:11:29 CEST schrieb Geert Uytterhoeven: >> >> On Wed, Mar 28, 2018 at