lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACVxJT-NmdAtOMJL1QCtCTztTyBHX+DgnUj7KKkDrRtJdxmUcg@mail.gmail.com>
Date:	Thu, 8 Dec 2011 01:14:17 +0200
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	Will Drewry <wad@...omium.org>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Add refcount type and refcount misuse debugging

On Wed, Dec 7, 2011 at 9:22 PM, Will Drewry <wad@...omium.org> wrote:
> Alexey Dobriyan <adobriyan <at> gmail.com> writes:
>
> [snip]
>
>> Enter _refcnt_t (non-atomic version), refcnt_t (atomic version) datatypes
>> and CONFIG_DEBUG_REFCNT config option.
>
> Is kref_t not appropriate to fill this niche?

Of course, no!
kref is atomic only, kref mandates separate destructor.
bug_on's should be added there, though.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ