thread: store struct msg on the stack instead of in the thread
This commit is contained in:
@@ -39,14 +39,11 @@ struct thread {
|
||||
virt_addr_t tr_cpu_user_sp, tr_cpu_kernel_sp;
|
||||
|
||||
struct runqueue *tr_rq;
|
||||
struct msg tr_msg;
|
||||
struct page_request tr_page_req;
|
||||
|
||||
struct queue_entry tr_parent_entry;
|
||||
struct queue_entry tr_rqentry;
|
||||
|
||||
struct vm_page *tr_kstack;
|
||||
struct vm_object *tr_ustack;
|
||||
};
|
||||
|
||||
extern struct thread *thread_alloc(void);
|
||||
|
||||
Reference in New Issue
Block a user