microsoft / microsoft/ebpf-for-windows

Use declspec(aligned(EBPF_CACHE_LINE_SIZE)) on structures

Open
#2,119 0 comments 0 reactions 0 assignees View on GitHub
cleanup help wanted triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

Use declspec(aligned(EBPF_CACHE_LINE_SIZE)) on structures accessed by a single CPU at high frequency.

Contributor guide

Open the contributing guide

Research direction

Start by locating EBPF_CACHE_LINE_SIZE and the structures accessed by a single CPU at high frequency. Review how those structures are declared and identify the relevant alignment syntax for this Windows C code. Done means the applicable structures use the requested alignment consistently and the existing tests or build complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.