diff mbox

ARM: multi_v7_defconfig: Enable cgroups

Message ID 1416254107-29326-1-git-send-email-soren.brinkmann@xilinx.com
State New
Headers show

Commit Message

Soren Brinkmann Nov. 17, 2014, 7:55 p.m. UTC
This allows booting the kernel with systemd-based root file systems.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
---
Hi,

I don't know whether I'm the only one, but I use a initramfs with
systemd as init, which requires cgroup support in the kernel to fully
boot.

	Thanks,
	Sören
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Arnd Bergmann Nov. 20, 2014, 12:54 p.m. UTC | #1
On Monday 17 November 2014, Soren Brinkmann wrote:
> This allows booting the kernel with systemd-based root file systems.
> 
> Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
> ---
> Hi,
> 
> I don't know whether I'm the only one, but I use a initramfs with
> systemd as init, which requires cgroup support in the kernel to fully
> boot.
> 

You probably are at this time, but I expect it to get more common
in the future, I don't think enabling this is controversial at all.

Applied to next/defconfig, thanks!

	Arnd
Javier Martinez Canillas Nov. 20, 2014, 1:05 p.m. UTC | #2
Hello,

On Thu, Nov 20, 2014 at 1:54 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Monday 17 November 2014, Soren Brinkmann wrote:
>> This allows booting the kernel with systemd-based root file systems.
>>
>> Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
>> ---
>> Hi,
>>
>> I don't know whether I'm the only one, but I use a initramfs with
>> systemd as init, which requires cgroup support in the kernel to fully
>> boot.
>>
>
> You probably are at this time, but I expect it to get more common
> in the future, I don't think enabling this is controversial at all.
>

Others are using it but with SoC specific defconfig and not multi_v7.

Newer version of systemd needs more config symbols to be enabled
besides cgroups, the full list is at
http://cgit.freedesktop.org/systemd/systemd/tree/README.

Tony recently added the recommended support to OMAP2+ defconfig so
something along these lines should be added to multi_v7 as a
follow-up:

673ce00c ("ARM: omap2plus_defconfig: Add support for distros with systemd")

Best regards,
Javier
diff mbox

Patch

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 3487046d8a78..2dd723e63c35 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -3,6 +3,7 @@  CONFIG_FHANDLE=y
 CONFIG_IRQ_DOMAIN_DEBUG=y
 CONFIG_NO_HZ=y
 CONFIG_HIGH_RES_TIMERS=y
+CONFIG_CGROUPS=y
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_EMBEDDED=y
 CONFIG_PERF_EVENTS=y