From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1SS5rd-00048T-8r for ltp-list@lists.sourceforge.net; Wed, 09 May 2012 12:19:29 +0000 Received: from mail-pb0-f47.google.com ([209.85.160.47]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1SS5rX-0001K6-FO for ltp-list@lists.sourceforge.net; Wed, 09 May 2012 12:19:29 +0000 Received: by mail-pb0-f47.google.com with SMTP id rq2so407048pbb.34 for ; Wed, 09 May 2012 05:19:23 -0700 (PDT) Message-ID: <4FAA60A0.2070503@casparzhang.com> Date: Wed, 09 May 2012 20:18:40 +0800 From: Caspar Zhang MIME-Version: 1.0 References: <4FAA5A5B.1030704@redhat.com> In-Reply-To: <4FAA5A5B.1030704@redhat.com> Subject: Re: [LTP] [PATCH v2] move_pages09: move_pages returns 0 if nothing got migrated List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Jan Stancek Cc: ltp-list@lists.sourceforge.net, Jeffrey Burke On 05/09/2012 07:51 PM, Jan Stancek wrote: > > Following commit changed the behavior to return 0 when no pages > require migration. > > commit e78bbfa8262424417a29349a8064a535053912b9 > Author: Brice Goglin > Date: Sat Oct 18 20:27:15 2008 -0700 > mm: stop returning -ENOENT from sys_move_pages() if nothing got > migrated > > So testing for ENOENT in move_pages09, makes sense only for > kernel < 2.6.28. > > Signed-off-by: Jan Stancek > --- Acked-by: Caspar Zhang ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list