Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245341
b: refs/heads/master
c: ee940d8
h: refs/heads/master
i:
  245339: 9c306ac
v: v3
  • Loading branch information
Mike Frysinger authored and Rafael J. Wysocki committed May 17, 2011
1 parent af7b75a commit f5fc4a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c431936087e93d2219a184a8e19eaa68077e379
refs/heads/master: ee940d8dccd899aa1777ea84da3d9cd04b1d2e8e
4 changes: 2 additions & 2 deletions trunk/kernel/freezer.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static inline void frozen_process(void)
{
if (!unlikely(current->flags & PF_NOFREEZE)) {
current->flags |= PF_FROZEN;
wmb();
smp_wmb();
}
clear_freeze_flag(current);
}
Expand Down Expand Up @@ -93,7 +93,7 @@ bool freeze_task(struct task_struct *p, bool sig_only)
* the task as frozen and next clears its TIF_FREEZE.
*/
if (!freezing(p)) {
rmb();
smp_rmb();
if (frozen(p))
return false;

Expand Down

0 comments on commit f5fc4a2

Please sign in to comment.