From: Ingo Molnar Date: Mon, 27 Apr 2015 07:59:11 +0000 (+0200) Subject: x86/fpu: Optimize fpu_copy() X-Git-Tag: omap-for-v4.3/legacy-v2-signed~203^2~105 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68271c6ae726d7ab51e39b7342c838761bf0a25c;p=pandora-kernel.git x86/fpu: Optimize fpu_copy() Optimize fpu_copy() a bit by expanding the ->fpstate_active == 1 portion of fpu__save() into it. ( The main purpose of this change is to enable another, larger optimization that will be done in the next patch. ) Reviewed-by: Borislav Petkov Cc: Andy Lutomirski Cc: Dave Hansen Cc: Fenghua Yu Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Oleg Nesterov Cc: Peter Zijlstra Cc: Thomas Gleixner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed