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] [day] [month] [year] [list]
Message-ID: <76cd3354-c808-0561-5b07-179161c06aec@bytedance.com>
Date:   Fri, 14 Jul 2023 21:32:43 +0800
From:   Peng Zhang <zhangpeng.00@...edance.com>
To:     Matthew Wilcox <willy@...radead.org>
Cc:     "Liam R. Howlett" <Liam.Howlett@...cle.com>,
        maple-tree@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Peng Zhang <zhangpeng.00@...edance.com>
Subject: Re: Maple Tree Work



在 2023/7/14 20:57, Matthew Wilcox 写道:
> On Thu, Jul 13, 2023 at 05:58:13PM +0800, Peng Zhang wrote:
>> I have a question I want to discuss here. I noticed that the interface
>> of maple tree has three different prefixes, namely mtree_*, mt_*, mas_*.
>> I am curious why the interfaces prefixed with mtree_* and mt_* cannot be
>> unified? I think they can be changed to mtree_* to avoid two different
>> prefixes.
> 
> I haven't worried about this too much.  The long-term goal is to use
> the maple tree data structure to replace the radix tree data structure
> underlying the xarray and use the xarray API to access the maple tree.
> The xarray API will need some enhancements to make this work, but churning
> the maple tree API doesn't seem like a good use of effort.
> 
If there are two prefixes, mt_ and mtree_, I will be confused which
prefix to use when adding a new API. Users will also be confused when
they see the two prefixes mt_ and mtree_. However, renaming the API
is not a good thing either.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ