Re: [PATCH] lib/string: Bring optimized memcmp from glibc

From: Matthew Wilcox
Date: Wed Jul 21 2021 - 10:52:01 EST


On Wed, Jul 21, 2021 at 03:42:10PM +0100, Christoph Hellwig wrote:
> On Wed, Jul 21, 2021 at 05:35:42PM +0300, Nikolay Borisov wrote:
> >
> >
> > On 21.07.21 ??. 17:32, Christoph Hellwig wrote:
> > > This seems to have lost the copyright notices from glibc.
> > >
> >
> > I copied over only the code, what else needs to be brought up:
> >
> > Copyright (C) 1991-2021 Free Software Foundation, Inc.
> > This file is part of the GNU C Library.
> > Contributed by Torbjorn Granlund (tege@xxxxxxx).
> >
> > The rest is the generic GPL license txt ?
>
> Last time I checked glibc is under LGPL.

This particular file is under LGPL-2.1, so we can distribute it under
GPL 2.