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-01 16:41:07 -07:00
2012-08-02 13:51:46 -04:00
2012-07-31 18:08:25 -07:00
2012-08-16 20:24:33 +01:00
2012-08-09 15:16:41 +02:00
2012-08-09 15:16:41 +02:00
2012-09-04 13:58:10 -04:00
2012-08-10 11:53:11 +02:00
2012-08-17 11:09:58 +02:00
2012-07-31 18:08:25 -07:00
2012-07-31 18:08:25 -07:00
2012-07-31 19:25:39 -07:00
2012-08-03 00:15:53 -04:00
2012-08-04 01:24:44 +04:00
2012-07-31 18:42:47 -07:00
2012-08-09 15:20:23 +02:00
2012-08-01 12:24:18 +02:00
2012-08-07 10:10:57 +02:00
2012-07-31 18:42:43 -07:00
2012-08-21 16:45:03 -07:00
2012-08-23 17:16:42 +02:00
2012-08-14 09:58:25 -07:00
2012-08-04 01:24:44 +04:00
2012-07-31 17:02:05 +02:00
2012-08-01 09:02:41 -07:00
2012-07-31 18:42:46 -07:00
2012-07-31 18:42:47 -07:00
2012-07-31 18:42:41 -07:00
2012-07-31 18:42:50 -07:00
2012-08-14 14:33:32 -07:00
2012-08-03 16:04:43 +02:00
2012-08-06 13:33:21 -07:00
2012-08-05 19:04:57 -04:00
2012-07-31 17:09:12 +02:00
2012-08-07 11:48:33 -06:00
2012-09-01 18:58:09 -07:00
2012-07-31 10:29:59 -04:00
2012-08-22 10:24:41 -04:00
2012-08-15 15:54:01 +02:00
2012-07-31 18:42:48 -07:00
2012-07-31 18:42:40 -07:00
2012-07-31 18:42:45 -07:00
2012-08-01 10:26:23 -07:00
2012-07-31 18:42:46 -07:00
2012-08-15 13:58:09 +00:00
2012-08-20 02:37:29 -07:00
2012-08-14 14:33:32 -07:00
2012-07-31 19:25:39 -07:00
2012-08-02 17:41:18 -04:00
2012-08-02 17:41:18 -04:00
2012-08-20 02:16:00 -07:00
2012-07-31 23:27:30 -04:00
2012-07-31 18:42:45 -07:00
2012-07-31 18:42:43 -07:00
2012-07-31 18:42:45 -07:00
2012-07-31 18:42:45 -07:00
2012-07-31 18:42:47 -07:00
2012-08-30 13:14:48 -04:00
2012-08-22 15:33:12 -03:00
2012-08-10 11:31:26 -03:00
2012-08-01 10:26:23 -07:00
2012-09-15 17:37:27 +02:00
2012-08-10 19:58:07 +10:00
2012-08-01 13:48:52 +09:00
2012-07-31 18:42:43 -07:00
2012-07-31 18:42:46 -07:00
2012-08-21 16:45:03 -07:00
2012-07-31 18:42:47 -07:00
2012-07-31 18:08:25 -07:00
2012-09-01 10:24:48 -07:00
2012-07-31 17:09:12 +02:00
2012-09-12 10:20:14 -04:00
2012-09-29 21:21:53 +02:00
2012-07-31 18:42:46 -07:00
2012-07-31 18:42:50 -07:00
2012-08-04 12:15:37 +04:00