]> git.baikalelectronics.ru Git - kernel.git/commit
uprobes: Remove redundant lock_page/unlock_page
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Fri, 1 Jun 2012 09:19:50 +0000 (14:49 +0530)
committerOleg Nesterov <oleg@redhat.com>
Tue, 28 Aug 2012 16:21:15 +0000 (18:21 +0200)
commitd961c2b4cb3d0d001096fc6b0f6cf86dad4fa5fc
treee189b458a639d23986c0ebe0f2c52879b2a324a3
parentaeca34af3d4f5ca448090a02f8c4c858e7e506b8
uprobes: Remove redundant lock_page/unlock_page

Since read_opcode() reads from the referenced page and doesnt modify
the page contents nor the page attributes, there is no need to lock
the page.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
kernel/events/uprobes.c