From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with SMTP id 665666B0071 for ; Tue, 12 Jan 2010 09:46:40 -0500 (EST) Received: by pxi5 with SMTP id 5so16762220pxi.12 for ; Tue, 12 Jan 2010 06:46:39 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20100112141330.B3A6.A69D9226@jp.fujitsu.com> References: <20100112141330.B3A6.A69D9226@jp.fujitsu.com> Date: Tue, 12 Jan 2010 23:46:38 +0900 Message-ID: <28c262361001120646y6f3603b8q236d0a7c02250ffa@mail.gmail.com> Subject: Re: [resend][PATCH] mm, lockdep: annotate reclaim context to zone reclaim too From: Minchan Kim Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org To: KOSAKI Motohiro Cc: LKML , linux-mm , Andrew Morton , Nick Piggin , Peter Zijlstra , Ingo Molnar List-ID: On Tue, Jan 12, 2010 at 2:16 PM, KOSAKI Motohiro wrote: > > Commit cf40bd16fd (lockdep: annotate reclaim context) introduced reclaim > context annotation. But it didn't annotate zone reclaim. This patch do it. > > Signed-off-by: KOSAKI Motohiro > Cc: Nick Piggin > Cc: Peter Zijlstra > Cc: Ingo Molnar Reviewed-by: Minchan Kim I think your good explanation in previous thread is good for changelog. so I readd in here. If you mind this, feel free to discard. I don't care about it. :) --- wrote: The point is zone-reclaim doesn't use __alloc_pages_direct_reclaim. current call graph is __alloc_pages_nodemask get_page_from_freelist zone_reclaim() __alloc_pages_slowpath __alloc_pages_direct_reclaim try_to_free_pages Actually, if zone_reclaim_mode=1, VM never call __alloc_pages_direct_reclaim in usual VM pressure. Thus I think zone-reclaim should be annotated explicitly too. I know almost user don't use zone reclaim mode. but explicit annotation doesn't have any demerit, I think. -- Kind regards, Minchan Kim -- 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: email@kvack.org