diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-23 17:09:26 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-23 17:09:48 +0000 |
commit | 137360f75a42042198cf00d35a54cc68660d8c90 (patch) | |
tree | 71bc2c45808158d6acb3dacff49ec10c6a70a01f /tests/drm_read.c | |
parent | f22e19b38a1593b207b6044cf8fb953c5cddc2b7 (diff) |
lib: system() is bad, use libkmod instead
For an as of yet unknown reason, calling system("modprobe") from inside
igt/gem_wait causes kasan to spend 1-5 minutes copying the process
pagetables. This evaporates if we replace the fork-happy call to system
with a call to load the module using libkmod. So be it.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/drm_read.c')
0 files changed, 0 insertions, 0 deletions