diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2012-12-12 22:51:14 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-13 02:38:32 +0100 |
commit | 3ea41e6210fea3b234b6cb3e9443e75975850bbf (patch) | |
tree | 1c8490271a6cffa9b43858e0f29d6ddab0122fac /scripts/decodecode | |
parent | thp: introduce sysfs knob to disable huge zero page (diff) | |
download | linux-3ea41e6210fea3b234b6cb3e9443e75975850bbf.tar.xz linux-3ea41e6210fea3b234b6cb3e9443e75975850bbf.zip |
thp: avoid race on multiple parallel page faults to the same page
pmd value is stable only with mm->page_table_lock taken. After taking
the lock we need to check that nobody modified the pmd before changing it.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: David Rientjes <rientjes@google.com>
Reviewed-by: Bob Liu <lliubbo@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/decodecode')
0 files changed, 0 insertions, 0 deletions