Repository navigation
Commit c04b649
test: size job-control output from page size
On ppc64le,
test_pipeline_stops_with_cmd2_and_returns_terminal[interrupt-busy-producer]
times out waiting for cmd2 to hand the terminal to the pager:
foreground process group: 605
605 ... Sl+ hrtime application.py
633 ... S poll_s pager.py
The busy producers write 256 KiB, meant to be more than a pipe holds
so that the write blocks and cmd2 lends the terminal. Linux sizes a
pipe in pages, 16 by default, and ppc64le uses 64 KiB pages, so a pipe
holds 1 MiB there. The write completes without blocking and the
terminal is never lent.
Write 64 pages instead: unchanged at 256 KiB with 4 KiB pages, 4 MiB
with 64 KiB pages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent e5811a3 commit c04b649
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
154 | 158 | | |
155 | 159 | | |
156 | 160 | | |
157 | | - | |
| 161 | + | |
158 | 162 | | |
159 | 163 | | |
160 | 164 | | |
161 | 165 | | |
162 | 166 | | |
163 | | - | |
| 167 | + | |
164 | 168 | | |
165 | 169 | | |
166 | 170 | | |
| |||
305 | 309 | | |
306 | 310 | | |
307 | 311 | | |
308 | | - | |
| 312 | + | |
309 | 313 | | |
310 | 314 | | |
311 | 315 | | |
| |||
0 commit comments