• Dave Jones's avatar
    lockdep: shrink held_lock structure · f82b217e
    Dave Jones authored
    struct held_lock {
            u64                        prev_chain_key;       /*     0     8 */
            struct lock_class *        class;                /*     8     8 */
            long unsigned int          acquire_ip;           /*    16     8 */
            struct lockdep_map *       instance;             /*    24     8 */
            int                        irq_context;          /*    32     4 */
            int                        trylock;              /*    36     4 */
            int                        read;                 /*    40     4 */
            int                        check;                /*    44     4 */
            int                        hardirqs_off;         /*    48     4 */
    
            /* size: 56, cachelines: 1 */
            /* padding: 4 */
            /* last cacheline: 56 bytes */
    };
    
    struct held_lock {
            u64                        prev_chain_key;       /*     0     8 */
            long unsigned int          acquire_ip;           /*     8     8 */
            struct...
    f82b217e
lockdep_internals.h 2.64 KB