Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23826
b: refs/heads/master
c: 4bdc3b7
h: refs/heads/master
v: v3
  • Loading branch information
Arjan van de Ven authored and Linus Torvalds committed Mar 25, 2006
1 parent 3dd62f0 commit 1c31047
Show file tree
Hide file tree
Showing 6 changed files with 1,322 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b2a13b963dece8d45e07692b7872ae5a075ca2a
refs/heads/master: 4bdc3b7f1b730c07f5a6ccca77ee68e044036ffc
8 changes: 8 additions & 0 deletions trunk/arch/x86_64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,14 @@ config SECCOMP

source kernel/Kconfig.hz

config REORDER
bool "Function reordering"
default n
help
This option enables the toolchain to reorder functions for a more
optimal TLB usage. If you have pretty much any version of binutils,
this can increase your kernel build time by roughly one minute.

endmenu

#
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86_64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ CFLAGS += -m64
CFLAGS += -mno-red-zone
CFLAGS += -mcmodel=kernel
CFLAGS += -pipe
cflags-$(CONFIG_REORDER) += -ffunction-sections
# this makes reading assembly source easier, but produces worse code
# actually it makes the kernel smaller too.
CFLAGS += -fno-reorder-blocks
Expand Down
Loading

0 comments on commit 1c31047

Please sign in to comment.