Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756181AbaFYLVW (ORCPT ); Wed, 25 Jun 2014 07:21:22 -0400 Received: from mail-lb0-f171.google.com ([209.85.217.171]:43107 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753952AbaFYLVV (ORCPT ); Wed, 25 Jun 2014 07:21:21 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 25 Jun 2014 14:21:20 +0300 Message-ID: Subject: Re: [PATCH] sysctl: Add a feature to drop caches selectively From: Alexey Dobriyan To: mcsim.planeta@gmail.com Cc: Linux Kernel 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 Wed, Jun 25, 2014 at 2:20 PM, Alexey Dobriyan wrote: >> +static void clean_all_dentries_locked(struct dentry *dentry) >> +{ >> + struct dentry *child; >> + >> + list_for_each_entry(child, &dentry->d_subdirs, d_u.d_child) { >> + clean_all_dentries_locked(child); >> + } >> + >> + clean_mapping(dentry); >> +} > > unbounded recursion = kernel stack overflow -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/