Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back preadv2 optimization for try_acquire on Linux #90

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Commits on Apr 22, 2024

  1. Add back preadv2 optimization for try_acquire on Linux

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    c65cd8e View commit details
    Browse the repository at this point in the history
  2. SFix compilation on musl: Vendor RWF_NOWAIT constant

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    f34c2bc View commit details
    Browse the repository at this point in the history
  3. Enable preadv2 optimization on android

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    0d6baba View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Remove outdated comments

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    dd0f271 View commit details
    Browse the repository at this point in the history
  2. Fix preadv2 implementation for x86_64 x32

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    6ad33aa View commit details
    Browse the repository at this point in the history
  3. Hard code parameter offset

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    5602ef7 View commit details
    Browse the repository at this point in the history
  4. Hardcode more values in preadv2

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    5cf22b5 View commit details
    Browse the repository at this point in the history
  5. Apply code review change

    Co-authored-by: Jubilee
    
    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    686fe22 View commit details
    Browse the repository at this point in the history
  6. Fix type of offset passed to preadv2 syscall on x64

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    181591c View commit details
    Browse the repository at this point in the history
  7. Mark preadv2 a safe function to call

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    9087cbe View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Refactor: Introduce variable offset to avoid hard-coded constants

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    804310f View commit details
    Browse the repository at this point in the history
  2. Refactor: Use cfg! instead of #[cfg]

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    60cac97 View commit details
    Browse the repository at this point in the history