[Intel-gfx] [PATCH v4 04/38] lib: Add a simple prime number generator

2016-12-22 Thread Joonas Lahtinen
On to, 2016-12-22 at 08:36 +, Chris Wilson wrote: > Prime numbers are interesting for testing components that use multiplies > and divides, such as testing DRM's struct drm_mm alignment computations. > > v2: Move to lib/, add selftest > v3: Fix initial constants (exclude 0/1 from being primes)

[Intel-gfx] [PATCH v4 04/38] lib: Add a simple prime number generator

2016-12-22 Thread Chris Wilson
On Thu, Dec 22, 2016 at 11:52:45AM +0200, Joonas Lahtinen wrote: > On to, 2016-12-22 at 08:36 +, Chris Wilson wrote: > > Prime numbers are interesting for testing components that use multiplies > > and divides, such as testing DRM's struct drm_mm alignment computations. > > > > v2: Move to lib

[PATCH v4 04/38] lib: Add a simple prime number generator

2016-12-22 Thread Chris Wilson
Prime numbers are interesting for testing components that use multiplies and divides, such as testing DRM's struct drm_mm alignment computations. v2: Move to lib/, add selftest v3: Fix initial constants (exclude 0/1 from being primes) v4: More RCU markup to keep 0day/sparse happy v5: Fix RCU unwin