From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965363AbbI2OVO (ORCPT ); Tue, 29 Sep 2015 10:21:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34948 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965059AbbI2OVI (ORCPT ); Tue, 29 Sep 2015 10:21:08 -0400 Date: Tue, 29 Sep 2015 16:17:58 +0200 From: Oleg Nesterov To: Andrew Morton Cc: David Rientjes , Kyle Walker , Michal Hocko , Stanislav Kozina , Tetsuo Handa , linux-kernel@vger.kernel.org Subject: [PATCH -mm 0/3] mm/oom_kill: ensure we actually kill all tasks sharing the same mm Message-ID: <20150929141758.GA10934@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michal, Tetsuo, David, sorry for delay. I'll try to read and answer your emails in "can't oom-kill zap the victim's memory" thread later. Let me send some initial changes which imo makes sense regardless, but if we want to zap the victim's memory we need to ensure that all tasks which share this ->mm were actually killed (see 3/3). Please review, this series is simple but only compile tested. Andrew, this is on top of linux-mmotm.git + the recent mm-oom-remove- task_lock-protecting-comm-printing.patch from David. Oleg.