summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2012-05-17 00:03:54 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2012-05-17 00:20:59 +0200
commit1dcc8d7ba235a316a056f993e88f0d18b92c60d9 (patch)
tree0404321ce5a9a8c805f4ead0d2671e9a9227d5c0 /mm/hugetlb.c
parentx86, xsave: remove thread_has_fpu() bug check in __sanitize_i387_state() (diff)
downloadlinux-1dcc8d7ba235a316a056f993e88f0d18b92c60d9.tar.xz
linux-1dcc8d7ba235a316a056f993e88f0d18b92c60d9.zip
x86, fpu: drop the fpu state during thread exit
There is no need to save any active fpu state to the task structure memory if the task is dead. Just drop the state instead. For example, this saved some 1770 xsave's during the system boot of a two socket Xeon system. Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Link: http://lkml.kernel.org/r/1336692811-30576-4-git-send-email-suresh.b.siddha@intel.com Cc: Oleg Nesterov <oleg@redhat.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions