Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [RFC v2 PATCH 6/7] x86/entry: get rid of ALLOC_PT_GPREGS_ON_ST ...

$
0
0
Linus Torvalds writes: (Summary) The old code did the saving in the common error_entry and paranoid_entry routines, in order to be able to share all the code, and making the duplicated stub functions generated by the idtentry macro smaller.
macro smaller.
Now, admittedly the new push sequence is much smaller than the old movq sequence, so the duplication doesn't hurt as much, but it's still likely quite noticeable.
likely quite noticeable.
So this removes lines of asm code, but it adds a lot of instructions to the end result thanks to the macro, I think.
to the end result thanks to the macro, I think.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 1267

Trending Articles