Subject: Fixing the dynamic library linking issue seen with dmapp_locks
Description:
GA used a lock descriptor array in its global space.
With dynamic linking, DMAPP was not able to grab this region and
register it during DMAPP_Init. This issue is encountered only when
dynamic linking is used.

This mod introduces a fix for this issue. We now force GA to use
dmapp_sheap_malloc() to ensure that the lock descriptor array
is in the symmetric space.

With dmapp_sheap_malloc(), there is a risk of running of symmetric
memory space. In such cases, users need to adjust the value of
XT_SYMMETRIC_HEAP_SIZE to get past this issue. We will continue
exploring a solution that does not rely on dmapp_sheap_malloc().

svn path=/ga/trunk/; revision=1357
Subject: Fixing an assertion isssue with armci_write_stided (BUG: 806791)
Description:
The given test case was calling GA_Update_ghosts(), which was leading to an
assertion inside the GA library.

We have discussed this with PNNL and this mod should fix the issue. I have
verified the behavior with the test case that was supplied by the user. I have also run
the sanity tests.

svn path=/ga/trunk/; revision=1376
Subject: Fixing an assertion isssue with the registration cache code
Description:
This mod fixes a corner case in the registration cache code.
We see this issue because our current code does not handle overlapping memory regions correctly.
This mod introduces careful boundary checks and updates the ref-count of
each cache entry that correspond to overlapping regions.

I have run various sanity tests on Aries and Gemini systems.
Also tested with different compilers

svn path=/ga/trunk/; revision=1470