]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hugetlb: clarify hugetlb_instantiation_mutex usage
authorMichal Hocko <mhocko@suse.cz>
Tue, 10 Jan 2012 23:07:21 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:42 +0000 (16:30 -0800)
commitef009b25f4f8a77d2b32067d424d5ac757dcdc5b
tree4972dac6ca66279277da1b328d9f6d32bcf08dd0
parenta734bcc812146cfba530e1adaf609fce1357982e
hugetlb: clarify hugetlb_instantiation_mutex usage

Let's make it clear that we cannot race with other fault handlers due to
hugetlb (global) mutex.  Also make it clear that we want to keep pte_same
checks anayway to have a transition from the global mutex easier.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Cc: Hillf Danton <dhillf@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c