lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 17 Nov 2010 20:15:41 +0900
From:	Minchan Kim <>
To:	Rik van Riel <>
Cc:	Peter Zijlstra <>,
	KOSAKI Motohiro <>,
	Ben Gamari <>,,,, Wu Fengguang <>
Subject: Re: fadvise DONTNEED implementation (or lack thereof)

On Wed, Nov 17, 2010 at 7:16 PM, Minchan Kim <> wrote:
> On Mon, Nov 15, 2010 at 11:48 PM, Rik van Riel <> wrote:
>> On 11/15/2010 04:05 AM, Minchan Kim wrote:
>>> On Mon, Nov 15, 2010 at 5:47 PM, Peter Zijlstra<>
>>>  wrote:
>>>> On Mon, 2010-11-15 at 15:07 +0900, Minchan Kim wrote:
>>>>> I wonder what's the problem in Peter's patch 'drop behind'.
>>>>> Could anyone tell me why it can't accept upstream?
>>>> Read the thread, its quite clear nobody got convinced it was a good idea
>>>> and wanted to fix the use-once policy, then Rik rewrote all of
>>>> page-reclaim.
>>> Thanks for the information.
>>> I hope this is a chance to rethink about it.
>>> Rik, Could you give us to any comment about this idea?
> Sorry for late reply, Rik.
>> At the time, there were all kinds of general problems
>> in page reclaim that all needed to be fixed.  Peter's
>> patch was mostly a band-aid for streaming IO.
>> However, now that most of the other page reclaim problems
>> seem to have been resolved, it would be worthwhile to test
>> whether Peter's drop-behind approach gives an additional
>> improvement.
> Okay. I will have a time to make the workload for testing.
>> I could see it help by getting rid of already-read pages
>> earlier, leaving more space for read-ahead data.
> Yes. Peter's logic breaks demotion if the page is in active list.
> But I think if it's just active page like rsync's two touch, we have
> to move tail of inactive although it's in active list.
> I will look into this, too.

Most important thing is how to know it's real working set or just
trick by two touch.
If it's very hard, recent Mandeep's patch can be a another solution.
I will try it, too.

Kind regards,
Minchan Kim
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists