From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx206.postini.com [74.125.245.206]) by kanga.kvack.org (Postfix) with SMTP id 1C49D6B002C for ; Sun, 5 Feb 2012 02:40:10 -0500 (EST) Received: by wera13 with SMTP id a13so4874431wer.14 for ; Sat, 04 Feb 2012 23:40:08 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1328271538-14502-6-git-send-email-m.szyprowski@samsung.com> References: <1328271538-14502-1-git-send-email-m.szyprowski@samsung.com> <1328271538-14502-6-git-send-email-m.szyprowski@samsung.com> Date: Sun, 5 Feb 2012 15:40:08 +0800 Message-ID: Subject: Re: [PATCH 05/15] mm: compaction: export some of the functions From: Hillf Danton Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Marek Szyprowski Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-mm@kvack.org, linaro-mm-sig@lists.linaro.org, Michal Nazarewicz , Kyungmin Park , Russell King , Andrew Morton , KAMEZAWA Hiroyuki , Hillf Danton On Fri, Feb 3, 2012 at 8:18 PM, Marek Szyprowski wrote: > From: Michal Nazarewicz > > This commit exports some of the functions from compaction.c file > outside of it adding their declaration into internal.h header > file so that other mm related code can use them. > > This forced compaction.c to always be compiled (as opposed to being > compiled only if CONFIG_COMPACTION is defined) but as to avoid > introducing code that user did not ask for, part of the compaction.c > is now wrapped in on #ifdef. > What if both compaction and CMA are not enabled? Good weekend Hillf -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org