lkml.org 
[lkml]   [2023]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [patch V2 4/4] net: dst: Switch to rcuref_t reference counting
    On Tue, Mar 7, 2023 at 4:57 AM Thomas Gleixner <tglx@linutronix.de> wrote:
    >
    > - atomic_t __refcnt; /* 64-bit offset 64 */
    > + rcuref_t __refcnt; /* 64-bit offset 64 */

    > - atomic_t __refcnt; /* 32-bit offset 64 */
    > + rcuref_t __refcnt; /* 32-bit offset 64 */

    I assume any mis-use is caught by typechecking, but I'd be even
    happier if you changed the name of the member when you fundamentally
    change the use model for it (eg "__refcnt" -> "__rcuref" or
    something).

    Or was there some reason for not doing that?

    Linus

    \
     
     \ /
      Last update: 2023-03-27 00:47    [W:2.322 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site