lkml.org 
[lkml]   [2008]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] mm: tiny-shmem fix lor, mmap_sem vs i_mutex
From
Date

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.



\
 
 \ /
  Last update: 2008-09-24 21:27    [W:0.086 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site