Re: [PATCH] mm: complement page reclaim comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(6/14/12 9:22 AM), Wanpeng Li wrote:
> From: Wanpeng Li<liwp@xxxxxxxxxxxxxxxxxx>
> 
> Signed-off-by: Wanpeng Li<liwp.linux@xxxxxxxxx>
> ---
>   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@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]