1
1

Fix one more error path in udreg. In this case we hit the maximum size

of the udreg cache and get a different error code back.

cmr=v1.7.4:reviewer=rhc

This commit was SVN r30242.
Этот коммит содержится в:
Nathan Hjelm 2014-01-10 19:27:32 +00:00
родитель 9566650458
Коммит 5259ab213f

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

@ -354,7 +354,7 @@ int mca_mpool_udreg_register(mca_mpool_base_module_t *mpool, void *addr,
if (false == bypass_cache) { if (false == bypass_cache) {
/* Get a udreg entry for this region */ /* Get a udreg entry for this region */
while (UDREG_RC_ERROR_RESOURCE == while (UDREG_RC_SUCCESS !=
(urc = UDREG_Register (mpool_udreg->udreg_handle, addr, size, &udreg_entry))) { (urc = UDREG_Register (mpool_udreg->udreg_handle, addr, size, &udreg_entry))) {
/* try to remove one unused reg and retry */ /* try to remove one unused reg and retry */
if (!mca_mpool_udreg_evict (mpool)) { if (!mca_mpool_udreg_evict (mpool)) {