[proof-of-concept/rfc] per object file mmaps

2012-12-19 Thread Dave Airlie
The 2+3 patches are actually the code, the first was just a cleanup. Anyways the second patch describes it best, but I've taken the approach that we just need to keep track of what filp this object has had a handle created on, and block mmaps on it. We could also probably block a bit more explicit

[proof-of-concept/rfc] per object file mmaps

2012-12-18 Thread Dave Airlie
The 2+3 patches are actually the code, the first was just a cleanup. Anyways the second patch describes it best, but I've taken the approach that we just need to keep track of what filp this object has had a handle created on, and block mmaps on it. We could also probably block a bit more explicit