From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761690AbcALIQq (ORCPT ); Tue, 12 Jan 2016 03:16:46 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36560 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751281AbcALIQo (ORCPT ); Tue, 12 Jan 2016 03:16:44 -0500 Date: Tue, 12 Jan 2016 09:16:42 +0100 From: Michal Hocko To: Andrew Morton Cc: Mel Gorman , Tetsuo Handa , David Rientjes , Linus Torvalds , Oleg Nesterov , Hugh Dickins , Andrea Argangeli , Rik van Riel , linux-mm@kvack.org, LKML Subject: Re: [PATCH 1/2] mm, oom: introduce oom reaper Message-ID: <20160112081641.GC25337@dhcp22.suse.cz> References: <1452094975-551-1-git-send-email-mhocko@kernel.org> <1452094975-551-2-git-send-email-mhocko@kernel.org> <20160111145455.51e183aed810f7d366ea50a0@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160111145455.51e183aed810f7d366ea50a0@linux-foundation.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 11-01-16 14:54:55, Andrew Morton wrote: > On Wed, 6 Jan 2016 16:42:54 +0100 Michal Hocko wrote: > > > - use subsys_initcall instead of module_init - Paul Gortmaker > > That's pretty much the only change between what-i-have and > what-you-sent, so I'll just do this as a delta: Yeah that should be the case, thanks for double checking! > --- a/mm/oom_kill.c~mm-oom-introduce-oom-reaper-v4 > +++ a/mm/oom_kill.c > @@ -32,12 +32,11 @@ > #include > #include > #include > -#include > #include > #include > #include > #include > -#include > +#include > > #include > #include "internal.h" > @@ -542,7 +541,7 @@ static int __init oom_init(void) > } > return 0; > } > -module_init(oom_init) > +subsys_initcall(oom_init) > #else > static void wake_oom_reaper(struct mm_struct *mm) > { > _ -- Michal Hocko SUSE Labs