Skip to content

Commit

Permalink
lkl: xor: select 8regs as default
Browse files Browse the repository at this point in the history
The 8regs template seems to be the optimum for the supported hosts so
far and this decreases the boot time by about 400ms. If needed, we can
tune this per host later.

Signed-off-by: Octavian Purdila <tavi@cs.pub.ro>
  • Loading branch information
tavip committed Jan 22, 2017
1 parent c874d36 commit 1b3d463
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/lkl/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,3 @@ generic-y += trace_clock.h
generic-y += uaccess.h
generic-y += unaligned.h
generic-y += word-at-a-time.h
generic-y += xor.h
8 changes: 8 additions & 0 deletions arch/lkl/include/asm/xor.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#ifndef _ASM_LKL_XOR_H
#define _ASM_LKL_XOR_H

#include <asm-generic/xor.h>

#define XOR_SELECT_TEMPLATE(x) (&xor_block_8regs)

#endif /* _ASM_LKL_XOR_H */

0 comments on commit 1b3d463

Please sign in to comment.