On Thu, Feb 24, 2011 at 2:19 AM, Han Pingtian <[email protected]> wrote:
> This is a reproducer copied from one of LKML patch submission,
> which subject is
>
> [PATCH] mlock: revert the optimization for dirtying pages and
> triggering writeback.
>
> "In 5ecfda0, we do some optimization in mlock, but it causes
> a very basic test case(attached below) of mlock to fail. So
> this patch revert it with some tiny modification so that it
> apply successfully with the lastest 38-rc2 kernel."

    The open / ftruncate should be moved to setup and the close should
be moved to cleanup. Other than that, looks fine.
Thanks,
-Garrett

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to