Subject: Re: linux-next build failure

From: Mark Salter <[email-masked]>
Date: Mon, 06 Jan 2014 10:21:36 -0500

On Fri, 2014-01-03 at 14:56 -0800, Andrew Morton wrote:
> On Fri, 03 Jan 2014 10:58:49 -0500 Mark Salter <[email-masked]> wrote:
> 
> > The c6x arch (no MMU) is failing to build in linux-next with:
> > 
> >   kernel/built-in.o:(.fardata+0x3fc): undefined reference to `overcommit_ratio_handler'
> >   kernel/built-in.o:(.fardata+0x420): undefined reference to `overcommit_kbytes_handler'
> >   make[1]: *** [vmlinux] Error 1
> > 
> > Looks like this patch adds those functions to mm/mmap.c which
> > is only used when CONFIG_MMU is defined.
> > 
> >   commit 31bdaf7c8e8a784fd8f889371bdacb24670734c7
> >   Author: Jerome Marchand <[email-masked]>
> >   Date:   Tue Dec 17 10:45:06 2013 +1100
> > 
> >       mm: add overcommit_kbytes sysctl variable
> 
> Please check whether that linux-next includes
> http://ozlabs.org/~akpm/mmotm/broken-out/mm-add-overcommit_kbytes-sysctl-variable-fix-2.patch

It doesn't, but today's does, so the problem went away. Looks
like that patch got delayed a bit because of the holidays.