File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11
11
* Copyright (c) 2004-2005 The Regents of the University of California.
12
12
* All rights reserved.
13
13
* Copyright (c) 2009-2016 Cisco Systems, Inc. All rights reserved.
14
- * Copyright (c) 2013-2016 Los Alamos National Security, LLC. All rights
14
+ * Copyright (c) 2013-2017 Los Alamos National Security, LLC. All rights
15
15
* reserved.
16
16
* Copyright (c) 2016 Research Organization for Information Science
17
17
* and Technology (RIST). All rights reserved.
@@ -496,12 +496,16 @@ static int patcher_open (void)
496
496
}
497
497
#endif
498
498
499
+ /* NTH: we can't currently allow madvise to be intercepted due to a deadlock when running with glibc. in
500
+ * the future we may re-enable this hook if the deadlock can be resolved. */
501
+ #if 0
499
502
#if defined (SYS_madvise )
500
503
rc = opal_patcher -> patch_symbol ("madvise" , (uintptr_t )intercept_madvise , (uintptr_t * ) & original_madvise );
501
504
if (OPAL_SUCCESS != rc ) {
502
505
return rc ;
503
506
}
504
507
#endif
508
+ #endif
505
509
506
510
#if defined(SYS_shmdt ) && defined(__linux__ )
507
511
rc = opal_patcher -> patch_symbol ("shmdt" , (uintptr_t ) intercept_shmdt , (uintptr_t * ) & original_shmdt );
You can’t perform that action at this time.
0 commit comments