diff options
| author | Ken Raeburn <[email protected]> | 2025-02-19 23:00:19 +0000 |
|---|---|---|
| committer | Mikulas Patocka <[email protected]> | 2025-02-24 11:09:44 +0000 |
| commit | dc8f646cd870671ccebf896b35433362252b850d (patch) | |
| tree | 6aac855b309eed99acf6ec995dacf90be8b50159 /drivers/net/dsa/dsa_loop.c | |
| parent | dm vdo: remove remaining ring references (diff) | |
| download | kernel-dc8f646cd870671ccebf896b35433362252b850d.tar.gz kernel-dc8f646cd870671ccebf896b35433362252b850d.zip | |
dm vdo: rework processing of loaded refcount byte arrays
Clear provisional refcount values and count free/allocated blocks in
one integrated loop. Process 8 aligned bytes at a time instead of
every byte individually.
On an Intel i7-11850H this reduces the CPU time needed to process a
loaded refcount block by a factor of about 5-6. On a large system the
refcount loading may be the largest factor in device startup time.
Signed-off-by: Ken Raeburn <[email protected]>
Signed-off-by: Matthew Sakai <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
