It makes sense to stop the SPU processes as soon as possible. Also if we
dont acquire_saved() I think there's a possibility that the value in
csa.priv2.spu_lslr_RW won't be accurate.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
arch/powerpc/platforms/cell/spufs/coredump.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/platforms/cell/spufs/coredump.c b/arch/powerpc/platforms/cell/spufs/coredump.c
index 6663669..21283f6 100644
--- a/arch/powerpc/platforms/cell/spufs/coredump.c
+++ b/arch/powerpc/platforms/cell/spufs/coredump.c
@@ -135,7 +135,9 @@ static int spufs_arch_notes_size(void)
fd = 0;
while ((ctx = coredump_next_context(&fd)) != NULL) {
+ spu_acquire_saved(ctx);
rc = spufs_ctx_note_size(ctx, fd);
+ spu_release_saved(ctx);
if (rc < 0)
break;
--
1.5.1.3.g7a33b
-
| David Miller | Slow DOWN, please!!! |
| H. Peter Anvin | Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project |
| Pardo | Re: pthread_create() slow for many threads; also time to revisit 64b context switc... |
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Ken Pratt | pack operation is thrashing my server |
| Junio C Hamano | Re: [RFC] origin link for cherry-pick and revert |
| Len Brown | fatal: unable to create '.git/index': File exists |
| Petr Baudis | [RFC][PATCH 0/7] Submodule support in git mv, git rm |
| Karel Kulhavy | OpenBSD kernel janitors |
| rezidue | Speed Problems |
| Richard Stallman | Real men don't attack straw men |
| Alex Thurlow | Router performance on OpenBSD and OpenBGPD |
| David Miller | [GIT]: Networking |
| David Miller | Re: kernel oops when system under network stress |
| Laszlo Attila Toth | [PATCH] Introducing socket mark socket option |
| Evgeniy Polyakov | [resend take 2 0/4] Distributed storage. |
