Commit db2b8d2
committed
cgroup: Make empty assignments reset to default
When MemoryLow= or MemoryMin= is set, it is interpretted as setting the
values to infinity. This is inconsistent with the default initialization
to 0.
It'd be nice to interpret the empty assignment as fallback to
DefaultMemory* of parent slice, however, current DBus API cannot convey
such a NULL value, so stick to simply interpretting that as hard-wired
default.1 parent 21c8397 commit db2b8d2
2 files changed
+22
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3371 | 3371 | | |
3372 | 3372 | | |
3373 | 3373 | | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
3374 | 3380 | | |
3375 | 3381 | | |
3376 | 3382 | | |
| |||
3391 | 3397 | | |
3392 | 3398 | | |
3393 | 3399 | | |
| 3400 | + | |
3394 | 3401 | | |
3395 | | - | |
3396 | | - | |
3397 | | - | |
3398 | | - | |
3399 | 3402 | | |
| 3403 | + | |
3400 | 3404 | | |
3401 | | - | |
3402 | | - | |
3403 | | - | |
3404 | | - | |
3405 | 3405 | | |
3406 | 3406 | | |
3407 | 3407 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
| 492 | + | |
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
497 | 510 | | |
498 | 511 | | |
499 | 512 | | |
| |||
0 commit comments