mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
mm/rmap.c: fix comment
The page_address_in_vma() is not only used in unuse_vma(). Signed-off-by: Huang Shijie <shijie8@gmail.com> Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
392d814daf
commit
bf89c8c867
@ -242,8 +242,8 @@ vma_address(struct page *page, struct vm_area_struct *vma)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* At what user virtual address is page expected in vma? checking that the
|
* At what user virtual address is page expected in vma?
|
||||||
* page matches the vma: currently only used on anon pages, by unuse_vma;
|
* checking that the page matches the vma.
|
||||||
*/
|
*/
|
||||||
unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma)
|
unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user