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

From: David Howells
Date: Wed Sep 24 2008 - 15:04:34 EST


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.

David
--
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/