[PATCH] mm: update comments to pte lock
Updated several references to page_table_lock in common code comments. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
f412ac08c9
commit
b8072f099b
@@ -259,8 +259,7 @@ static inline void free_swap_cache(struct page *page)
|
||||
|
||||
/*
|
||||
* Perform a free_page(), also freeing any swap cache associated with
|
||||
* this page if it is the last user of the page. Can not do a lock_page,
|
||||
* as we are holding the page_table_lock spinlock.
|
||||
* this page if it is the last user of the page.
|
||||
*/
|
||||
void free_page_and_swap_cache(struct page *page)
|
||||
{
|
||||
|
Reference in New Issue
Block a user