increase kernel stack size and eliminate unused waitq declaration in do_syscall()
This commit is contained in:
@@ -160,7 +160,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define USER_STACK_NR_PAGES 8192
|
#define USER_STACK_NR_PAGES 8192
|
||||||
#define KERNEL_STACK_NR_PAGES 25
|
#define KERNEL_STACK_NR_PAGES 32
|
||||||
|
|
||||||
#define NOPHYS ((uintptr_t)-1)
|
#define NOPHYS ((uintptr_t)-1)
|
||||||
|
|
||||||
|
|||||||
@@ -186,7 +186,6 @@ long do_syscall(struct syscall_request *req, int cpu, int pid)
|
|||||||
unsigned long irqstate;
|
unsigned long irqstate;
|
||||||
struct thread *thread = cpu_local_var(current);
|
struct thread *thread = cpu_local_var(current);
|
||||||
struct process *proc = thread->proc;
|
struct process *proc = thread->proc;
|
||||||
DECLARE_WAITQ_ENTRY(scd_wq_entry, thread);
|
|
||||||
|
|
||||||
dkprintf("SC(%d)[%3d] sending syscall\n",
|
dkprintf("SC(%d)[%3d] sending syscall\n",
|
||||||
ihk_mc_get_processor_id(),
|
ihk_mc_get_processor_id(),
|
||||||
@@ -228,7 +227,6 @@ long do_syscall(struct syscall_request *req, int cpu, int pid)
|
|||||||
int do_schedule = 0;
|
int do_schedule = 0;
|
||||||
long runq_irqstate;
|
long runq_irqstate;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
DECLARE_WAITQ_ENTRY(scd_wq_entry, cpu_local_var(current));
|
DECLARE_WAITQ_ENTRY(scd_wq_entry, cpu_local_var(current));
|
||||||
|
|
||||||
cpu_pause();
|
cpu_pause();
|
||||||
|
|||||||
Reference in New Issue
Block a user