Re: setup_thread_stack

2012-07-17 Thread Mulyadi Santosa
Hi :) On Wed, Jul 18, 2012 at 2:15 AM, Francesco Scali wrote: > What's this call supposed to do? Inside I can see a call to the > "task_thread_info" macro, but I don't quite understand it: > > #define task_thread_info(task) ((struct thread_info *)(task)->stack) IMHO, it means that (in the follo

RE: setup_thread_stack

2012-07-17 Thread 卜弋天
Date: Tue, 17 Jul 2012 21:15:50 +0200 Subject: setup_thread_stack From: francesco.sc...@gmail.com To: kernelnewbies@kernelnewbies.org Hi, I'm totally new to kernel code, just trying to understand the basics of the core subsystems. During the do_fork call, there is a call to dup_task_struc