From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934955Ab0KQQWR (ORCPT ); Wed, 17 Nov 2010 11:22:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37581 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934934Ab0KQQWP (ORCPT ); Wed, 17 Nov 2010 11:22:15 -0500 Message-ID: <4CE40129.9060103@redhat.com> Date: Wed, 17 Nov 2010 11:22:01 -0500 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.2 MIME-Version: 1.0 To: Minchan Kim CC: Peter Zijlstra , KOSAKI Motohiro , Ben Gamari , linux-kernel@vger.kernel.org, rsync@lists.samba.org, linux-mm@kvack.org, Wu Fengguang Subject: Re: fadvise DONTNEED implementation (or lack thereof) References: <20101109162525.BC87.A69D9226@jp.fujitsu.com> <877hgmr72o.fsf@gmail.com> <20101114140920.E013.A69D9226@jp.fujitsu.com> <1289810825.2109.469.camel@laptop> <4CE14848.2060805@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/17/2010 05:16 AM, Minchan Kim wrote: > Absolutely. But how about rsync's two touch? > It can evict working set. > > I need the time for investigation. > Thanks for the comment. Maybe we could exempt MADV_SEQUENTIAL and FADV_SEQUENTIAL touches from promoting the page to the active list? Then we just need to make sure rsync uses fadvise properly to keep the working set protected from rsync. -- All rights reversed