Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
52b8eb7f
Commit
52b8eb7f
authored
Oct 06, 2003
by
Randy Dunlap
Committed by
David S. Miller
Oct 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: schedule_timeout() sets curr_state, from Alexey Dobriyan <adobriyan@mail.ru>.
parent
998b620f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
5 deletions
+0
-5
net/atm/resources.c
net/atm/resources.c
+0
-1
net/bluetooth/hci_core.c
net/bluetooth/hci_core.c
+0
-1
net/ipv4/ipvs/ip_vs_sync.c
net/ipv4/ipvs/ip_vs_sync.c
+0
-2
net/sunrpc/svcsock.c
net/sunrpc/svcsock.c
+0
-1
No files found.
net/atm/resources.c
View file @
52b8eb7f
...
...
@@ -139,7 +139,6 @@ void atm_dev_deregister(struct atm_dev *dev)
while
(
atomic_read
(
&
dev
->
refcnt
)
!=
1
)
{
current
->
state
=
TASK_INTERRUPTIBLE
;
schedule_timeout
(
HZ
/
4
);
current
->
state
=
TASK_RUNNING
;
if
((
jiffies
-
warning_time
)
>
10
*
HZ
)
{
printk
(
KERN_EMERG
"atm_dev_deregister: waiting for "
"dev %d to become free. Usage count = %d
\n
"
,
...
...
net/bluetooth/hci_core.c
View file @
52b8eb7f
...
...
@@ -161,7 +161,6 @@ static int __hci_request(struct hci_dev *hdev, void (*req)(struct hci_dev *hdev,
req
(
hdev
,
opt
);
schedule_timeout
(
timeout
);
set_current_state
(
TASK_RUNNING
);
remove_wait_queue
(
&
hdev
->
req_wait_q
,
&
wait
);
if
(
signal_pending
(
current
))
...
...
net/ipv4/ipvs/ip_vs_sync.c
View file @
52b8eb7f
...
...
@@ -669,7 +669,6 @@ static void sync_master_loop(void)
__set_current_state
(
TASK_INTERRUPTIBLE
);
schedule_timeout
(
HZ
);
__set_current_state
(
TASK_RUNNING
);
}
/* clean up the sync_buff queue */
...
...
@@ -728,7 +727,6 @@ static void sync_backup_loop(void)
__set_current_state
(
TASK_INTERRUPTIBLE
);
schedule_timeout
(
HZ
);
__set_current_state
(
TASK_RUNNING
);
}
/* release the sending multicast socket */
...
...
net/sunrpc/svcsock.c
View file @
52b8eb7f
...
...
@@ -1151,7 +1151,6 @@ svc_recv(struct svc_serv *serv, struct svc_rqst *rqstp, long timeout)
if
(
!
p
)
{
set_current_state
(
TASK_UNINTERRUPTIBLE
);
schedule_timeout
(
HZ
/
2
);
current
->
state
=
TASK_RUNNING
;
continue
;
}
rqstp
->
rq_argpages
[
rqstp
->
rq_arghi
++
]
=
p
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment