Files
linux-st/include/linux
Oleg Nesterov 1b08e90721 uprobes: Kill UTASK_BP_HIT state
Kill UTASK_BP_HIT state, it buys nothing but complicates the code.
It is only used in uprobe_notify_resume() to decide who should be
called, we can check utask->active_uprobe != NULL instead. And this
allows us to simplify handle_swbp(), no need to clear utask->state.

Likewise we could kill UTASK_SSTEP, but UTASK_BP_HIT is worse and
imho should die. The problem is, it creates the special case when
task->utask is NULL, we can't distinguish RUNNING and BP_HIT. With
this patch utask == NULL always means RUNNING.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
2012-09-29 21:21:53 +02:00
..
2012-08-02 13:51:46 -04:00
2012-08-07 10:10:57 +02:00
2012-07-31 18:42:43 -07:00
2012-08-04 01:24:44 +04:00
2012-08-06 13:33:21 -07:00
2012-08-22 10:24:41 -04:00
2012-07-31 18:42:43 -07:00
2012-08-30 13:14:48 -04:00
2012-09-15 17:37:27 +02:00
2012-09-29 21:21:53 +02:00
2012-07-31 18:42:50 -07:00
2012-08-04 12:15:37 +04:00