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

David


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