Received: from eggs.gnu.org ([2001:4830:134:3::10]:54392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cehyW-0001hm-Ts for qemu-devel@nongnu.org; Fri, 17 Feb 2017 07:49:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cehyW-00020h-8d for qemu-devel@nongnu.org; Fri, 17 Feb 2017 07:49:24 -0500 From: Alberto Garcia In-Reply-To: <1252732340.24195236.1487334609462.JavaMail.zimbra@redhat.com> References: <1487318764-29513-1-git-send-email-pagupta@redhat.com> <1323841238.24175066.1487331028566.JavaMail.zimbra@redhat.com> <20170217113601.GB4941@work-vm> <1252732340.24195236.1487334609462.JavaMail.zimbra@redhat.com> Date: Fri, 17 Feb 2017 13:49:12 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [Qemu-block] [PATCH] block, migration: Use qemu_madvise inplace of madvise List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pankaj Gupta , "Dr. David Alan Gilbert" Cc: kwolf@redhat.com, qemu-block@nongnu.org, quintela@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com On Fri 17 Feb 2017 01:30:09 PM CET, Pankaj Gupta wrote: > I think 'posix_madvise' was added for systems which didnot have > 'madvise' [...] For the systems which don't have madvise call > 'posix_madvise' is called which as per discussion is not right thing > for 'DONTNEED' option. It will not give desired results. > > Either we have to find right alternative or else it is already broken > for systems which don't support madvise. Do you have an example of a call that is currently broken in the QEMU code? Berto