]> git.karo-electronics.de Git - linux-beck.git/commit
mm, fs: Add vm_ops->name as an alternative to arch_vma_name
authorAndy Lutomirski <luto@amacapital.net>
Mon, 19 May 2014 22:58:32 +0000 (15:58 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 May 2014 18:36:31 +0000 (11:36 -0700)
commit78d683e838a60ec4ba4591cca4364cba84a9e626
tree8b6760577295bf709d8567262b43eee5e8a86de2
parent1e844fb43c96dcdba3b578918f5c485d88750891
mm, fs: Add vm_ops->name as an alternative to arch_vma_name

arch_vma_name sucks.  It's a silly hack, and it's annoying to
implement correctly.  In fact, AFAICS, even the straightforward x86
implementation is incorrect (I suspect that it breaks if the vdso
mapping is split or gets remapped).

This adds a new vm_ops->name operation that can replace it.  The
followup patches will remove all uses of arch_vma_name on x86,
fixing a couple of annoyances in the process.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/2eee21791bb36a0a408c5c2bdb382a9e6a41ca4a.1400538962.git.luto@amacapital.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
fs/binfmt_elf.c
fs/proc/task_mmu.c
include/linux/mm.h