diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2012-10-09 01:29:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 09:22:23 +0200 |
commit | e0f3c3f78da29b114e7c1c68019036559f715948 (patch) | |
tree | 0f052b6e1708bbcafc0097d328d5013b161542e2 /Documentation/filesystems/proc.txt | |
parent | mm: mmu_notifier: have mmu_notifiers use a global SRCU so they may safely sch... (diff) | |
download | linux-e0f3c3f78da29b114e7c1c68019036559f715948.tar.xz linux-e0f3c3f78da29b114e7c1c68019036559f715948.zip |
mm/mmu_notifier: init notifier if necessary
While registering MMU notifier, new instance of MMU notifier_mm will be
allocated and later free'd if currrent mm_struct's MMU notifier_mm has
been initialized. That causes some overhead. The patch tries to
elominate that.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Cc: Sagi Grimberg <sagig@mellanox.co.il>
Cc: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/filesystems/proc.txt')
0 files changed, 0 insertions, 0 deletions