[parisc-linux] Mysterious hangs with parisc (a send_group_sig_info() analysis)

Carlos O'Donell carlos at systemhalted.org
Sat Jul 22 11:23:57 MDT 2006


> And here are a lot of questions:
>         Q2: some diff in routine like 2 times ldcw with gcc-3 and only one with gcc-4 (may be ok?)
>

Analyze the code. Is it doing functionally the same thing?

I assert that yes, it's doing exactly the same thing. The older gcc
has unwrapped one of the ldcw's, and thus has two copies of the inner
loop in the assembly. The code on the right does exactly the same
thing, but in less instructions. GCC has gotten better.

There isn't a missing lock, we only needed one lock, the older gcc was
doing a poorer job of code generation.

There may be other parts of the kernel that have problems, so keep looking!

Cheers,
Carlos.



More information about the parisc-linux mailing list