1
1

Clarify the comment: if ummunotify is present *and* if we were

compiled with ummunotify support (which is the check that r29720 just
recently added).

This commit was SVN r29961.

The following SVN revision numbers were found above:
  r29720 --> open-mpi/ompi@ae8c826527
Этот коммит содержится в:
Jeff Squyres 2013-12-18 23:39:22 +00:00
родитель da6551bd3d
Коммит d8c0c919e1

Просмотреть файл

@ -764,9 +764,10 @@ void opal_memory_linux_malloc_init_hook(void)
#if MEMORY_LINUX_UMMUNOTIFY #if MEMORY_LINUX_UMMUNOTIFY
/* Next, check if ummunotify is present on the system. If it is, /* Next, check if ummunotify is present on the system. If it is,
then we don't need to do the following ptmalloc2 hacks. and if we were compile with ummunotify support, then we don't
open/mmap on the device may fail during init, but if /dev/ummunotify need to do the following ptmalloc2 hacks. open/mmap on the
exists, we assume that the user/administrator *wants* to use device may fail during init, but if /dev/ummunotify exists, we
assume that the user/administrator *wants* to use
ummunotify. */ ummunotify. */
if (access("/dev/ummunotify", F_OK) == 0) { if (access("/dev/ummunotify", F_OK) == 0) {
return; return;