diff options
author | Kirill A. Shutemov <[email protected]> | 2012-12-12 13:51:14 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-12-12 17:38:32 -0800 |
commit | 3ea41e6210fea3b234b6cb3e9443e75975850bbf (patch) | |
tree | 1c8490271a6cffa9b43858e0f29d6ddab0122fac /net/lapb/lapb_timer.c | |
parent | 79da5407eeadc740fbf4b45d6df7d7f8e6adaf2c (diff) |
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 <[email protected]>
Cc: Jiri Slaby <[email protected]>
Cc: David Rientjes <[email protected]>
Reviewed-by: Bob Liu <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions