linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Preserve the VFP state across the fork() call
@ 2011-02-14 10:37 Catalin Marinas
  2011-02-14 10:37 ` [PATCH 1/2] ARM: Introduce THREAD_NOTIFY_COPY for copy_thread() hooks Catalin Marinas
  2011-02-14 10:37 ` [PATCH 2/2] ARM: Preserve the VFP state during fork Catalin Marinas
  0 siblings, 2 replies; 5+ messages in thread
From: Catalin Marinas @ 2011-02-14 10:37 UTC (permalink / raw)
  To: linux-arm-kernel

The VFP state should be copied to the child process during the fork()
system call. This is important because the d16-d31 registers are callee
saved and the compiler may use them for preserving data across function
calls.


Catalin Marinas (2):
      ARM: Introduce THREAD_NOTIFY_COPY for copy_thread() hooks
      ARM: Preserve the VFP state during fork


 arch/arm/include/asm/thread_notify.h |    1 +
 arch/arm/kernel/process.c            |    2 ++
 arch/arm/vfp/vfpmodule.c             |   34 +++++++++++++++++++++++++++-------
 3 files changed, 30 insertions(+), 7 deletions(-)

-- 
Catalin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-14 16:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-14 10:37 [PATCH 0/2] Preserve the VFP state across the fork() call Catalin Marinas
2011-02-14 10:37 ` [PATCH 1/2] ARM: Introduce THREAD_NOTIFY_COPY for copy_thread() hooks Catalin Marinas
2011-02-14 12:12   ` Will Deacon
2011-02-14 16:13     ` Russell King - ARM Linux
2011-02-14 10:37 ` [PATCH 2/2] ARM: Preserve the VFP state during fork Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).