guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/08: linux-boot: Remove verbose output for module loads.


From: Ludovic Courtès
Subject: 06/08: linux-boot: Remove verbose output for module loads.
Date: Mon, 04 Jan 2016 23:29:01 +0000

civodul pushed a commit to branch master
in repository guix.

commit fb74174958800496e40aec07543bff07cfaa7b35
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jan 4 23:04:21 2016 +0100

    linux-boot: Remove verbose output for module loads.
    
    * gnu/build/linux-boot.scm (boot-system): Leave
    'current-module-debugging-port' unchanged.
    * gnu/build/linux-modules.scm (load-linux-module*): Update comment about
    'mmap'.
---
 gnu/build/linux-boot.scm    |    3 +--
 gnu/build/linux-modules.scm |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index 30d6570..0fc90af 100644
--- a/gnu/build/linux-boot.scm
+++ b/gnu/build/linux-boot.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -381,7 +381,6 @@ to it are lost."
          (start-repl))
 
        (display "loading kernel modules...\n")
-       (current-module-debugging-port (current-output-port))
        (for-each (cut load-linux-module* <>
                       #:lookup-module lookup-module)
                  (map lookup-module linux-modules))
diff --git a/gnu/build/linux-modules.scm b/gnu/build/linux-modules.scm
index a3bc7d6..e6552fd 100644
--- a/gnu/build/linux-modules.scm
+++ b/gnu/build/linux-modules.scm
@@ -144,7 +144,7 @@ true, load its dependencies first (à la 'modprobe'.)  The 
actual files
 containing modules depended on are obtained by calling LOOKUP-MODULE with the
 module name."
   (define (slurp module)
-    ;; TODO: Use 'mmap' to reduce memory usage.
+    ;; TODO: Use 'finit_module' to reduce memory usage.
     (call-with-input-file file get-bytevector-all))
 
   (when recursive?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]