1
1
openmpi/opal/class
Nathan Hjelm 2c02294389 opal_free_list: fix strange size check
OPAL free lists can be initialized with a fragment size that differs
from the size of objects from a class. This allows the free list code
to support OPAL objects that have flexible array members.

Unfortunately the free list code will throw out the desired length in
some cases. The code in question was committed in
open-mpi/ompi@90fb58de. The side effects of this are varied and can
cause segmentation faults, assert failures, hangs, etc. This commit
adds a check to ensure the requested size is at least as large as the
class size and makes opal_free_list allocations always honor the
requested fragment size (as long as it is larger than the class
size).

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-11-09 19:47:55 -07:00
..
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_bitmap.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_bitmap.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_fifo.c Add opal_fifo_t class 2014-12-04 15:30:02 -07:00
opal_fifo.h opal/fifo: if available use load-linked store-conditional 2015-08-18 14:01:52 -06:00
opal_free_list.c opal_free_list: fix strange size check 2015-11-09 19:47:55 -07:00
opal_free_list.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_graph.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_graph.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_hash_table.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_hash_table.h more c99 updates 2015-06-25 10:14:13 -06:00
opal_hotel.c Update the opal_hotel class to support a given event base instead of defaulting to using opal_event_base 2015-07-11 06:42:23 -07:00
opal_hotel.h Integrate PMIx 1.0 with OMPI. 2015-08-29 16:04:10 -07:00
opal_lifo.c Rename opal_atomic_lifo_t to opal_lifo_t and improve interface 2014-12-04 15:30:02 -07:00
opal_lifo.h opal/lifo: add load-linked store-conditional support 2015-08-18 14:01:52 -06:00
opal_list.c Revert " Releasing the list items when list destructor is called" 2015-10-27 15:24:48 -07:00
opal_list.h Modify the OPAL_LIST_RELEASE and OPAL_LIST_DESTRUCT macros to release the objects only when the list object is refcounted down to 1, which will then reach zero when destructed/released at the end of the macro 2015-10-27 16:42:46 -07:00
opal_object.c Merge pull request #517 from hjelmn/class_fix 2015-08-31 12:13:58 -07:00
opal_object.h opal/mutex: add static mutex initializers 2015-10-14 16:08:41 -06:00
opal_pointer_array.c Improving opal_pointer_array bounds checking (using 2015-07-23 11:53:16 -07:00
opal_pointer_array.h Improving opal_pointer_array bounds checking (using 2015-07-23 11:53:16 -07:00
opal_rb_tree.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_rb_tree.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_ring_buffer.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_ring_buffer.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_tree.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_tree.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_value_array.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_value_array.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00