Skip to content

process_mrelease: backport 5.15 syscall to 4.19 - #1

Draft
otaviomorais wants to merge 1 commit into
mainfrom
pulsar/backport-process-mrelease
Draft

process_mrelease: backport 5.15 syscall to 4.19#1
otaviomorais wants to merge 1 commit into
mainfrom
pulsar/backport-process-mrelease

Conversation

@otaviomorais

@otaviomorais otaviomorais commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

Backport Linux 5.15 process_mrelease() syscall (nr 448) to the SM8250 4.19 CAF base used by Pulsar.

Implementation

  • Reuses the existing 4.19 pidfd_get_pid(), find_lock_task_mm(), task_will_free_mem() and __oom_reap_task_mm() primitives.
  • Adapts newer mmap_read_lock_killable() semantics to 4.19 down_read_killable(&mm->mmap_sem).
  • Rechecks MMF_OOM_SKIP while holding mmap_sem to serialize with exit_mmap().
  • Registers syscall 448, preserving existing futex_waitv at 449.

Validation

The development branch was validated by GitHub Actions run 31716685994, which completed patch application, configuration, ARM64 kernel build, artifact collection and AnyKernel packaging successfully.

The PR branch is being kept minimal: only the process_mrelease backport patch should differ from main. Temporary workflow/debugging changes are excluded.

@cr-gpt

cr-gpt Bot commented Aug 13, 2026

Copy link
Copy Markdown

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

@otaviomorais
otaviomorais force-pushed the pulsar/backport-process-mrelease branch from b328822 to 1e37a4d Compare August 13, 2026 16:03
@cr-gpt

cr-gpt Bot commented Aug 13, 2026

Copy link
Copy Markdown

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant