mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
6e73c8cad0fd62c001b653f2fd209064b93eef5f
If user process killed: 1. kernel should not to alloc task, and wait all task done in session, then release session. 2. fd in user space is closed, then kernel space can not use dma_buf_get to get dma handle, so kernel will crash. crash: [ 35.677648 ] [<b022b098>] (__fget) from [<b0467134>] (dma_buf_get+0x8/0x40) [ 35.678261 ] [<b0467134>] (dma_buf_get) from [<b0397848>] (mpp_dma_find_buffer_fd+0x14/0x94) [ 35.679004 ] [<b0397848>] (mpp_dma_find_buffer_fd) from [<b03978fc>] (mpp_dma_release_fd+0x34/0xa0) [ 35.679799 ] [<b03978fc>] (mpp_dma_release_fd) from [<b0395b2c>] (mpp_task_finalize+0x68/0xbc) [ 35.680561 ] [<b0395b2c>] (mpp_task_finalize) from [<b0398614>] (rkvdec_free_task+0xc/0x1c) [ 35.681290 ] [<b0398614>] (rkvdec_free_task) from [<b03963e4>] (mpp_wait_result+0xd4/0x400) [ 35.682020 ] [<b03963e4>] (mpp_wait_result) from [<b0396940>] (mpp_dev_release+0x230/0x244) [ 35.682750 ] [<b0396940>] (mpp_dev_release) from [<b020f30c>] (__fput+0x88/0x1c4) [ 35.683415 ] [<b020f30c>] (__fput) from [<b0140cac>] (task_work_run+0x90/0xb0) [ 35.684059 ] [<b0140cac>] (task_work_run) from [<b0128b38>] (do_exit+0x3c4/0xac4) [ 35.684722 ] [<b0128b38>] (do_exit) from [<b0129f54>] (do_group_exit+0x3c/0xbc) [ 35.685366 ] [<b0129f54>] (do_group_exit) from [<b0133b50>] (get_signal+0xe4/0x6ac) [ 35.686040 ] [<b0133b50>] (get_signal) from [<b010b09c>] (do_signal+0x2a0/0x494) [ 35.686690 ] [<b010b09c>] (do_signal) from [<b010b454>] (do_work_pending+0xb4/0xd0) [ 35.687364 ] [<b010b454>] (do_work_pending) from [<b0101064>] (slow_work_pending+0xc/0x20) Change-Id: I8decec8ff4c356b315fe511128c5b67c5b349932 Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
…
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%