[igt-dev] [PATCH i-g-t 1/1] runner: Increase buffer size for reading outputs

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 14 11:39:25 UTC 2018


Quoting Petri Latvala (2018-09-14 12:21:39)
> The law of chosen magic numbers: The number selected is wrong.

PAGE_SIZE is a good default for reads. It's typically tied into
atomicity within the kernel fd interfaces, so works as a sensible
minimum.
-Chris


More information about the igt-dev mailing list