GNU bug report logs - #54783
ZRAM default priority wrong

Previous Next

Package: guix;

Reported by: Stefan Baums <baums <at> stefanbaums.com>

Date: Fri, 8 Apr 2022 04:21:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Baums <baums <at> stefanbaums.com>
To: bug-guix <at> gnu.org
Subject: ZRAM default priority wrong
Date: Thu, 07 Apr 2022 22:27:23 -0400
I have a swap file and zram configured without specifying
priority. The swap file was assigned -2, and zram -3, with the
effect that zram was never used. I had to manually change the zram
priority to something higher that that of the swap file.

The manual wrongly claims that the default priority for zram is
-1. The same paragraph of the manual also says:

   ‘swapon’ accepts values between -1 and 32767, with higher
   values indicating higher priority.

which makes the -2 priority of the swap file look suspect (though
it seems to work).




This bug report was last modified 3 years and 38 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.