History

Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: rcu: create rcu_my_thread_group_empty() wrapper memcg: css_id() must be called under rcu_read_lock() cgroup: Check task_lock in task_subsys_state() sched: Fix an RCU warning in print_task() cgroup: Fix an RCU warning in alloc_css_id() cgroup: Fix an RCU warning in cgroup_path() KEYS: Fix an RCU warning in the reading of user keys KEYS: Fix an RCU warning

Linus Torvalds committed 16 years ago

Commit 91bc4822 parents e8e8fad ee84b826 files · +43 −10Browse files

Showing the changes to include (2 of 6 files). Show all

Unified · Split

2 files
  1. include/linux/cgroup.h +1 −0
  2. include/linux/rcupdate.h +2 −0
include/linux/cgroup.h+1−0
@@ -530,6 +530,7 @@ static inline struct cgroup_subsys_state *task_subsys_state( · 529 unmodified lines
530530 {
531531 return rcu_dereference_check(task->cgroups->subsys[subsys_id],
532532 rcu_read_lock_held() ||
533+ lockdep_is_held(&task->alloc_lock) ||
533534 cgroup_lock_is_held());
534535 }
535536
include/linux/rcupdate.h+2−0
@@ -190,6 +190,8 @@ static inline int rcu_read_lock_sched_held(void) · 189 unmodified lines
190190
191191 #ifdef CONFIG_PROVE_RCU
192192
193+extern int rcu_my_thread_group_empty(void);
194+
193195 /**
194196 * rcu_dereference_check - rcu_dereference with debug checking
195197 * @p: The pointer to read, prior to dereferencing

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t