increase kernel stack size and eliminate unused waitq declaration in do_syscall()

This commit is contained in:
Balazs Gerofi
2016-08-16 09:20:55 +09:00
parent 3aa06444f4
commit f584e2ec25
2 changed files with 1 additions and 3 deletions

View File

@ -160,7 +160,7 @@
#endif
#define USER_STACK_NR_PAGES 8192
#define KERNEL_STACK_NR_PAGES 25
#define KERNEL_STACK_NR_PAGES 32
#define NOPHYS ((uintptr_t)-1)

View File

@ -186,7 +186,6 @@ long do_syscall(struct syscall_request *req, int cpu, int pid)
unsigned long irqstate;
struct thread *thread = cpu_local_var(current);
struct process *proc = thread->proc;
DECLARE_WAITQ_ENTRY(scd_wq_entry, thread);
dkprintf("SC(%d)[%3d] sending syscall\n",
ihk_mc_get_processor_id(),
@ -228,7 +227,6 @@ long do_syscall(struct syscall_request *req, int cpu, int pid)
int do_schedule = 0;
long runq_irqstate;
unsigned long flags;
DECLARE_WAITQ_ENTRY(scd_wq_entry, cpu_local_var(current));
cpu_pause();