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
873a6ed6
Commit
873a6ed6
authored
Jul 14, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit 'v2.6.26' into sched/devel
parents
361833ef
bce7f793
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
11 deletions
+23
-11
Documentation/HOWTO
Documentation/HOWTO
+1
-1
Makefile
Makefile
+1
-1
kernel/cpuset.c
kernel/cpuset.c
+18
-6
security/device_cgroup.c
security/device_cgroup.c
+3
-3
No files found.
Documentation/HOWTO
View file @
873a6ed6
...
@@ -377,7 +377,7 @@ Bug Reporting
...
@@ -377,7 +377,7 @@ Bug Reporting
bugzilla.kernel.org is where the Linux kernel developers track kernel
bugzilla.kernel.org is where the Linux kernel developers track kernel
bugs. Users are encouraged to report all bugs that they find in this
bugs. Users are encouraged to report all bugs that they find in this
tool. For details on how to use the kernel bugzilla, please see:
tool. For details on how to use the kernel bugzilla, please see:
http://
test.kernel.org/bugzilla/
faq.html
http://
bugzilla.kernel.org/page.cgi?id=
faq.html
The file REPORTING-BUGS in the main kernel source directory has a good
The file REPORTING-BUGS in the main kernel source directory has a good
template for how to report a possible kernel bug, and details what kind
template for how to report a possible kernel bug, and details what kind
...
...
Makefile
View file @
873a6ed6
VERSION
=
2
VERSION
=
2
PATCHLEVEL
=
6
PATCHLEVEL
=
6
SUBLEVEL
=
26
SUBLEVEL
=
26
EXTRAVERSION
=
-rc9
EXTRAVERSION
=
NAME
=
Rotary Wombat
NAME
=
Rotary Wombat
# *DOCUMENTATION*
# *DOCUMENTATION*
...
...
kernel/cpuset.c
View file @
873a6ed6
...
@@ -1894,7 +1894,7 @@ static void scan_for_empty_cpusets(const struct cpuset *root)
...
@@ -1894,7 +1894,7 @@ static void scan_for_empty_cpusets(const struct cpuset *root)
* in order to minimize text size.
* in order to minimize text size.
*/
*/
static
void
common_cpu_mem_hotplug_unplug
(
voi
d
)
static
void
common_cpu_mem_hotplug_unplug
(
int
rebuild_s
d
)
{
{
cgroup_lock
();
cgroup_lock
();
...
@@ -1906,6 +1906,7 @@ static void common_cpu_mem_hotplug_unplug(void)
...
@@ -1906,6 +1906,7 @@ static void common_cpu_mem_hotplug_unplug(void)
* Scheduler destroys domains on hotplug events.
* Scheduler destroys domains on hotplug events.
* Rebuild them based on the current settings.
* Rebuild them based on the current settings.
*/
*/
if
(
rebuild_sd
)
rebuild_sched_domains
();
rebuild_sched_domains
();
cgroup_unlock
();
cgroup_unlock
();
...
@@ -1924,11 +1925,22 @@ static void common_cpu_mem_hotplug_unplug(void)
...
@@ -1924,11 +1925,22 @@ static void common_cpu_mem_hotplug_unplug(void)
static
int
cpuset_handle_cpuhp
(
struct
notifier_block
*
unused_nb
,
static
int
cpuset_handle_cpuhp
(
struct
notifier_block
*
unused_nb
,
unsigned
long
phase
,
void
*
unused_cpu
)
unsigned
long
phase
,
void
*
unused_cpu
)
{
{
if
(
phase
==
CPU_DYING
||
phase
==
CPU_DYING_FROZEN
)
switch
(
phase
)
{
case
CPU_UP_CANCELED
:
case
CPU_UP_CANCELED_FROZEN
:
case
CPU_DOWN_FAILED
:
case
CPU_DOWN_FAILED_FROZEN
:
case
CPU_ONLINE
:
case
CPU_ONLINE_FROZEN
:
case
CPU_DEAD
:
case
CPU_DEAD_FROZEN
:
common_cpu_mem_hotplug_unplug
(
1
);
break
;
default:
return
NOTIFY_DONE
;
return
NOTIFY_DONE
;
}
common_cpu_mem_hotplug_unplug
();
return
NOTIFY_OK
;
return
0
;
}
}
#ifdef CONFIG_MEMORY_HOTPLUG
#ifdef CONFIG_MEMORY_HOTPLUG
...
@@ -1941,7 +1953,7 @@ static int cpuset_handle_cpuhp(struct notifier_block *unused_nb,
...
@@ -1941,7 +1953,7 @@ static int cpuset_handle_cpuhp(struct notifier_block *unused_nb,
void
cpuset_track_online_nodes
(
void
)
void
cpuset_track_online_nodes
(
void
)
{
{
common_cpu_mem_hotplug_unplug
();
common_cpu_mem_hotplug_unplug
(
0
);
}
}
#endif
#endif
...
...
security/device_cgroup.c
View file @
873a6ed6
...
@@ -222,7 +222,7 @@ static void devcgroup_destroy(struct cgroup_subsys *ss,
...
@@ -222,7 +222,7 @@ static void devcgroup_destroy(struct cgroup_subsys *ss,
#define DEVCG_DENY 2
#define DEVCG_DENY 2
#define DEVCG_LIST 3
#define DEVCG_LIST 3
#define MAJMINLEN 1
0
#define MAJMINLEN 1
3
#define ACCLEN 4
#define ACCLEN 4
static
void
set_access
(
char
*
acc
,
short
access
)
static
void
set_access
(
char
*
acc
,
short
access
)
...
@@ -254,7 +254,7 @@ static void set_majmin(char *str, unsigned m)
...
@@ -254,7 +254,7 @@ static void set_majmin(char *str, unsigned m)
if
(
m
==
~
0
)
if
(
m
==
~
0
)
sprintf
(
str
,
"*"
);
sprintf
(
str
,
"*"
);
else
else
snprintf
(
str
,
MAJMINLEN
,
"%
d
"
,
m
);
snprintf
(
str
,
MAJMINLEN
,
"%
u
"
,
m
);
}
}
static
int
devcgroup_seq_read
(
struct
cgroup
*
cgroup
,
struct
cftype
*
cft
,
static
int
devcgroup_seq_read
(
struct
cgroup
*
cgroup
,
struct
cftype
*
cft
,
...
@@ -300,7 +300,7 @@ static int may_access_whitelist(struct dev_cgroup *c,
...
@@ -300,7 +300,7 @@ static int may_access_whitelist(struct dev_cgroup *c,
continue
;
continue
;
if
(
whitem
->
minor
!=
~
0
&&
whitem
->
minor
!=
refwh
->
minor
)
if
(
whitem
->
minor
!=
~
0
&&
whitem
->
minor
!=
refwh
->
minor
)
continue
;
continue
;
if
(
refwh
->
access
&
(
~
(
whitem
->
access
|
ACC_MASK
)
))
if
(
refwh
->
access
&
(
~
whitem
->
access
))
continue
;
continue
;
return
1
;
return
1
;
}
}
...
...
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