[PATCH v3 3/3] tomoyo: reduce mmap_sem hold for mm->exe_file

2015-02-24 Thread Davidlohr Bueso
The mm->exe_file is currently serialized with mmap_sem (shared) in order to both safely (1) read the file and (2) compute the realpath by calling tomoyo_realpath_from_path, making it an absolute overkill. Good users will, on the other hand, make use of the more standard get_mm_exe_file(), requiring

Re: [PATCH v3 3/3] tomoyo: reduce mmap_sem hold for mm->exe_file

2015-03-04 Thread Davidlohr Bueso
poke... making sure this patch isn't lost. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v3 3/3] tomoyo: reduce mmap_sem hold for mm->exe_file

2015-02-25 Thread Tetsuo Handa
Davidlohr Bueso wrote: > The mm->exe_file is currently serialized with mmap_sem (shared) in order > to both safely (1) read the file and (2) compute the realpath by calling > tomoyo_realpath_from_path, making it an absolute overkill. Good users will, > on the other hand, make use of the more standa

Re: [PATCH v3 3/3] tomoyo: reduce mmap_sem hold for mm->exe_file

2015-02-25 Thread Davidlohr Bueso
On Wed, 2015-02-25 at 20:40 +0900, Tetsuo Handa wrote: > Davidlohr Bueso wrote: > > The mm->exe_file is currently serialized with mmap_sem (shared) in order > > to both safely (1) read the file and (2) compute the realpath by calling > > tomoyo_realpath_from_path, making it an absolute overkill. Go