Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752260AbZIGQqy (ORCPT ); Mon, 7 Sep 2009 12:46:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751959AbZIGQqy (ORCPT ); Mon, 7 Sep 2009 12:46:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38208 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751444AbZIGQqx (ORCPT ); Mon, 7 Sep 2009 12:46:53 -0400 Message-ID: <4AA53AB0.8030508@redhat.com> Date: Mon, 07 Sep 2009 19:54:08 +0300 From: Izik Eidus User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707) MIME-Version: 1.0 To: Hugh Dickins CC: Andrew Morton , Andrea Arcangeli , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 3/3] ksm: mremap use err from ksm_madvise References: In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 662 Lines: 15 Hugh Dickins wrote: > mremap move's use of ksm_madvise() was assuming -ENOMEM on failure, > because ksm_madvise used to say -EAGAIN for that; but ksm_madvise now > says -ENOMEM (letting madvise convert that to -EAGAIN), and can also > say -ERESTARTSYS when signalled: so pass the error from ksm_madvise. > > Signed-off-by: Hugh Dickins > --- > Acked-by: Izik Eidus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/