From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752120AbbH0Vff (ORCPT ); Thu, 27 Aug 2015 17:35:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:60688 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751369AbbH0Vfe (ORCPT ); Thu, 27 Aug 2015 17:35:34 -0400 Subject: Re: [PATCH] mm, migrate: count pages failing all retries in vmstat and tracepoint To: David Rientjes References: <1440685227-747-1-git-send-email-vbabka@suse.cz> Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Naoya Horiguchi , "Kirill A. Shutemov" , "Aneesh Kumar K.V" , Konstantin Khlebnikov From: Vlastimil Babka Message-ID: <55DF82AC.8010907@suse.cz> Date: Thu, 27 Aug 2015 23:35:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27.8.2015 23:02, David Rientjes wrote: > On Thu, 27 Aug 2015, Vlastimil Babka wrote: > >> Migration tries up to 10 times to migrate pages that return -EAGAIN until it >> gives up. If some pages fail all retries, they are counted towards the number >> of failed pages that migrate_pages() returns. They should also be counted in >> the /proc/vmstat pgmigrate_fail and in the mm_migrate_pages tracepoint. >> >> Signed-off-by: Vlastimil Babka > > Acked-by: David Rientjes Thanks. > I assume nothing else other than stats and tracepoints are affected by > this and this isn't a critical bugfix :) Yep, no stable needed :)