[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zw9s86K0Dv2FZvt2@infradead.org>
Date: Wed, 16 Oct 2024 00:36:19 -0700
From: Christoph Hellwig <hch@...radead.org>
To: lizhe.67@...edance.com
Cc: hch@...radead.org, akpm@...ux-foundation.org, boqun.feng@...il.com,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
longman@...hat.com, mingo@...hat.com, peterz@...radead.org,
will@...nel.org
Subject: Re: [RFC 1/2] rwsem: introduce upgrade_read interface
On Wed, Oct 16, 2024 at 03:33:40PM +0800, lizhe.67@...edance.com wrote:
> >> +extern int upgrade_read(struct rw_semaphore *sem);
> >
> >No need for the extern. Also please make any new advanced funtionality
>
> Sorry I don't understand why extern is not needed. If we remove it,
> we will encounter the following compilation error:
That sounds like you dropped the entire line above, and not just the
"extern ".
Powered by blists - more mailing lists