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
nexedi
linux
Commits
a2c81f4f
Commit
a2c81f4f
authored
Apr 17, 2002
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set_cpus_allowed() must not be called with spinlocks held.
parent
35e181a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
kernel/sched.c
kernel/sched.c
+2
-0
No files found.
kernel/sched.c
View file @
a2c81f4f
...
...
@@ -1638,6 +1638,8 @@ typedef struct {
*
* NOTE: the caller must have a valid reference to the task, the
* task must not exit() & deallocate itself prematurely.
*
* NOTE2: this function is not atomic.
*/
void
set_cpus_allowed
(
task_t
*
p
,
unsigned
long
new_mask
)
{
...
...
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