Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754829AbYJTSsB (ORCPT ); Mon, 20 Oct 2008 14:48:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752316AbYJTSrx (ORCPT ); Mon, 20 Oct 2008 14:47:53 -0400 Received: from extu-mxob-2.symantec.com ([216.10.194.135]:58455 "EHLO extu-mxob-2.symantec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752229AbYJTSrw (ORCPT ); Mon, 20 Oct 2008 14:47:52 -0400 Date: Mon, 20 Oct 2008 19:47:13 +0100 (BST) From: Hugh Dickins X-X-Sender: hugh@blonde.site To: Matt Mackall cc: Dave Airlie , Keith Packard , Eric Anholt , Nick Piggin , David Howells , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Export tiny shmem_file_setup for DRM-GEM In-Reply-To: <1224525754.4323.21.camel@calx> Message-ID: References: <1224525754.4323.21.camel@calx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1487 Lines: 34 On Mon, 20 Oct 2008, Matt Mackall wrote: > On Sun, 2008-10-19 at 12:52 +0100, Hugh Dickins wrote: > > We're trying to keep the !CONFIG_SHMEM tiny-shmem.c (using ramfs without > > swap) in synch with CONFIG_SHMEM shmem.c (and mpm is preparing patches > > to combine them). I was glad to see EXPORT_SYMBOL_GPL(shmem_file_setup) > > go into shmem.c, but why not support DRM-GEM when !CONFIG_SHMEM too? > > But caution says still depend on MMU, since !CONFIG_MMU is.. different. > > > > Signed-off-by: Hugh Dickins > > Acked-by: Matt Mackall Thanks. > > Hugh, what path do you usually take for upstreaming shmem bits and what > path should I take with my unify patch? I send them to Andrew (Cc linux-kernel and/or linux-mm, erratic which, at best depending on what the area of interest is - there's not much of interest to linux-mm in the case of this unification) to get their airing in -mm until the next merge window. You could do that, or were you expecting me to pick up what you had? We can do it that way too if you prefer: as things stood, I think you were intending to add a patch to remove that redundant function, and another to remove CONFIG_TMPFS - but I can do them if you prefer. Hugh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/