Re: [patch] mm: tiny-shmem fix lor, mmap_sem vs i_mutex

From: Matt Mackall
Date: Wed Sep 24 2008 - 15:25:32 EST



On Wed, 2008-09-24 at 19:56 +0100, David Howells wrote:
> Matt Mackall <mpm@xxxxxxxxxxx> wrote:
>
> > Is there any reason I shouldn't use truncate() in regular shmem.c if I
> > were to unify the two files?
>
> It would be nice to keep tiny-shmem.c, well, tiny for NOMMU systems that can't
> have swap and can't have virtual memory. Note that regular shmem does not now
> build on top of ramfs, so you'd have to port the ramfs internals to it.

As the original author of tiny-shmem.c, I will naturally try to bear
this in mind. The goal would be to build both a regular and a tiny
version from one C file so that they won't diverge again in the future.

--
Mathematics is the supreme nostalgia of our time.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/