[PATCH v3 0/9] x86: macrofying inline asm for better compilation

2018-06-10 Thread Nadav Amit
This patch-set deals with an interesting yet stupid problem: kernel code that does not get inlined despite its simplicity. There are several causes for this behavior: "cold" attribute on __init, different function optimization levels; conditional constant computations based on

[PATCH v3 0/9] x86: macrofying inline asm for better compilation

2018-06-10 Thread Nadav Amit
This patch-set deals with an interesting yet stupid problem: kernel code that does not get inlined despite its simplicity. There are several causes for this behavior: "cold" attribute on __init, different function optimization levels; conditional constant computations based on