Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1802918ybj; Sun, 22 Sep 2019 12:15:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0hN0DYZl+IYAX5BYxpXlzOofwcgQGOg+V5tMqDErFSjfJPSZ/SX0bfaXJvsSEq0yASWh9 X-Received: by 2002:a17:906:fae2:: with SMTP id lu34mr26685338ejb.53.1569179746457; Sun, 22 Sep 2019 12:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569179746; cv=none; d=google.com; s=arc-20160816; b=pPXu8TJL9dOdoMZQZpNppN9hQ6+9bydX94r/pHOMWfs2tiQ7Y41Ob8hiZ+VrI2f/qc D3k07RWSZXG8CRgSMDuEUQML7niodnPCy9n41lAGzBXvsONFPjXDKSeDHs4NsTM0zxAW vuHqg8lgr4a3AdZbEfILGRNyXbOGW02LMFQenunosSLSC8gCauVbMdxJoOiDIZa3GSrn 4dDnyN4DlWqCCw89frK0JQVwjTzRg5VldP3UqHuLPx0Kf4uDj4U6v5SZ+TauzPYJn6Tg 6qzAHrWh9SarOV0CozSHIDQpA5dlBOm9D1UH/A1Pr6lKMXO6WwfdVm/nfB5iHHvIK/yb aBbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Bh7zxUW2/p5MOMzEW9B/5zWw9im01SYeIkCe3GV09HI=; b=pi7DM+3jhZvn4uAO1IA6q7XLC65YNxtYZf2ripU9k+DPbasDj4fPD7p0zMDmKNAfUu EbKjHVcuHj1jBpJYzdZvdK0/5E4Tcm68cPeJvf1K9GefTBVPrlxkY7KUyLs78Dk7o+nD OeTWiZjyGpxWa9m7hQ0qbXsSEIFFjra3WjeABCYYqkyLIBCBu1qsN7+4Xvev5vgmFXfU p3a2tlwrnrTmRIazhMJTdsFy4Sahqflz4EuIELRwofEtNaIGATF9GeJcKE6LUMZnghcx pTUIGb3ezvnMaM5C064mlHOEHmHJWq1/mj1LE9PJwWWi+nkvmttYS1FXHB3X6FIK1Q87 Wngw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si5510193ede.101.2019.09.22.12.15.23; Sun, 22 Sep 2019 12:15:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394123AbfIUBAK (ORCPT + 99 others); Fri, 20 Sep 2019 21:00:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41728 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394077AbfIUBAJ (ORCPT ); Fri, 20 Sep 2019 21:00:09 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 22530308FC4B; Sat, 21 Sep 2019 01:00:09 +0000 (UTC) Received: from optiplex-lnx (ovpn-125-22.rdu2.redhat.com [10.10.125.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0DCE31001281; Sat, 21 Sep 2019 01:00:07 +0000 (UTC) Date: Fri, 20 Sep 2019 21:00:05 -0400 From: Rafael Aquini To: Andrew Morton Cc: Michal Hocko , Joel Savitz , linux-kernel@vger.kernel.org, David Rientjes , linux-mm@kvack.org Subject: Re: [RESEND PATCH v2] mm/oom_killer: Add task UID to info message on an oom kill Message-ID: <20190921010005.GC15594@optiplex-lnx> References: <1560362273-534-1-git-send-email-jsavitz@redhat.com> <20190613082318.GB9343@dhcp22.suse.cz> <20190920171340.7591fd2899a06b5e7c390b76@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190920171340.7591fd2899a06b5e7c390b76@linux-foundation.org> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Sat, 21 Sep 2019 01:00:09 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 20, 2019 at 05:13:40PM -0700, Andrew Morton wrote: > On Thu, 13 Jun 2019 10:23:18 +0200 Michal Hocko wrote: > > > On Wed 12-06-19 13:57:53, Joel Savitz wrote: > > > In the event of an oom kill, useful information about the killed > > > process is printed to dmesg. Users, especially system administrators, > > > will find it useful to immediately see the UID of the process. > > > > Could you be more specific please? We already print uid when dumping > > eligible tasks so it is not overly hard to find that information in the > > oom report. Well, except when dumping of eligible tasks is disabled. Is > > this what you are after? > > > > Please always be specific about usecases in the changelog. A terse > > statement that something is useful doesn't tell much very often. > > > > > I'll add this to the chagnelog: > > : We already print uid when dumping eligible tasks so it is not overly hard > : to find that information in the oom report. However this information is > : unavailable then dumping of eligible tasks is disabled. ^^^^ Thanks Andrew! just a minor nit there: 's/then/when/' Acked-by: Rafael Aquini >