diff options
author | Nick Piggin <nickpiggin@yahoo.com.au> | 2008-08-12 10:05:13 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-12 11:21:27 +0200 |
commit | c2fc11985db304572322f1dcdcb0f71337315006 (patch) | |
tree | 330196cefd4eb0ad3b4999fb14518a62f0294d93 /crypto/blkcipher.c | |
parent | Merge branch 'core/locking' into core/urgent (diff) | |
download | linux-c2fc11985db304572322f1dcdcb0f71337315006.tar.xz linux-c2fc11985db304572322f1dcdcb0f71337315006.zip |
generic-ipi: fix stack and rcu interaction bug in smp_call_function_mask(), fix
> > Nick Piggin (1):
> > generic-ipi: fix stack and rcu interaction bug in
> > smp_call_function_mask()
>
> I'm still not 100% sure that I have this patch right... I might have seen
> a lockup trace implicating the smp call function path... which may have
> been due to some other problem or a different bug in the new call function
> code, but if some more people can take a look at it before merging?
OK indeed it did have a couple of bugs. Firstly, I wasn't freeing the
data properly in the alloc && wait case. Secondly, I wasn't resetting
CSD_FLAG_WAIT in the for each cpu loop (so only the first CPU would
wait).
After those fixes, the patch boots and runs with the kmalloc commented
out (so it always executes the slowpath).
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'crypto/blkcipher.c')
0 files changed, 0 insertions, 0 deletions