o new approach for mmap(2)
- discard the old approach and hire a new one which is based upon
file_user_{path,inode}().
- but one more commit is necessary to support 32bit env as i386.
it will be in next Monday release. if you cannot wait, then try this.
----------------------------------------
diff --git a/fs/aufs/mf.c b/fs/aufs/mf.c
index c8654c756b037..109578a2cc18d 100644
--- a/fs/aufs/mf.c
+++ b/fs/aufs/mf.c
@@ -21,11 +21,11 @@ static struct hlist_bl_head au_mmapped_finfo[N];
static unsigned int au_mf_hash(struct file *h_file)
{
- unsigned long long ull;
+ uintptr_t ptr;
- BUILD_BUG_ON(sizeof(ull) != sizeof(h_file));
- ull = (unsigned long long)h_file;
- return (ull >> 8) & N;
+ BUILD_BUG_ON(sizeof(ptr) < sizeof(h_file));
+ ptr = (uintptr_t)h_file;
+ return (ptr >> 8) & N;
}
void au_mf_add(struct file *h_file, struct file *file)
----------------------------------------
o update the donators list
J. R. Okajima
- aufs6-linux.git#aufs6.12..aufs6.14.7
Revert "aufs mmap: fix the case when aufs is disabled"
Revert "aufs: v6.12-rc1, vm_file and vm_prfile"
Revert "aufs: for v6.11-rc1, /proc/PID/maps"
aufs mmap: revert everything for new approach
aufs: mmap, new approach
aufs mmap: new approach using file_user_{path,inode}()
aufs mmap: export two new bridge functions
aufs mmap: keep the original path_get() in proc_exe_link()
aufs: update the donators list
- aufs6-linux.git#aufs6.15
addition to avove,
Revert "aufs mmap: v6.15-rc1, new vm_area_init_from()"
- aufs6-linux.git#aufs6.16
addition to avove,
aufs mmap: bugfix, remove an extra get_file()
aufs mmap: revert 'vm_prfile' approach
- aufs6-linux.git#aufs6.x-rcN
addition to avove,
aufs mmap: linux-v6.17-rc1, constify file ptr
- aufs6-standalone.git
ditto
brand new aufs6-mmap.patch.
- aufs-util.git
nothing