aboutsummaryrefslogtreecommitdiff
path: root/net/appletalk
diff options
context:
space:
mode:
authorDavidlohr Bueso2015-02-25 13:58:35 -0800
committerChris Metcalf2015-04-17 12:58:31 -0400
commit5a3b4e8000c1ce476f5e8babd62c580457561f34 (patch)
tree9ee106a764964508ce11beff4b06b9727a7e8381 /net/appletalk
parent89067c2daf3d9e0ce51c768589e79e845e6fda42 (diff)
tile/elf: reorganize notify_exec()
In the future mm->exe_file will be done without mmap_sem serialization, thus isolate and reorganize the tile elf code to make the transition easier. Good users will, make use of the more standard get_mm_exe_file(), requiring only holding the mmap_sem to read the value, and relying on reference counting to make sure that the exe file won't dissappear underneath us. The visible effects of this patch are: o We now take and drop the mmap_sem more often. Instead of just in arch_setup_additional_pages(), we also do it in: 1) get_mm_exe_file() 2) to get the mm->vm_file and notify the simulator. [Note that 1) will disappear once we change the locking rules for exe_file.] o We avoid getting a free page and doing d_path() while holding the mmap_sem. This requires reordering the checks. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions