* [PATCH] mm: complement page reclaim comment
@ 2012-06-14 13:22 Wanpeng Li
2012-06-14 13:44 ` KOSAKI Motohiro
0 siblings, 1 reply; 2+ messages in thread
From: Wanpeng Li @ 2012-06-14 13:22 UTC (permalink / raw)
To: linux-mm
Cc: Andrew Morton, KAMEZAWA Hiroyuki, Mel Gorman, Minchan Kim,
Hugh Dickins, linux-kernel, trivial, Gavin Shan, Wanpeng Li
From: Wanpeng Li <liwp@linux.vnet.ibm.com>
Signed-off-by: Wanpeng Li <liwp.linux@gmail.com>
---
mm/vmscan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/vmscan.c b/mm/vmscan.c
index ed823df..603c96f 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -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)
--
1.7.9.5
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: complement page reclaim comment
2012-06-14 13:22 [PATCH] mm: complement page reclaim comment Wanpeng Li
@ 2012-06-14 13:44 ` KOSAKI Motohiro
0 siblings, 0 replies; 2+ messages in thread
From: KOSAKI Motohiro @ 2012-06-14 13:44 UTC (permalink / raw)
To: Wanpeng Li
Cc: linux-mm, Andrew Morton, KAMEZAWA Hiroyuki, Mel Gorman,
Minchan Kim, Hugh Dickins, linux-kernel, trivial, Gavin Shan,
kosaki.motohiro
(6/14/12 9:22 AM), Wanpeng Li wrote:
> From: Wanpeng Li<liwp@linux.vnet.ibm.com>
>
> Signed-off-by: Wanpeng Li<liwp.linux@gmail.com>
> ---
> mm/vmscan.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/mm/vmscan.c b/mm/vmscan.c
> index ed823df..603c96f 100644
> --- a/mm/vmscan.c
> +++ b/mm/vmscan.c
> @@ -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".
> *
> */
> int page_evictable(struct page *page, struct vm_area_struct *vma)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-14 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-14 13:22 [PATCH] mm: complement page reclaim comment Wanpeng Li
2012-06-14 13:44 ` KOSAKI Motohiro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).