[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Page table sharing



Here's the patch as currently posted.  I've been hacking on it to implement 
the locking described in the previous mail, but really I think it's better to 
go with the simple, incorrect and lockless version for group pondering.

    http://people.nl.linux.org/~phillips/patches/ptab-2.4.17
    (almost the same as posted to lkml/linus yesterday)

In the posted patch, tracing is configed off, see:

#if 0
#  define ptab(cmd) cmd
#else
#  define ptab(cmd) nil
#endif

in mm.h.  Anybody who actually wants to hack on this will probably want to 
turn it on.  Sharing is also still restricted to id 9999, even though I find
I'm able to boot and run pretty well with system-wide sharing.  It's not fully
correct though, because there are lockups happening in some benchmarks 
(unixbench and some crazy things invented by Andrew Morton) and UML fails to
start properly.  UML does work properly when sharing is restricted to just
one ID, i.e., something deep in the system doesn't like sharing page tables 
at this point.

-- 
Daniel
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/