From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A4ACA405C38 for ; Sat, 16 May 2026 10:33:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778927634; cv=none; b=LxqlvxlpY537iujhd2gGgAY826gTUfhj1DUOn2HUdM4chRxpLs6FWN6TOt3S3SY3Il/Gbc40z+8891CyWHsBkyGFpRNlyvMMs2vCYkxkmDbjlhzTTeE4BbwoNUsBJINC3ULzSH9X2DsGaDg840aEEGhKY2+U1vLbe7G20+rGWTU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778927634; c=relaxed/simple; bh=FuvtoQBugX7lKG59TCI3KMuu2qI+UzI10zjoRTYacFs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=txi8Vip8RAYfM43y0dhBULp31Ty0bMe5mDI6R3JlpUYCvSSlRNGLwwiDT4qXwjL3vkLrJsqGScbnGE9YP4wFoeUdc2wJ3ulNDc6nQ6guqVBwgNZmPFG96Q9Q9d+TCoK0lQoPuW2rnYnnR1uFwiSErJfLETg54JR3d+FdPDYkZIA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Qz+K0+kI; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Qz+K0+kI" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-44a14580111so452360f8f.0 for ; Sat, 16 May 2026 03:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778927631; x=1779532431; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=tmDlgq0uLgD0NRXODmF5A8gxYBrdzp2qhaLJZG2Vx8s=; b=Qz+K0+kIygMvtjmc6ywX+hDfV1Dleob+laDAhW2KWYfFf8FfFrhI26kl4npcgpW2TM 7xQfsG8VFTr0SW+i/Ei5QsPhbO4wUUYfa6EPZUi51Rt2hQqdup6Vq6zb0281J3nXsltb KS7NlBw03lCIdblqiPfXu114MijE56RIQWYyx9rXRRKLrHQbw29nUgGTfTw66fsI7Cbz 4Yy881caXz6t15bLsf39Nc3L5eYboReG3thbzoZg3IDXy2Zus6ElLfyQZGY3IpgO8TNh tq0f0mK0hXEKZRzg2SSzUZLHn57giEhliWXpRrpkk3eWR+LTNm+ZMVZCgqbWllQQCozZ TLBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778927631; x=1779532431; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tmDlgq0uLgD0NRXODmF5A8gxYBrdzp2qhaLJZG2Vx8s=; b=Atn7G8Mk1WQpcfnJUBZgWby9kwmLUdj2Hh8mg2l+3wGgTkaP5Mt7NLSMlPv5lKdVxd KRBhshyXafJmXZSoPiwBkxoD7Ef2BuRafOYRieu3EcHXd3p3EQtN+IRKkuMD1Dt5MMI4 uAlUx9Go7HTxygOmSMKUia6D0USrRH4Y+4TlaZomc9ed7NQvA4Kn2dRgQ6EfhJ9HCuA8 3blZTbW8a+1OW4xhfNuIAL6y4KlFeJdjkgUDOV8tp/aVu+5Fuiqb7sWmqCBmAmz2Y0O8 sg2BMSN3dTHrrQjwgQ7RXLwcqPsnmJELJ9eCJgxHteBLATpfr0ZMO4VRtP1zxeMddYV8 ztYw== X-Forwarded-Encrypted: i=1; AFNElJ9myndcaseepLFSlQtLSKM3ayB9O2OtIze5E2bK2noeexZw6f0RERSaeoIt+onazuweqjGTCcdQRAvWcHo=@vger.kernel.org X-Gm-Message-State: AOJu0YwbaluFSg7NU2ms52DP7hIY/kiBGgiV0lSpdUF5Ke2oe4JuxNK6 RZDIxi71+WtDHWU5qowtMLIClvV/YLWg1t8o/28fhZrQKWaHPrIJcGBg X-Gm-Gg: Acq92OGU4lUXuiXe6L/g0FGzziEVXWe78w977Unefp8yuAO9cm9L5i9jlWnIne3HDlW F88BJ2E+CdKhdJEPJyOY3rGnwoWEurxPr5dra+VqWvcwE9A29qTvWvWuayp/jQ54NPthLaIxAb6 PFNdVKLUm3dYSRyzFgEQ5d4PljGkvX2mEDBrdCIDtybhNjGuBrBNTtx9cm5X6yilllgoZhEICdO 3YUGBsGQGA1ikcGLw8jx0huh/MwXOLIDLDaRh7cptTZFnmAOlAkrilZWlJPYPjlVvDsOSFOtCyg UmJQ7ZzunkM1y12upPQZ0V5ts75Z8jl5JQraSFwN+q46sNyMQL5wvaNJIoRigWO/yAXIDillYgA 5AtKR9ftCX/aMZWz4Q9ociA4oQNhSLVymco3uYqnBd/JOYT8qRf/rjCzlKHF4HlvBlOV5wImm2r SwifCI5YWbceS3obt33VxHZjx65UQd7Cq5ohaQt/39tfjtApAIHd9OWt2i+UjI3eWBuFEyDGmBR cI1af1FlWfQpixv X-Received: by 2002:a05:6000:d90:b0:45e:5c98:c8ed with SMTP id ffacd0b85a97d-45e5c98c926mr8135017f8f.21.1778927630643; Sat, 16 May 2026 03:33:50 -0700 (PDT) Received: from localhost (brnt-04-b2-v4wan-170138-cust2432.vm7.cable.virginm.net. [94.175.9.129]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45d9e767cb9sm20703655f8f.2.2026.05.16.03.33.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 May 2026 03:33:49 -0700 (PDT) Date: Sat, 16 May 2026 11:33:48 +0100 From: Stafford Horne To: Horst Birthelmer Cc: kernel test robot , Horst Birthelmer , Miklos Szeredi , Jonathan Corbet , Shuah Khan , Alexander Viro , Christian Brauner , Jan Kara , oe-kbuild-all@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Horst Birthelmer Subject: Re: Re: [PATCH] dcache: add fs.dentry-limit sysctl with negative-first reaper Message-ID: References: <20260514-limit-dentries-cache-v1-1-431b9eb0c530@ddn.com> <202605152333.0pOd2zJR-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sat, May 16, 2026 at 08:55:16AM +0200, Horst Birthelmer wrote: > On Fri, May 15, 2026 at 11:09:54PM +0800, kernel test robot wrote: > > Hi Horst, > > > > kernel test robot noticed the following build errors: > > > > [auto build test ERROR on 5d6919055dec134de3c40167a490f33c74c12581] > > > > url: https://github.com/intel-lab-lkp/linux/commits/Horst-Birthelmer/dcache-add-fs-dentry-limit-sysctl-with-negative-first-reaper/20260515-154600 > > base: 5d6919055dec134de3c40167a490f33c74c12581 > > patch link: https://lore.kernel.org/r/20260514-limit-dentries-cache-v1-1-431b9eb0c530%40ddn.com > > patch subject: [PATCH] dcache: add fs.dentry-limit sysctl with negative-first reaper > > config: openrisc-randconfig-r073-20260515 (https://download.01.org/0day-ci/archive/20260515/202605152333.0pOd2zJR-lkp@intel.com/config) > > compiler: or1k-linux-gcc (GCC) 10.5.0 > > smatch: v0.5.0-9185-gbcc58b9c > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605152333.0pOd2zJR-lkp@intel.com/reproduce) > > > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > > the same patch/commit), kindly add following tags > > | Reported-by: kernel test robot > > | Closes: https://lore.kernel.org/oe-kbuild-all/202605152333.0pOd2zJR-lkp@intel.com/ > > > > All errors (new ones prefixed by >>): > > > > fs/dcache.c: In function 'dentry_limit_worker_fn': > > >> fs/dcache.c:1474:7: error: implicit declaration of function 'get_nr_dentry'; did you mean 'retain_dentry'? [-Werror=implicit-function-declaration] > > 1474 | nr = get_nr_dentry(); > > | ^~~~~~~~~~~~~ > > | retain_dentry > > cc1: some warnings being treated as errors > > > > > > vim +1474 fs/dcache.c > > > ... > > > > -- > > 0-DAY CI Kernel Test Service > > https://github.com/intel/lkp-tests/wiki > > This is puzzling to me get_nr_dentry() is defined in line 178 in the same file and first used in line 209 > and has been there since 2013. > > Builds fine applied to tag v7.1-rc3 and to the current master with gcc and clang. Hi They are protected in: #if defined(CONFIG_SYSCTL) && defined(CONFIG_PROC_FS) With #endif on line 247. In the rand config as least I see: # CONFIG_PROC_FS is not set -Stafford