Re: [PATCH] mm: Support compiling out madvise and fadvise

2014-09-25 Thread josh
On Thu, Sep 25, 2014 at 01:21:13PM -0400, Johannes Weiner wrote: > On Mon, Sep 22, 2014 at 09:11:16AM -0700, Josh Triplett wrote: > > @@ -3,7 +3,7 @@ > > # > > > > mmu-y := nommu.o > > -mmu-$(CONFIG_MMU) := fremap.o gup.o highmem.o madvise.o memory.o > > mincore.o \ > >

Re: [PATCH] mm: Support compiling out madvise and fadvise

2014-09-25 Thread Johannes Weiner
On Mon, Sep 22, 2014 at 09:11:16AM -0700, Josh Triplett wrote: > @@ -3,7 +3,7 @@ > # > > mmu-y:= nommu.o > -mmu-$(CONFIG_MMU):= fremap.o gup.o highmem.o madvise.o memory.o > mincore.o \ > +mmu-$(CONFIG_MMU):= fremap.o gup.o highmem.o memory.o mincore.o \ >

Re: [PATCH] mm: Support compiling out madvise and fadvise

2014-09-25 Thread Johannes Weiner
On Mon, Sep 22, 2014 at 09:11:16AM -0700, Josh Triplett wrote: @@ -3,7 +3,7 @@ # mmu-y:= nommu.o -mmu-$(CONFIG_MMU):= fremap.o gup.o highmem.o madvise.o memory.o mincore.o \ +mmu-$(CONFIG_MMU):= fremap.o gup.o highmem.o memory.o mincore.o \

Re: [PATCH] mm: Support compiling out madvise and fadvise

2014-09-25 Thread josh
On Thu, Sep 25, 2014 at 01:21:13PM -0400, Johannes Weiner wrote: On Mon, Sep 22, 2014 at 09:11:16AM -0700, Josh Triplett wrote: @@ -3,7 +3,7 @@ # mmu-y := nommu.o -mmu-$(CONFIG_MMU) := fremap.o gup.o highmem.o madvise.o memory.o mincore.o \

Re: [PATCH] mm: Support compiling out madvise and fadvise

2014-09-22 Thread Josh Triplett
On Mon, Sep 22, 2014 at 06:47:40PM +0200, Davidlohr Bueso wrote: > On Mon, 2014-09-22 at 09:11 -0700, Josh Triplett wrote: > > Many embedded systems will not need these syscalls, and omitting them > > saves space. Add a new EXPERT config option CONFIG_ADVISE_SYSCALLS > > (default y) to support

Re: [PATCH] mm: Support compiling out madvise and fadvise

2014-09-22 Thread Davidlohr Bueso
On Mon, 2014-09-22 at 09:11 -0700, Josh Triplett wrote: > Many embedded systems will not need these syscalls, and omitting them > saves space. Add a new EXPERT config option CONFIG_ADVISE_SYSCALLS > (default y) to support compiling them out. general question: if a user chooses

[PATCH] mm: Support compiling out madvise and fadvise

2014-09-22 Thread Josh Triplett
Many embedded systems will not need these syscalls, and omitting them saves space. Add a new EXPERT config option CONFIG_ADVISE_SYSCALLS (default y) to support compiling them out. bloat-o-meter: add/remove: 0/3 grow/shrink: 0/0 up/down: 0/-2250 (-2250) function

[PATCH] mm: Support compiling out madvise and fadvise

2014-09-22 Thread Josh Triplett
Many embedded systems will not need these syscalls, and omitting them saves space. Add a new EXPERT config option CONFIG_ADVISE_SYSCALLS (default y) to support compiling them out. bloat-o-meter: add/remove: 0/3 grow/shrink: 0/0 up/down: 0/-2250 (-2250) function

Re: [PATCH] mm: Support compiling out madvise and fadvise

2014-09-22 Thread Davidlohr Bueso
On Mon, 2014-09-22 at 09:11 -0700, Josh Triplett wrote: Many embedded systems will not need these syscalls, and omitting them saves space. Add a new EXPERT config option CONFIG_ADVISE_SYSCALLS (default y) to support compiling them out. general question: if a user chooses

Re: [PATCH] mm: Support compiling out madvise and fadvise

2014-09-22 Thread Josh Triplett
On Mon, Sep 22, 2014 at 06:47:40PM +0200, Davidlohr Bueso wrote: On Mon, 2014-09-22 at 09:11 -0700, Josh Triplett wrote: Many embedded systems will not need these syscalls, and omitting them saves space. Add a new EXPERT config option CONFIG_ADVISE_SYSCALLS (default y) to support compiling