From ad8a3b86abc1cef7e3180f3f0e3b7ac099077c33 Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Sun, 7 Jul 2013 22:40:20 +0200 Subject: [PATCH] linux-3.10: forward-port 9p speedup from 3.9 --- pkgs/os-specific/linux/kernel/linux-3.10.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/linux-3.10.nix b/pkgs/os-specific/linux/kernel/linux-3.10.nix index 8c48a5b6c841..bcf555201a27 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.10.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.10.nix @@ -247,6 +247,10 @@ let # Our initrd init uses shebang scripts, so can't be modular BINFMT_SCRIPT y + # Enable the 9P cache to speed up NixOS VM tests. + 9P_FSCACHE y + 9P_FS_POSIX_ACL y + ${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""} ${extraConfig} '';