From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755145AbbFSSSP (ORCPT ); Fri, 19 Jun 2015 14:18:15 -0400 Received: from mail-ob0-f182.google.com ([209.85.214.182]:34194 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754889AbbFSSSH (ORCPT ); Fri, 19 Jun 2015 14:18:07 -0400 MIME-Version: 1.0 In-Reply-To: <20150619180742.62D31523@viggo.jf.intel.com> References: <20150619180742.62D31523@viggo.jf.intel.com> Date: Fri, 19 Jun 2015 14:18:06 -0400 X-Google-Sender-Auth: WNH_49FtaFUn9GLh8D9Q2XWt-kw Message-ID: Subject: Re: [PATCH] fs: inotify: systemd needs it so make it depend on CONFIG_EMBEDDED From: Ilia Mirkin To: Dave Hansen Cc: dave.hansen@linux.intel.com, john@johnmccutchan.com, rlove@rlove.org, eparis@parisplace.org, viro@zeniv.linux.org.uk, Linus Torvalds , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 19, 2015 at 2:07 PM, Dave Hansen wrote: > > From: Dave Hansen > > I have a little microbenchmark that sits and does write() in a loop. > The number one kernel function in the profiles is __srcu_read_lock() > from fsnotify(). I decided to turn off INOTIFY in order to see what > the potential from optimizing this path would be. I ended up with > a system at the rescue console as systemd complained that dependencies > were not met mounting some non-root filesystems: > > systemd: inotify_init1() failed: Function not implemented > systemd: Dependency failed for Mark the need to relabel after reboot. > systemd: Triggering OnFailure= dependencies of local-fs.target. > systemd: inotify_init1() failed: Function not implemented > systemd: Dependency failed for /gcc. > > It looks like CONFIG_INOTIFY is now a critical part of any system > that wants to both use systemd and boot. Let's make it depend > on CONFIG_EMBEDDED. Is systemd depending on something really reason enough to make it depend on EMBEDDED? For example all the cgroups stuff is not only not dependent on embedded, but also off by default, and I'm sure there are a boatload of other dependencies which any normal system has no business worrying about but that are required by systemd. -ilia -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/