Messages in this thread | | | Subject | Re: [patch] mm: tiny-shmem fix lor, mmap_sem vs i_mutex | From | Matt Mackall <> | Date | Wed, 24 Sep 2008 14:11:17 -0500 |
| |
On Wed, 2008-09-24 at 19:56 +0100, David Howells wrote: > Matt Mackall <mpm@selenic.com> 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.
| |