From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753012AbcIAHPB (ORCPT ); Thu, 1 Sep 2016 03:15:01 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:35931 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750798AbcIAHO5 (ORCPT ); Thu, 1 Sep 2016 03:14:57 -0400 Date: Thu, 1 Sep 2016 15:14:52 +0800 From: Simon Guo To: David Rientjes Cc: linux-mm@kvack.org, Alexey Klimov , Andrew Morton , Eric B Munson , Geert Uytterhoeven , "Kirill A. Shutemov" , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Mel Gorman , Michal Hocko , Shuah Khan , Thierry Reding , Vlastimil Babka Subject: Re: [PATCH 4/4] selftests/vm: add test for mlock() when areas are intersected. Message-ID: <20160901071354.GA3306@simonLocalRHEL7.x64> References: <1472554781-9835-1-git-send-email-wei.guo.simon@gmail.com> <1472554781-9835-5-git-send-email-wei.guo.simon@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, On Wed, Aug 31, 2016 at 04:14:14PM -0700, David Rientjes wrote: > On Tue, 30 Aug 2016, wei.guo.simon@gmail.com wrote: > > > From: Simon Guo > > > > This patch adds mlock() test for multiple invocation on > > the same address area, and verify it doesn't mess the > > rlimit mlock limitation. > > > > Thanks for expanding mlock testing. I'm wondering if you are interested > in more elaborate testing that doesn't only check what you are fixing, > such as mlock(p + x, 40k) where x is < 20k? > > Would you also be willing to make sure that the rlimit is actually > enforced when it's expected to? I'd like to do so. Let me think more for the comprehensive testing. If you have any other test cases in mind, please let me know. Thanks, - Simon