[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200910161902.GB1180022@kroah.com>
Date: Thu, 10 Sep 2020 18:19:02 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Stephen Boyd <swboyd@...omium.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Tri Vo <trong@...roid.com>,
Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
Matthew Wilcox <willy@...radead.org>
Subject: Re: [PATCH v3 1/2] idr: Document calling context for IDA APIs
mustn't use locks
On Wed, Sep 09, 2020 at 10:52:45PM -0700, Stephen Boyd wrote:
> The documentation for these functions indicates that callers don't need
> to hold a lock while calling them, but that documentation is only in one
> place under "IDA Usage". Let's state the same information on each IDA
> function so that it's clear what the calling context requires.
> Furthermore, let's document ida_simple_get() with the same information
> so that callers know how this API works.
Thank you for this, I always have to go look it up too...
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists