diff options
author | Chris Wilson <[email protected]> | 2016-10-18 13:02:49 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-10-18 14:22:26 +0100 |
commit | b4bcbe2a90a1127a6dad72fbda27e77705d9e0f4 (patch) | |
tree | 4ec9723b37ee7b2129b938ca8b6d53ec56898943 /lib/memory-notifier-error-inject.c | |
parent | 3ef7f228931a7ac1e4150b4dfc8d58586815f281 (diff) |
drm/i915: Document our internal limit on object size
In many places, we try to count pages using a 32 bit integer. That
implies if we are asked to create an object larger than 43bits, we will
subtly crash much later. Catch this on the boundary, and add a warning
to remind ourselves later on our exabyte systems.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions