aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorLi Zefan <[email protected]>2008-11-12 13:26:49 -0800
committerLinus Torvalds <[email protected]>2008-11-12 17:17:16 -0800
commit687446760bd008df96655cb8c5900f8e48a7118c (patch)
treeb4834a1e88d98234cfad90a0880b54ba1cc3cc59 /net/lapb/lapb_in.c
parent0bcb6069a6e1af5c114a2a8873ec43ada8933596 (diff)
freezer_cg: remove task_lock from freezer_fork()
In theory the task can be moved to another cgroup and the freezer will be freed right after task_lock is dropped, so the lock results in zero protection. But in the case of freezer_fork() no lock is needed, since the task is not in tasklist yet so it won't be moved to another cgroup, so task->cgroups won't be changed or invalidated. Signed-off-by: Li Zefan <[email protected]> Cc: Matt Helsley <[email protected]> Cc: Cedric Le Goater <[email protected]> Cc: "Serge E. Hallyn" <[email protected]> Cc: Paul Menage <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions