[PATCH 2/3] drm/ttm: add object per-file mmap validation

2012-12-19 Thread Dave Airlie
From: Dave Airlie So instead of creating a whole set of per-file address spaces, and having some sort of melt down in my understanding of the inode/address_space code, I realised we could just keep a lot of filps that the object has been attached to, or has had a handle created on. At the moment

[PATCH 2/3] drm/ttm: add object per-file mmap validation

2012-12-18 Thread Dave Airlie
From: Dave Airlie So instead of creating a whole set of per-file address spaces, and having some sort of melt down in my understanding of the inode/address_space code, I realised we could just keep a lot of filps that the object has been attached to, or has had a handle created on. At the moment