lkml.org 
[lkml]   [2008]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] mm: tiny-shmem fix lor, mmap_sem vs i_mutex
On Wed, 24 Sep 2008, David Howells wrote:
> Hugh Dickins <hugh@veritas.com> wrote:
>
> > If we're hell-bent on #ifdefs throughout mm/shmem.c, I wouldn't
> > mind scattering some CONFIG_SWAPs in there too, would cut out
> > lots of overhead when swap unconfigured. But again, how ugly?
>
> That might be necessary: NOMMU doesn't support swap.

Matt would be dealing with that aspect in his unification: SHMEM
depends on MMU, so !MMU gives you TINY_SHMEM - I'm sure he wouldn't
have any of the SWAP stuff in the TINY_SHMEM part of his unification.
But there's still value in adding CONFIG_SWAPs too (if the #ifdefs
were tolerable, by no means clear).

Hugh


\
 
 \ /
  Last update: 2008-09-25 01:47    [W:0.058 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site