[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160419.200709.1456260686653504927.davem@davemloft.net>
Date: Tue, 19 Apr 2016 20:07:09 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: khlebnikov@...dex-team.ru
Cc: netdev@...r.kernel.org, yishaih@...lanox.com, eugenia@...lanox.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/mlx4_en: do batched put_page using atomic_sub
From: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Date: Mon, 18 Apr 2016 14:34:05 +0300
> This patch fixes couple error paths after allocation failures.
> Atomic set of page reference counter is safe only if it is zero,
> otherwise set can race with any speculative get_page_unless_zero.
>
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Applied.
Powered by blists - more mailing lists