Messages in this thread | | | Date | Thu, 25 Sep 2008 05:07:38 +0200 | From | Nick Piggin <> | Subject | Re: [patch] mm: pageable memory allocator (for DRM-GEM?) |
| |
On Wed, Sep 24, 2008 at 07:43:26PM -0700, Keith Packard wrote: > On Thu, 2008-09-25 at 04:30 +0200, Nick Piggin wrote: > > > OK. I will have to add some facilities to allow mmaps that go back through > > to tmpfs and be swappable... Thanks for the data point. > > It seems like once you've done that you might consider extracting the > page allocator from shmem so that drm, tmpfs and sysv IPC would share > the same underlying memory manager API.
That might be the cleanest logical way to do it actually. But for the moment I'm happy not to pull tmpfs apart :) Even if it seems like the wrong way around, at least it is insulated to within mm/
| |