diff options
| author | Guoqing Jiang <guoqing.jiang@linux.dev> | 2022-07-06 21:31:49 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:14:45 -0600 |
| commit | 59f070de125f568fb7ba47b6555b4013e30f28fd (patch) | |
| tree | 11ebb2c84a695e07ad4c607763a718407a139f07 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | rnbd-clt: reduce the size of struct rnbd_clt_dev (diff) | |
| download | linux-59f070de125f568fb7ba47b6555b4013e30f28fd.tar.gz linux-59f070de125f568fb7ba47b6555b4013e30f28fd.zip | |
rnbd-clt: adjust the layout of struct rnbd_clt_dev
While at it, let re-arrange the struct to remove holes.
Before, pahole reports
/* size: 232, cachelines: 4, members: 17 */
/* sum members: 224, holes: 2, sum holes: 8 */
/* last cacheline: 40 bytes */
After the change, the report changes to
/* size: 224, cachelines: 4, members: 17 */
/* last cacheline: 32 bytes */
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20220706133152.12058-6-guoqing.jiang@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
