Skip to content

uucore: parse GLIBC_TUNABLES with the glibc rules - #15938

Merged
sylvestre merged 1 commit into
uutils:mainfrom
ChihweiLHBird:zhiwei/uucore-tunables-glibc
Nov 27, 2026
Merged

sylvestre merged 1 commit into
uutils:mainfrom
ChihweiLHBird:zhiwei/uucore-tunables-glibc

Conversation

@ChihweiLHBird

Copy link
Copy Markdown
Contributor

Stop trimming blanks in setting names and items. Ignore the whole variable when a value contains '=' or when the last setting has no '='.
Matching GNU latest master branch behaviors after the fix of coreutils/coreutils#385

Copilot AI balanced review requested due to automatic review settings October 28, 2026 00:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from 5902d6e to c9ebf00 Compare October 28, 2026 00:26
@codspeed

codspeed Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning, 1 note

⚠️ 120 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

ℹ️ 1 benchmark has no flamegraph

The flamegraph wasn't generated: most of the time was spent in runtime internals, which would leave nothing useful to analyze.

See affected benchmarks

✅ 415 untouched benchmarks
⏩ 70 skipped benchmarks1


Comparing ChihweiLHBird:zhiwei/uucore-tunables-glibc (23df442) with main (932efe9)2

Open in CodSpeed

Footnotes

  1. 70 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on main (6dcc23e) during the generation of this report, so 932efe9 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from c9ebf00 to 0d3b80c Compare November 1, 2026 05:44
Copilot AI balanced review requested due to automatic review settings November 1, 2026 05:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the changes aligning GLIBC_TUNABLES parsing with glibc’s rules.

No open issues 🎉

Review effort: Balanced

@sylvestre
sylvestre force-pushed the zhiwei/uucore-tunables-glibc branch from 0d3b80c to cdeed14 Compare November 3, 2026 15:35
Copilot AI balanced review requested due to automatic review settings November 3, 2026 15:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open issue

Review effort: Lite

Comment thread src/uucore/src/lib/features/hardware.rs Resolved
@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from cdeed14 to 1346c0e Compare November 3, 2026 18:22
Copilot AI balanced review requested due to automatic review settings November 3, 2026 18:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open issue
1 resolved since last review

Review effort: Lite

Comment thread src/uucore/src/lib/features/hardware.rs Resolved
@ChihweiLHBird
ChihweiLHBird requested a balanced review from Copilot November 3, 2026 18:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

2 open issues
1 resolved since last review

Review effort: Lite

Comment thread src/uucore/src/lib/features/hardware.rs Resolved
Comment thread src/uucore/src/lib/features/hardware.rs Resolved
@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from 1346c0e to 9de06a3 Compare November 6, 2026 07:05
Copilot AI balanced review requested due to automatic review settings November 6, 2026 07:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are identified for the GLIBC_TUNABLES parsing changes.

1 open issue
1 resolved since last review

Review effort: Balanced

@sylvestre
sylvestre force-pushed the zhiwei/uucore-tunables-glibc branch from 9de06a3 to ac62f4c Compare November 7, 2026 18:25
Copilot AI balanced review requested due to automatic review settings November 7, 2026 18:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

2 open issues

Review effort: Lite

Comment thread src/uucore/src/lib/features/hardware.rs Resolved
Copilot AI balanced review requested due to automatic review settings November 8, 2026 00:12
@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from ac62f4c to 7bfce89 Compare November 8, 2026 00:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

No open issues 🎉

2 resolved since last review

Review effort: Lite

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open issue

Review effort: Lite

.next_back()
else {
// glibc ignores the whole variable when the last setting has no '='.
let last = tunables.rsplit(':').next().unwrap_or_default();
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from 388fe9b to d0471ae Compare November 18, 2026 04:47
Copilot AI balanced review requested due to automatic review settings November 18, 2026 04:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open issue

Review effort: Lite

@github-actions

Copy link
Copy Markdown

Binary size comparison:

Individual binary size comparison VS main (threshold: >=5% AND >=4 KB).

Total size of compared binaries: 155.50 MB (+112 KB, +0.07%)

Significant per-binary changes:
  env     1.20 MB ->    1.28 MB  (+80 KB, +6.51%)

@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from d0471ae to 889cccb Compare November 19, 2026 17:24
Copilot AI balanced review requested due to automatic review settings November 19, 2026 17:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from 889cccb to 033c4f9 Compare November 20, 2026 07:52
Copilot AI balanced review requested due to automatic review settings November 20, 2026 07:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from 033c4f9 to bef975b Compare November 21, 2026 05:29
Copilot AI balanced review requested due to automatic review settings November 21, 2026 05:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from bef975b to 58fd2c6 Compare November 24, 2026 08:09
Copilot AI balanced review requested due to automatic review settings November 24, 2026 08:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from 58fd2c6 to df2b6ca Compare November 26, 2026 07:47
Copilot AI balanced review requested due to automatic review settings November 26, 2026 07:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

Stop trimming blanks in setting names and items. Ignore the whole variable when a value contains '=' or when the last setting has no '='.

Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
@ChihweiLHBird
ChihweiLHBird force-pushed the zhiwei/uucore-tunables-glibc branch from df2b6ca to 23df442 Compare November 27, 2026 11:16
Copilot AI balanced review requested due to automatic review settings November 27, 2026 11:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@sylvestre
sylvestre merged commit 2b39c57 into uutils:main Nov 27, 2026
233 of 234 checks passed
@sylvestre

Copy link
Copy Markdown
Contributor

Thanks for your PR

@ChihweiLHBird
ChihweiLHBird deleted the zhiwei/uucore-tunables-glibc branch November 27, 2026 21:12
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.

3 participants