[uml-devel] [Patch] arch/um/kernel/um_arch.c: some small improvements

2008-02-15 Thread WANG Cong
Make some small improvements for arch/um/kernel/um_arch.c. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> Cc: Jeff Dike <[EMAIL PROTECTED]> --- diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index a6c1dd1..56deed6 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch

Re: [uml-devel] g_timeout_add

2008-02-15 Thread Jeff Dike
On Thu, Feb 14, 2008 at 11:16:45PM +0100, clowncoder wrote: > With strace, when I do nothing on the gtk screen, we get > what is under, it seems that the poll has a 5000 milli-sec > timeout, but takes 10 sec to wake. Can you show that with timestamps (strace -ttt)?

Re: [uml-devel] [Patch] arch/um/kernel/um_arch.c: some small improvements

2008-02-15 Thread Jeff Dike
On Fri, Feb 15, 2008 at 10:07:42PM +0800, WANG Cong wrote: > > Make some small improvements for arch/um/kernel/um_arch.c. > > Signed-off-by: WANG Cong <[EMAIL PROTECTED]> > Cc: Jeff Dike <[EMAIL PROTECTED]> ACK Jeff -- Work email - jdike at linux dot intel dot com ---

Re: [uml-devel] g_timeout_add

2008-02-15 Thread clowncoder
Here it is: By the way, do you use other very interresting tools such as strace? if so could you give me names? 1203096910.892244 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}], 2, 4994) = 0 1203096922.904300 gettimeofday({1203096922, 904988}, NULL) = 0 1203096922.905867 gettimeofday({12

Re: [uml-devel] g_timeout_add

2008-02-15 Thread Jeff Dike
On Fri, Feb 15, 2008 at 06:39:12PM +0100, clowncoder wrote: > By the way, do you use other very interresting tools such as strace? > if so could you give me names? strace is the major one. > 1203096946.933947 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}], > 2, 4996) = 0 > 1203096958.157856