summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-03 16:32:52 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-03 16:32:52 +0100
commitaee0dcb1ec2075991d310dd6f3fb5e50160847d1 (patch)
tree18bc4959d72c0616621cb24704767bba878fc134 /lib
parent26b336f81128b6c51e2757381c19d8cdf0b2c369 (diff)
test/gem_concurrent_blt
Limit working set size also with available ram. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72255 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib')
-rw-r--r--lib/drmtest.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c
index 94fa6861..eeab5e64 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -1127,7 +1127,6 @@ static void fork_helper_exit_handler(int sig)
bool __igt_fork_helper(struct igt_helper_process *proc)
{
pid_t pid;
- sighandler_t oldsig;
int id;
assert(!proc->running);
@@ -1144,7 +1143,6 @@ bool __igt_fork_helper(struct igt_helper_process *proc)
* that inserting sufficient amounts of printf or other delays makes
* this unnecessary.
*/
- oldsig = signal(SIGQUIT, SIG_DFL);
switch (pid = fork()) {
case -1:
igt_assert(0);
@@ -1155,8 +1153,6 @@ bool __igt_fork_helper(struct igt_helper_process *proc)
return true;
default:
- signal(SIGQUIT, oldsig);
-
proc->running = true;
proc->pid = pid;
proc->id = id;