summaryrefslogtreecommitdiff
path: root/lib/igt_gt.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-03-23 17:09:26 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-03-23 17:09:48 +0000
commit137360f75a42042198cf00d35a54cc68660d8c90 (patch)
tree71bc2c45808158d6acb3dacff49ec10c6a70a01f /lib/igt_gt.c
parentf22e19b38a1593b207b6044cf8fb953c5cddc2b7 (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 'lib/igt_gt.c')
0 files changed, 0 insertions, 0 deletions