Skip to content

Commit

Permalink
FIXME: possible crash due to resched triggered by put_files_struct()
Browse files Browse the repository at this point in the history
When parent process is exiting, the last put_files_struct() would try
to drop all files which triggers a resched(). In get_process_socket()
it will access the files tables of the process which is being exit,
and thus trigger the resched() in atomic context.

Signed-off-by: shenping.matt <shenping.matt@bytedance.com>
  • Loading branch information
shenping-bd committed Dec 8, 2023
1 parent 25c4253 commit d07db8b
Show file tree
Hide file tree
Showing 2 changed files with 822 additions and 25 deletions.
Loading

0 comments on commit d07db8b

Please sign in to comment.