Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 2008 19:11:21 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Alan Cox <alc@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_page.c 
Message-ID:  <1809.1212779481@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 06 Jun 2008 18:38:43 GMT." <200806061838.m56Icu2E074642@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200806061838.m56Icu2E074642@repoman.freebsd.org>, Alan Cox writes:
>alc         2008-06-06 18:38:43 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    sys/vm               vm_page.c 
>  Log:
>  SVN rev 179623 on 2008-06-06 18:38:43Z by alc
>  
>  Essentially, neither madvise(..., MADV_DONTNEED) nor madvise(..., MADV_FREE)
>  work.  (Moreover, I don't believe that they have ever worked as intended.)

I remember they did have a measurable but minor impact on performance
in systems which paged a lot, back when they were introduced, sort
of 1995-ish.  But with the subsequent plunge in RAM prices they
never saw much use.

Thanks for fixing them.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1809.1212779481>