diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-04-03 13:58:34 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-04-03 19:12:16 +0100 |
commit | a0626a78ee4fedcf9be7670ed90c1ea3f1fd5899 (patch) | |
tree | 978cf2b8627447309c146ea68a49b6d0efb264c3 /lib | |
parent | 4770480c8c1f105ff9225e8eb07b652ca954e06a (diff) |
lib: Bump estimates for object overhead
We are dramatically underestimating the overhead for an active object
and its inodes.
Not that we condone such largesse!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/intel_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/intel_os.c b/lib/intel_os.c index 8458d39a1..2bb0c981a 100644 --- a/lib/intel_os.c +++ b/lib/intel_os.c @@ -306,7 +306,7 @@ int __intel_check_memory(uint64_t count, uint64_t size, unsigned mode, uint64_t *out_required, uint64_t *out_total) { /* rough estimate of how many bytes the kernel requires to track each object */ -#define KERNEL_BO_OVERHEAD 512 +#define KERNEL_BO_OVERHEAD 8192 /* 2k for an object, 2k for an inode, etc */ uint64_t required, total; required = count; |