summaryrefslogtreecommitdiffstats
path: root/virt/kvm/ioapic.c
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.cz>2011-03-24 00:42:41 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-24 03:46:33 +0100
commit6cfddb261555dd0c0529a5fb7cf8bc5b85ad95a5 (patch)
treed6c966290c7a8224171c850098767a6fbfa5747b /virt/kvm/ioapic.c
parentpage_cgroup: reduce allocation overhead for page_cgroup array for CONFIG_SPAR... (diff)
downloadlinux-6cfddb261555dd0c0529a5fb7cf8bc5b85ad95a5.tar.xz
linux-6cfddb261555dd0c0529a5fb7cf8bc5b85ad95a5.zip
memcg: page_cgroup array is never stored on reserved pages
KAMEZAWA Hiroyuki noted that free_pages_cgroup doesn't have to check for PageReserved because we never store the array on reserved pages (neither alloc_pages_exact nor vmalloc use those pages). So we can replace the check by a BUG_ON. Signed-off-by: Michal Hocko <mhocko@suse.cz> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Balbir Singh <balbir@in.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt/kvm/ioapic.c')
0 files changed, 0 insertions, 0 deletions