Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
873a6ed6
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 3 年多
通知
13
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
873a6ed6
编写于
7月 14, 2008
作者:
I
Ingo Molnar
浏览文件
操作
浏览文件
下载
差异文件
Merge commit 'v2.6.26' into sched/devel
上级
361833ef
bce7f793
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
23 addition
and
11 deletion
+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
未找到文件。
Documentation/HOWTO
浏览文件 @
873a6ed6
...
...
@@ -377,7 +377,7 @@ Bug Reporting
bugzilla.kernel.org is where the Linux kernel developers track kernel
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:
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
template for how to report a possible kernel bug, and details what kind
...
...
Makefile
浏览文件 @
873a6ed6
VERSION
=
2
PATCHLEVEL
=
6
SUBLEVEL
=
26
EXTRAVERSION
=
-rc9
EXTRAVERSION
=
NAME
=
Rotary Wombat
# *DOCUMENTATION*
...
...
kernel/cpuset.c
浏览文件 @
873a6ed6
...
...
@@ -1894,7 +1894,7 @@ static void scan_for_empty_cpusets(const struct cpuset *root)
* 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
();
...
...
@@ -1906,7 +1906,8 @@ static void common_cpu_mem_hotplug_unplug(void)
* Scheduler destroys domains on hotplug events.
* Rebuild them based on the current settings.
*/
rebuild_sched_domains
();
if
(
rebuild_sd
)
rebuild_sched_domains
();
cgroup_unlock
();
}
...
...
@@ -1924,11 +1925,22 @@ static void common_cpu_mem_hotplug_unplug(void)
static
int
cpuset_handle_cpuhp
(
struct
notifier_block
*
unused_nb
,
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
;
}
common_cpu_mem_hotplug_unplug
();
return
0
;
return
NOTIFY_OK
;
}
#ifdef CONFIG_MEMORY_HOTPLUG
...
...
@@ -1941,7 +1953,7 @@ static int cpuset_handle_cpuhp(struct notifier_block *unused_nb,
void
cpuset_track_online_nodes
(
void
)
{
common_cpu_mem_hotplug_unplug
();
common_cpu_mem_hotplug_unplug
(
0
);
}
#endif
...
...
security/device_cgroup.c
浏览文件 @
873a6ed6
...
...
@@ -222,7 +222,7 @@ static void devcgroup_destroy(struct cgroup_subsys *ss,
#define DEVCG_DENY 2
#define DEVCG_LIST 3
#define MAJMINLEN 1
0
#define MAJMINLEN 1
3
#define ACCLEN 4
static
void
set_access
(
char
*
acc
,
short
access
)
...
...
@@ -254,7 +254,7 @@ static void set_majmin(char *str, unsigned m)
if
(
m
==
~
0
)
sprintf
(
str
,
"*"
);
else
snprintf
(
str
,
MAJMINLEN
,
"%
d
"
,
m
);
snprintf
(
str
,
MAJMINLEN
,
"%
u
"
,
m
);
}
static
int
devcgroup_seq_read
(
struct
cgroup
*
cgroup
,
struct
cftype
*
cft
,
...
...
@@ -300,7 +300,7 @@ static int may_access_whitelist(struct dev_cgroup *c,
continue
;
if
(
whitem
->
minor
!=
~
0
&&
whitem
->
minor
!=
refwh
->
minor
)
continue
;
if
(
refwh
->
access
&
(
~
(
whitem
->
access
|
ACC_MASK
)
))
if
(
refwh
->
access
&
(
~
whitem
->
access
))
continue
;
return
1
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录