Skip to contentSkip to conversation

rmap : fix the comment for try_to_unmap_anon

PATCH In review Huang Shijie 2 participants 2 messages Oct 4, 2009 – Oct 6, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rmap : fix the comment for try_to_unmap_anon

fix the comment for the try_to_unmap_anon with the new arguments.

---
 mm/rmap.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
mm/rmap.c +1 -2
index dd43373..c8cf043 100644
@@ -997,8 +997,7 @@ static int try_to_mlock_page(struct page *page, struct vm_area_struct *vma)
  * try_to_unmap_anon - unmap or unlock anonymous page using the object-based
  * rmap method
  * @page: the page to unmap/unlock
- * @unlock:  request for unlock rather than unmap [unlikely]
- * @migration:  unmapping for migration - ignored if @unlock
+ * @flags: action and flags
  *
  * Find all the mappings of a page using the mapping pointer and the vma chains
  * contained in the anon_vma struct it points to.
Signature · 7 lines
1.6.2.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Huang Shijie

fix the comment for the try_to_unmap_anon with the new arguments.

Thanks,

Quoted 20 lines
---
 mm/rmap.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
mm/rmap.c +1 -2
index dd43373..c8cf043 100644
@@ -997,8 +997,7 @@ static int try_to_mlock_page(struct page *page, struct vm_area_struct *vma)
  * try_to_unmap_anon - unmap or unlock anonymous page using the object-based
  * rmap method
  * @page: the page to unmap/unlock
- * @unlock:  request for unlock rather than unmap [unlikely]
- * @migration:  unmapping for migration - ignored if @unlock
+ * @flags: action and flags
  *
  * Find all the mappings of a page using the mapping pointer and the vma chains
  * contained in the anon_vma struct it points to.
Signature · 1 line
1.6.2.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>