From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752529AbcBFNWY (ORCPT ); Sat, 6 Feb 2016 08:22:24 -0500 Received: from www262.sakura.ne.jp ([202.181.97.72]:40525 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752154AbcBFNWX (ORCPT ); Sat, 6 Feb 2016 08:22:23 -0500 To: mhocko@kernel.org, akpm@linux-foundation.org Cc: rientjes@google.com, mgorman@suse.de, oleg@redhat.com, torvalds@linux-foundation.org, hughd@google.com, andrea@kernel.org, riel@redhat.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mhocko@suse.com Subject: Re: [PATCH 1/5] mm, oom: introduce oom reaper From: Tetsuo Handa References: <1454505240-23446-1-git-send-email-mhocko@kernel.org> <1454505240-23446-2-git-send-email-mhocko@kernel.org> In-Reply-To: <1454505240-23446-2-git-send-email-mhocko@kernel.org> Message-Id: <201602062222.HJH86328.SMFVtFOJFHQOLO@I-love.SAKURA.ne.jp> X-Mailer: Winbiff [Version 2.51 PL2] X-Accept-Language: ja,en,zh Date: Sat, 6 Feb 2016 22:22:20 +0900 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michal Hocko wrote: > There is one notable exception to this, though, if the OOM victim was > in the process of coredumping the result would be incomplete. This is > considered a reasonable constrain because the overall system health is > more important than debugability of a particular application. Is it possible to clarify what "the result would be incomplete" mean? (1) The size of coredump file becomes smaller than it should be, and data in reaped pages is not included into the file. (2) The size of coredump file does not change, and data in reaped pages is included into the file as NUL byte. (3) The size of coredump file does not change, and data in reaped pages is included into the file as-is (i.e. information leak security risk).