Re: [PATCH] sysctl: Add a feature to drop caches selectively

From: Alexey Dobriyan
Date: Wed Jun 25 2014 - 07:21:26 EST


On Wed, Jun 25, 2014 at 2:20 PM, Alexey Dobriyan <adobriyan@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/