From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 2/2] fs: Support compiling out sendfile Date: Tue, 21 Oct 2014 02:13:56 -0700 Message-ID: <20141021091356.GA26330@infradead.org> References: <1413841728-1313-1-git-send-email-pieter@boesman.nl> <1413841728-1313-2-git-send-email-pieter@boesman.nl> <20141020222421.GE8929@cloud> <20141021075154.GB10020@infradead.org> <20141021090421.GB17604@thin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20141021090421.GB17604@thin> Sender: linux-kernel-owner@vger.kernel.org To: Josh Triplett Cc: Christoph Hellwig , Pieter Smith , Alexander Viro , Andrew Morton , Eric Paris , Matt Turner , Michal Hocko , "Paul E. McKenney" , Fabian Frederick , Tejun Heo , ????????? , "Luis R. Rodriguez" , Peter Foley , Konstantin Khlebnikov , "Eric W. Biederman" , "H. Peter Anvin" , Oleg Nesterov , Andy Lutomirski , David Herrmann , Kees Cook , linux-fsdevel@vger.kernel.org, open list , "open list:ABI/API" List-Id: linux-api@vger.kernel.org On Tue, Oct 21, 2014 at 02:04:22AM -0700, Josh Triplett wrote: > That's the plan, but since sendfile depends on some of the splice bits, > sendfile needs to be optional as well; SENDFILE_SYSCALL will then select > SPLICE_SYSCALLS. Just include sendfile with the splice syscalls - we don't really need a config option for every obscure syscall.