Files
linux-apfs/mm
KAMEZAWA Hiroyuki b7abea9630 memcg: make page->mapping NULL before uncharge
This patch tries to make page->mapping to be NULL before
mem_cgroup_uncharge_cache_page() is called.

"page->mapping == NULL" is a good check for "whether the page is still
radix-tree or not".  This patch also adds BUG_ON() to
mem_cgroup_uncharge_cache_page();

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 08:52:38 -07:00
..
2008-10-20 08:52:32 -07:00
2008-10-20 08:50:26 -07:00
2008-07-28 16:30:21 -07:00
2008-10-20 08:52:38 -07:00
2008-10-20 08:50:26 -07:00
2008-04-28 08:58:18 -07:00
2008-10-20 08:52:32 -07:00
2008-07-28 16:30:21 -07:00
2008-07-28 16:30:21 -07:00
2008-10-20 08:52:30 -07:00
2008-02-05 09:44:19 -08:00
2008-06-12 18:05:41 -07:00
2008-10-20 08:52:31 -07:00
2008-10-20 08:50:26 -07:00
2008-07-29 23:44:26 +03:00
2008-10-09 12:18:27 -07:00
2008-07-04 10:40:04 -07:00
2008-10-20 08:52:32 -07:00
2008-10-02 15:53:13 -07:00
2008-10-20 08:52:32 -07:00
2008-10-20 08:52:32 -07:00