Re: [PATCH] lib: Add Dhrystone benchmark test

From: Geert Uytterhoeven
Date: Fri Dec 09 2022 - 05:04:48 EST


Hi Andrew,

On Thu, Dec 8, 2022 at 11:57 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, 8 Dec 2022 15:31:28 +0100 Geert Uytterhoeven <geert+renesas@xxxxxxxxx> wrote:
>
> > Hence make the classical Dhrystone 2.1 benchmark available as a Linux
> > kernel test module, based on[1].
>
> I can take a look at this after the merge window

Thanks!

> I'm not able to figure out the licensing of this.
> https://netlib.org/benchmark/dhry-c appears to be silent on the topic?

Searching the internet, people claim it's just public domain...

My topic/dhry-unsquashed branch has my rationale:

FreeBSD uses BSD-2-Clause for this, which is probably the closest to the
original intention of the authors.
Augment with GPL-2.0-only, as this now calls into internal Linux APIs.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds