Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339048
b: refs/heads/master
c: 65b6ecc
h: refs/heads/master
v: v3
  • Loading branch information
Rabin Vincent authored and Oleg Nesterov committed Nov 14, 2012
1 parent 553d09a commit e1714bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 19f5ee2716373519fda2129e9333f4c3847aa742
refs/heads/master: 65b6ecc03838fd263cf7fafdfa6cf13012b91d56
5 changes: 5 additions & 0 deletions trunk/kernel/events/uprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,11 @@ static unsigned long xol_get_insn_slot(struct uprobe *uprobe, unsigned long slot
vaddr = kmap_atomic(area->page);
memcpy(vaddr + offset, uprobe->arch.insn, MAX_UINSN_BYTES);
kunmap_atomic(vaddr);
/*
* We probably need flush_icache_user_range() but it needs vma.
* This should work on supported architectures too.
*/
flush_dcache_page(area->page);

return current->utask->xol_vaddr;
}
Expand Down

0 comments on commit e1714bd

Please sign in to comment.