[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZYSDWn18KsMyJunl@bombadil.infradead.org>
Date: Thu, 21 Dec 2023 10:26:34 -0800
From: Luis Chamberlain <mcgrof@...nel.org>
To: Marco Pagani <marpagan@...hat.com>
Cc: linux-modules@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kernel/module: improve documentation for try_module_get()
On Thu, Dec 21, 2023 at 05:58:47PM +0100, Marco Pagani wrote:
> The sentence "this call will fail if the module is already being
> removed" is potentially confusing and may contradict the rest of the
> documentation. If one tries to get a module that has already been
> removed using a stale pointer, the kernel will crash.
>
> Signed-off-by: Marco Pagani <marpagan@...hat.com>
Thanks, patch applied!
Luis
Powered by blists - more mailing lists