|
楼主 |
发表于 2004-11-17 18:35:18
|
显示全部楼层
对啊,kuseg也是用户空间,但是kuseg和useg之间是什么关系呢?
而linux forum上有人说
看mips linux的thread_info.h中 的thread_info结构定义:
struct thread_info {
struct task_struct *task; /* main task structure */
struct exec_domain *exec_domain; /* execution domain */
unsigned long flags; /* low level flags */
__u32 cpu; /* current CPU */
__s32 preempt_count; /* 0 => preemptable, <0 => BUG */
mm_segment_t addr_limit; /* thread address space:
0-0xBFFFFFFF for user-thead
0-0xFFFFFFFF for kernel-thread
*/
struct restart_block restart_block;
};
糊涂了:( |
|