From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752733AbbGHXia (ORCPT ); Wed, 8 Jul 2015 19:38:30 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:33234 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752214AbbGHXi1 (ORCPT ); Wed, 8 Jul 2015 19:38:27 -0400 Date: Wed, 8 Jul 2015 16:38:25 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Michal Hocko cc: Andrew Morton , Jakob Unterwurzacher , linux-mm@kvack.org, LKML , Michal Hocko Subject: Re: [PATCH 3/4] mm, oom: organize oom context into struct In-Reply-To: <1436360661-31928-4-git-send-email-mhocko@suse.com> Message-ID: References: <1436360661-31928-1-git-send-email-mhocko@suse.com> <1436360661-31928-4-git-send-email-mhocko@suse.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) 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 On Wed, 8 Jul 2015, Michal Hocko wrote: > From: David Rientjes > > There are essential elements to an oom context that are passed around to > multiple functions. > > Organize these elements into a new struct, struct oom_context, that > specifies the context for an oom condition. > > This patch introduces no functional change. > > [mhocko@suse.cz: s@oom_control@oom_context@] > [mhocko@suse.cz: do not initialize on stack oom_context with NULL or 0] > Signed-off-by: David Rientjes > Signed-off-by: Michal Hocko I hate to appear to be nacking my own patch, but it was correct when included in my series and should be merged as part of the larger cleanup.