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

Alexey Dobriyan
2014-06-25T11:21:22Z

On Wed, Jun 25, 2014 at 2:20 PM, Alexey Dobriyan <adobriyan@gmail.com> 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