Re: [RFT i-g-t 1/2] tests/gem_shrink: Background, direct and OOM shrinker plus userptr tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 07/12/2018 10:17, Chris Wilson wrote:
Quoting Tvrtko Ursulin (2018-12-07 10:14:53)
+static void trigger_oom(void)
+{
+       const char *cmd = "f";
+        int fd;
+
+        fd = open("/proc/sysrq-trigger", O_WRONLY);
+        igt_assert_fd(fd);

/proc/sysrq-trigger may not exist. subgroup fixture igt_require?

I guess so. Marking for TODO. First I need to re-visit whether my test is actually exercising all three reclaim path (or better say shrink_lock paths), since afterwards I figured out there is some "misleadingness" there.

Regards,

Tvrtko


_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux