Skip to contentSkip to conversation

mm: complement page reclaim comment

PATCH In review Wanpeng Li 2 participants 2 messages Jun 14, 2012

Subsystems (3)
lore
Share & tools
lore

Wanpeng Li

author
#0 lore raw

PATCH 1/1 mm: complement page reclaim comment

From: Wanpeng Li <[email protected]>

---
 mm/vmscan.c |    1 +
 1 file changed, 1 insertion(+)
mm/vmscan.c +1 -0
index ed823df..603c96f 100644
@@ -3203,6 +3203,7 @@ int zone_reclaim(struct zone *zone, gfp_t gfp_mask, unsigned int order)
  * Reasons page might not be evictable:
  * (1) page's mapping marked unevictable
  * (2) page is part of an mlocked VMA
+ * (3) page mapped into SHM_LOCK'd shared memory regions
  *
  */
 int page_evictable(struct page *page, struct vm_area_struct *vma)
Signature · 7 lines
1.7.9.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>
#1 lore raw
Quoted 12 lines · Wanpeng Li

From: Wanpeng Li<[email protected]>

---
  mm/vmscan.c |    1 +
  1 file changed, 1 insertion(+)
mm/vmscan.c +0 -0
index ed823df..603c96f 100644

mm/vmscan.c int zone_reclaim(struct zone *zone, gfp_t gfp_mask, unsigned int order) · line 3206

Quoted 4 lines
mm/vmscan.c +1 -0
@@ -3203,6 +3203,7 @@ int zone_reclaim(struct zone *zone, gfp_t gfp_mask, unsigned int order)
   * Reasons page might not be evictable:
   * (1) page's mapping marked unevictable
   * (2) page is part of an mlocked VMA
+ * (3) page mapped into SHM_LOCK'd shared memory regions

This is one of "marked unevictable".

mm/vmscan.c int zone_reclaim(struct zone *zone, gfp_t gfp_mask, unsigned int order) · line 3209

Quoted 3 lines
mm/vmscan.c +0 -0
   *
   */
  int page_evictable(struct page *page, struct vm_area_struct *vma)

--
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>