Paul Cassella 9a95f3cf7b mm: describe mmap_sem rules for __lock_page_or_retry() and callers
Add a comment describing the circumstances in which
__lock_page_or_retry() will or will not release the mmap_sem when
returning 0.

Add comments to lock_page_or_retry()'s callers (filemap_fault(),
do_swap_page()) noting the impact on VM_FAULT_RETRY returns.

Add comments on up the call tree, particularly replacing the false "We
return with mmap_sem still held" comments.

Signed-off-by: Paul Cassella <cassella@cray.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-08-06 18:01:20 -07:00
..
2014-08-06 18:01:16 -07:00
2012-01-03 22:54:56 -05:00
2011-07-26 16:49:47 -07:00
2014-08-06 18:01:16 -07:00
2014-05-06 17:39:45 -04:00
2014-01-27 21:02:39 -08:00
2014-08-06 18:01:19 -07:00
2014-06-23 16:47:43 -07:00
2012-06-20 14:39:36 -07:00
2014-08-06 18:01:15 -07:00