|
@@ -55,8 +55,9 @@ kmem_alloc(size_t size, xfs_km_flags_t flags)
|
|
|
return ptr;
|
|
|
if (!(++retries % 100))
|
|
|
xfs_err(NULL,
|
|
|
- "possible memory allocation deadlock in %s (mode:0x%x)",
|
|
|
- __func__, lflags);
|
|
|
+ "%s(%u) possible memory allocation deadlock in %s (mode:0x%x)",
|
|
|
+ current->comm, current->pid,
|
|
|
+ __func__, lflags);
|
|
|
congestion_wait(BLK_RW_ASYNC, HZ/50);
|
|
|
} while (1);
|
|
|
}
|
|
@@ -120,8 +121,9 @@ kmem_zone_alloc(kmem_zone_t *zone, xfs_km_flags_t flags)
|
|
|
return ptr;
|
|
|
if (!(++retries % 100))
|
|
|
xfs_err(NULL,
|
|
|
- "possible memory allocation deadlock in %s (mode:0x%x)",
|
|
|
- __func__, lflags);
|
|
|
+ "%s(%u) possible memory allocation deadlock in %s (mode:0x%x)",
|
|
|
+ current->comm, current->pid,
|
|
|
+ __func__, lflags);
|
|
|
congestion_wait(BLK_RW_ASYNC, HZ/50);
|
|
|
} while (1);
|
|
|
}
|