Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 6421a1b0ceaa
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: de3ea5ac12b8
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 25, 2020

  1. nixos/zram: add zramSwap.memoryMax option

    This allows capping the total amount of memory that will be used for
    zram-swap, in addition to the percentage-based calculation, which is
    useful when blanket-applying a configuration to many machines.
    
    This is based off the strategy used by Fedora for their rollout of
    zram-swap-by-default in Fedora 33
    (https://fedoraproject.org/wiki/Changes/SwapOnZRAM), which caps the
    maximum amount of memory used for zram at 4GiB.
    
    In future it might be good to port this to the systemd zram-generator,
    instead of using this separate infrastructure.
    lukegb committed Nov 25, 2020
    Copy the full SHA
    ad62155 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #102855 from lukegb/zram-cap-max

    nixos/zram: add zramSwap.memoryMax option
    lheckemann committed Nov 25, 2020
    Copy the full SHA
    de3ea5a View commit details
    Browse the repository at this point in the history