Skip to content

7.1: Fix BORE scheduler patch compilation errors#164

Open
Vikyek wants to merge 1 commit into
CachyOS:masterfrom
Vikyek:fix-bore-7.1
Open

7.1: Fix BORE scheduler patch compilation errors#164
Vikyek wants to merge 1 commit into
CachyOS:masterfrom
Vikyek:fix-bore-7.1

Conversation

@Vikyek

@Vikyek Vikyek commented Jun 18, 2026

Copy link
Copy Markdown

This PR fixes compilation and patching errors for the BORE scheduler patch on Linux 7.1.0.

It updates 0001-bore-cachy.patch for 7.1 to align with upstream changes:

  • copy_process in kernel/fork.c now includes the CLONE_AUTOREAP logic.
  • reweight_entity in kernel/sched/fair.c now uses the avruntime variable and calls entity_lag directly.
  • place_entity in kernel/sched/fair.c keeps update_zero context.
  • dequeue_entity in kernel/sched/fair.c runs update_entity_lag conditionally if BORE is active (otherwise unconditionally as per 7.1.0 defaults).
  • requeue_delayed_entity in kernel/sched/fair.c now takes flags as part of its signature, and we pass requeue_flags based on BORE status.

These changes allow linux-cachyos-bore to build cleanly.

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