Re: [PATCH] memcg: fix shmem_unuse_inode charging

From: Balbir Singh
Date: Mon Jun 30 2008 - 02:26:33 EST


KAMEZAWA Hiroyuki wrote:
> On Sun, 29 Jun 2008 01:13:20 +0100 (BST)
> Hugh Dickins <hugh@xxxxxxxxxxx> wrote:
>
>> The mem_cgroup_cache_charge in shmem_unuse_inode has been moved after
>> the radix_tree_preload, so generating a BUG: sleeping function called
>> from invalid context. Move it back, uncharging where necessary.
>>
>> Signed-off-by: Hugh Dickins <hugh@xxxxxxxxxxx>
>
> Sure, thanks,
>
> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

Acked-by: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>


--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
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/