Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 29 Mar 2019 18:37:23 +0100
From: Oleg Nesterov <>
To: Joel Fernandes <>
Cc: Jann Horn <>, Kees Cook <>,
	"Eric W. Biederman" <>,
	LKML <>,
	Android Kernel Team <>,
	Kernel Hardening <>,
	Andrew Morton <>,
	Matthew Wilcox <>,
	Michal Hocko <>,
	"Reshetova, Elena" <>
Subject: Re: [PATCH] Convert struct pid count to refcount_t

On 03/28, Joel Fernandes wrote:
> Also Oleg, why not just call refcount_dec_and_test like below?

Of course we can, this is just optimization to avoid the atomic op if possible.

Does this optimization really help? I have no idea ;)

But as you can see, it surely helps to provoke the interesting discussions!


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.