Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 4853a600c2cd994461052a23a8e79654349f110f
      
https://github.com/Perl/perl5/commit/4853a600c2cd994461052a23a8e79654349f110f
  Author: Richard Leach <[email protected]>
  Date:   2026-02-08 (Sun, 08 Feb 2026)

  Changed paths:
    M op.h

  Log Message:
  -----------
  Close padding hole in op_multiparam_named_aux struct

The _pahole_ tool, on AMD64, shows that this commit converts:
```
struct op_multiparam_named_aux {
        const char  *              namepv;               /*     0     8 */
        STRLEN                     namelen;              /*     8     8 */
        U32                        namehash;             /*    16     4 */

        /* XXX 4 bytes hole, try to pack */

        PADOFFSET                  padix;                /*    24     8 */
        _Bool                      is_required:1;        /*    32: 0  1 */

        /* size: 40, cachelines: 1, members: 5 */
        /* sum members: 28, holes: 1, sum holes: 4 */
        /* sum bitfield members: 1 bits (0 bytes) */
        /* padding: 7 */
        /* bit_padding: 7 bits */
        /* last cacheline: 40 bytes */
};
```

to

```
struct op_multiparam_named_aux {
        PADOFFSET                  padix;                /*     0     8 */
        const char  *              namepv;               /*     8     8 */
        STRLEN                     namelen;              /*    16     8 */
        U32                        namehash;             /*    24     4 */
        _Bool                      is_required:1;        /*    28: 0  1 */

        /* size: 32, cachelines: 1, members: 5 */
        /* padding: 3 */
        /* bit_padding: 7 bits */
        /* last cacheline: 32 bytes */
};
```



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to