From: Rainbow W. <q....@ma...> - 2002-05-12 05:46:31
|
If I sucessfully boot SMP-UML (16-processor), then I try to halt the UML. All the processes on the host were killed such as tracing thread, idle thread 0, kernel threads and other threads. But idle thread 1-15 were still running on the host. Then I attach gdb ot them, I can see #0 0xa011d761 in __libc_nanosleep () #1 0xa00f8ddd in idle_sleep (secs=10) at time.c:111 #2 0xa00fc665 in cpu_idle () at process_kern.c:424 #3 0xa00f6a33 in idle_proc (unused=0x0) at smp.c:128 #4 0xa00f5499 in run_kernel_thread (fn=0xa00f6850 <idle_proc>, arg=0x0, jmp_ptr=0xa08a43c0) at process.c:246 #5 0xa00fbeef in new_thread_handler (sig=10) at process_kern.c:142 #6 <signal handler called> #7 0xa0109cf1 in __kill () #8 0x00000001 in ?? () What's wrong with them? Does it mean that they were not ptraced by tracing thread ? Thanks, Qing > qi...@ho... said: > > What does it mean making the UML architecture layer SMP safe? Could > > any one give me an example? > > It looks like you need to read the kernel locking guide. Go into > Documentation/DocBook and run make. Then read whichever version of > kernel-locking.* you prefer. > > Jeff > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > User-mode-linux-devel mailing list > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel > -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup |