[uml-devel] TSC register

2012-08-22 Thread Dragos Diaconescu
Hello, I am currently writing a kernel module that I would like to use it in the UML, on ubuntu. In this module I have some events that I would like to generate with a ns precision. (e.g every 10 ns). On an ubuntu kernel I used a busy waiting, with ndelay function which uses the TSC register, bu

Re: [uml-devel] [uml-user] TSC register

2012-08-22 Thread Dragos Diaconescu
On Wed, Aug 22, 2012 at 5:39 PM, richard -rw- weinberger < richard.weinber...@gmail.com> wrote: > On Wed, Aug 22, 2012 at 3:23 PM, Dragos Diaconescu > wrote: > > On an ubuntu kernel I used a busy waiting, with ndelay function which > uses > > the TSC register, but &

Re: [uml-devel] [uml-user] TSC register

2012-08-24 Thread Dragos Diaconescu
On Thu, Aug 23, 2012 at 6:52 PM, richard -rw- weinberger < richard.weinber...@gmail.com> wrote: > On Wed, Aug 22, 2012 at 6:34 PM, Dragos Diaconescu > wrote: > >at an interval of some nanoseconds and to use the ndelay function. I > saw > > that in the kernel implem

[uml-devel] SMP on UML

2012-08-24 Thread Dragos Diaconescu
Hello, I try to compile the UML, from a linux kernel(make ARCH=um SUBARCH=i386) and I have configured it to use SMP (make config). I am getting the following error: CHK include/generated/utsrelease.h CC arch/um/kernel/asm-offsets.s In file included from include/linux/sched.h:77:0,