GNU bug report logs - #58016
[PATCH] gnu: linux-libre: Support zram on all kernels.

Previous Next

Package: guix-patches;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Fri, 23 Sep 2022 06:09:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58016 in the body.
You can then email your comments to 58016 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58016; Package guix-patches. (Fri, 23 Sep 2022 06:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Efraim Flashner <efraim <at> flashner.co.il>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 23 Sep 2022 06:09:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: guix-patches <at> gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>
Subject: [PATCH] gnu: linux-libre: Support zram on all kernels.
Date: Fri, 23 Sep 2022 09:08:32 +0300
* gnu/packages/linux.scm (%default-extra-linux-options): Add config
options to add zram support.
---

Currently we only have zram support in our kernel .conf files, this adds
it to all the linux-libre-<arch>-generic kernels, and any other ones I
may have forgotten about.

---
 gnu/packages/linux.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 306c18e398..18f8efe2f2 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -695,6 +695,10 @@ (define %default-extra-linux-options
     ("CONFIG_PROC_PID_CPUSET" . #t)
     ;; Allow disk encryption by default
     ("CONFIG_DM_CRYPT" . m)
+    ;; Support zram on all kernel configs
+    ("CONFIG_ZSWAP" . #t)
+    ("CONFIG_ZSMALLOC" . #t)
+    ("CONFIG_ZRAM" . m)
     ;; Modules required for initrd:
     ("CONFIG_NET_9P" . m)
     ("CONFIG_NET_9P_VIRTIO" . m)

base-commit: 2e8b4f9bfa00489fd3acff305837a79af236e183
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#58016; Package guix-patches. (Tue, 04 Oct 2022 07:48:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 58016 <at> debbugs.gnu.org
Subject: Re: bug#58016: [PATCH] gnu: linux-libre: Support zram on all kernels.
Date: Tue, 04 Oct 2022 09:47:34 +0200
Hi,

Efraim Flashner <efraim <at> flashner.co.il> skribis:

> * gnu/packages/linux.scm (%default-extra-linux-options): Add config
> options to add zram support.
> ---
>
> Currently we only have zram support in our kernel .conf files, this adds
> it to all the linux-libre-<arch>-generic kernels, and any other ones I
> may have forgotten about.

Sounds reasonable to me, thanks!

Ludo’.




Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Thu, 06 Oct 2022 06:51:02 GMT) Full text and rfc822 format available.

Notification sent to Efraim Flashner <efraim <at> flashner.co.il>:
bug acknowledged by developer. (Thu, 06 Oct 2022 06:51:02 GMT) Full text and rfc822 format available.

Message #13 received at 58016-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 58016-done <at> debbugs.gnu.org
Subject: Re: bug#58016: [PATCH] gnu: linux-libre: Support zram on all kernels.
Date: Thu, 6 Oct 2022 09:50:35 +0300
[Message part 1 (text/plain, inline)]
On Tue, Oct 04, 2022 at 09:47:34AM +0200, Ludovic Courtès wrote:
> Hi,
> 
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> 
> > * gnu/packages/linux.scm (%default-extra-linux-options): Add config
> > options to add zram support.
> > ---
> >
> > Currently we only have zram support in our kernel .conf files, this adds
> > it to all the linux-libre-<arch>-generic kernels, and any other ones I
> > may have forgotten about.
> 
> Sounds reasonable to me, thanks!
> 
> Ludo’.

Thanks! Patch pushed.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Nov 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 173 days ago.

Previous Next


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