public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: multi_v7_defconfig: Enable cgroups
@ 2014-11-17 19:55 Soren Brinkmann
  2014-11-20 12:54 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Soren Brinkmann @ 2014-11-17 19:55 UTC (permalink / raw)
  To: linux-arm-kernel

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(+)

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
-- 
2.1.3.1.ge241007

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] ARM: multi_v7_defconfig: Enable cgroups
  2014-11-17 19:55 [PATCH] ARM: multi_v7_defconfig: Enable cgroups Soren Brinkmann
@ 2014-11-20 12:54 ` Arnd Bergmann
  2014-11-20 13:05   ` Javier Martinez Canillas
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2014-11-20 12:54 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: multi_v7_defconfig: Enable cgroups
  2014-11-20 12:54 ` Arnd Bergmann
@ 2014-11-20 13:05   ` Javier Martinez Canillas
  0 siblings, 0 replies; 3+ messages in thread
From: Javier Martinez Canillas @ 2014-11-20 13:05 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-20 13:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-17 19:55 [PATCH] ARM: multi_v7_defconfig: Enable cgroups Soren Brinkmann
2014-11-20 12:54 ` Arnd Bergmann
2014-11-20 13:05   ` Javier Martinez Canillas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox