From: Chad Goodman Date: Sun, 2 Dec 2012 09:05:15 +0000 (-0800) Subject: DEBUG: disable some more debugging stuff X-Git-Url: https://www.ziggy471.com/git/gitweb.cgi?p=ziggy471-sgn2-jb.git;a=commitdiff;h=91c6b3515bc7d47991d3d443794cced2828be6ac DEBUG: disable some more debugging stuff Signed-off-by: Ziggy --- --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -1510,7 +1510,7 @@ void task_dirty_inc(struct task_struct * /* readahead.c */ #define VM_MAX_READAHEAD 2048 /* kbytes */ -#define VM_MIN_READAHEAD 64 /* kbytes (includes current page) */ +#define VM_MIN_READAHEAD 128 /* kbytes (includes current page) */ extern unsigned long max_readahead_pages; --- a/kernel/Makefile +++ b/kernel/Makefile @@ -108,14 +108,14 @@ obj-$(CONFIG_USER_RETURN_NOTIFIER) += us obj-$(CONFIG_PADATA) += padata.o obj-$(CONFIG_CRASH_DUMP) += crash_dump.o -ifneq ($(CONFIG_SCHED_OMIT_FRAME_POINTER),y) +# ifneq ($(CONFIG_SCHED_OMIT_FRAME_POINTER),y) # According to Alan Modra , the -fno-omit-frame-pointer is # needed for x86 only. Why this used to be enabled for all architectures is beyond # me. I suspect most platforms don't need this, but until we know that for sure # I turn this off for IA-64 only. Andreas Schwab says it's also needed on m68k # to get a correct value for the wait-channel (WCHAN in ps). --davidm -CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer -endif +# CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer +# endif $(obj)/configs.o: $(obj)/config_data.h --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c @@ -1633,6 +1633,8 @@ static int select_idle_sibling(struct ta struct sched_domain *sd; int i; + goto done; + /* * If the task is going to be woken-up on this cpu and if it is * already idle, then it is the right target. @@ -1671,7 +1673,7 @@ static int select_idle_sibling(struct ta break; } rcu_read_unlock(); - +done: return target; }