GNU bug report logs - #29409
GuixSD ARM port.

Previous Next

Package: guix-patches;

Reported by: Mathieu Othacehe <m.othacehe <at> gmail.com>

Date: Thu, 23 Nov 2017 09:46:01 UTC

Severity: normal

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Mathieu Othacehe <m.othacehe <at> gmail.com>
Cc: 29409 <at> debbugs.gnu.org
Subject: [bug#29409] Remove hugetlb control group on ARM32.
Date: Thu, 21 Dec 2017 09:57:52 +0100
Hi Mathieu,

On Wed, 20 Dec 2017 20:15:07 +0100
Mathieu Othacehe <m.othacehe <at> gmail.com> wrote:

> I'm not sure what do about, a workaround could be the ugly hack
> attached, WDYT ?

I researched cgroups a bit and it seems that /sys/fs/cgroup/hugetlb is for configuration of hugetlb and that cgroups themselves don't require hugetlb - and neither does elogind.

There could be any number of reasons hugetlb doesn't work (custom kernel config etc).

We could use (file-exists? "/proc/sys/vm/nr_hugepages") in order to test for hugetlb support.  The proc filesystem is already mounted at this point.

Alternatively, it would be possible to use (needed-for-boot? #f) for the hugetlb cgroup file-system.  In that case, maybe failure isn't so bad.  I didn't test that, however.

If we want to make this ARM-specific we can do that too, but I think it's more general than that.




This bug report was last modified 7 years and 108 days ago.

Previous Next


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