From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752574AbeBFR2C (ORCPT ); Tue, 6 Feb 2018 12:28:02 -0500 Received: from mail-lf0-f66.google.com ([209.85.215.66]:43786 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbeBFR14 (ORCPT ); Tue, 6 Feb 2018 12:27:56 -0500 X-Google-Smtp-Source: AH8x225UNi7WiIzqCxK2apLkJ67VR0jQIT+RHUSAmr4ywBHpehZIdBURH3Nf7G0kvnOU0ltfzEubBQ== Date: Tue, 6 Feb 2018 20:27:53 +0300 From: Cyrill Gorcunov To: David Woodhouse Cc: Konstantin Khlebnikov , Andrew Morton , Linus Torvalds , Vegard Nossum , Peter Zijlstra , Vladimir Davydov , Andy Lutomirski , Quentin Casasnovas , Kees Cook , Willy Tarreau , Pavel Emelyanov , Laura Abbott , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] mm: Always print RLIMIT_DATA warning Message-ID: <20180206172753.GD2002@uranus.lan> References: <1517935505-9321-1-git-send-email-dwmw@amazon.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1517935505-9321-1-git-send-email-dwmw@amazon.co.uk> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 06, 2018 at 04:45:05PM +0000, David Woodhouse wrote: > The documentation for ignore_rlimit_data says that it will print a warning > at first misuse. Yet it doesn't seem to do that. Fix the code to print > the warning even when we allow the process to continue. > > Signed-off-by: David Woodhouse > --- > We should probably also do what Linus suggested in > https://lkml.org/lkml/2016/9/16/585 > Might be typo in docs I guess, Kostya? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f72.google.com (mail-lf0-f72.google.com [209.85.215.72]) by kanga.kvack.org (Postfix) with ESMTP id 7527B6B0284 for ; Tue, 6 Feb 2018 12:27:57 -0500 (EST) Received: by mail-lf0-f72.google.com with SMTP id c7so93320lfk.19 for ; Tue, 06 Feb 2018 09:27:57 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l196sor2294687lfg.78.2018.02.06.09.27.55 for (Google Transport Security); Tue, 06 Feb 2018 09:27:55 -0800 (PST) Date: Tue, 6 Feb 2018 20:27:53 +0300 From: Cyrill Gorcunov Subject: Re: [PATCH] mm: Always print RLIMIT_DATA warning Message-ID: <20180206172753.GD2002@uranus.lan> References: <1517935505-9321-1-git-send-email-dwmw@amazon.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1517935505-9321-1-git-send-email-dwmw@amazon.co.uk> Sender: owner-linux-mm@kvack.org List-ID: To: David Woodhouse Cc: Konstantin Khlebnikov , Andrew Morton , Linus Torvalds , Vegard Nossum , Peter Zijlstra , Vladimir Davydov , Andy Lutomirski , Quentin Casasnovas , Kees Cook , Willy Tarreau , Pavel Emelyanov , Laura Abbott , linux-kernel@vger.kernel.org, linux-mm@kvack.org On Tue, Feb 06, 2018 at 04:45:05PM +0000, David Woodhouse wrote: > The documentation for ignore_rlimit_data says that it will print a warning > at first misuse. Yet it doesn't seem to do that. Fix the code to print > the warning even when we allow the process to continue. > > Signed-off-by: David Woodhouse > --- > We should probably also do what Linus suggested in > https://lkml.org/lkml/2016/9/16/585 > Might be typo in docs I guess, Kostya? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org