Re: [PATCH v4 2/2] virtiofs: use GFP_NOFS when enqueuing request through kworker

2024-09-04 Thread Jingbo Xu
On 9/4/24 11:53 AM, Hou Tao wrote: > > > On 9/3/2024 5:34 PM, Jingbo Xu wrote: >> >> On 8/31/24 5:37 PM, Hou Tao wrote: >>> From: Hou Tao >>> >>> When invoking virtio_fs_enqueue_req() through kworker, both the >>> allocation of the sg array and the bounce buffer still use GFP_ATOMIC. >>> Cons

Re: [PATCH v4 2/2] virtiofs: use GFP_NOFS when enqueuing request through kworker

2024-09-03 Thread Hou Tao
On 9/3/2024 5:34 PM, Jingbo Xu wrote: > > On 8/31/24 5:37 PM, Hou Tao wrote: >> From: Hou Tao >> >> When invoking virtio_fs_enqueue_req() through kworker, both the >> allocation of the sg array and the bounce buffer still use GFP_ATOMIC. >> Considering the size of the sg array may be greater th

Re: [PATCH v4 2/2] virtiofs: use GFP_NOFS when enqueuing request through kworker

2024-09-03 Thread Jingbo Xu
On 8/31/24 5:37 PM, Hou Tao wrote: > From: Hou Tao > > When invoking virtio_fs_enqueue_req() through kworker, both the > allocation of the sg array and the bounce buffer still use GFP_ATOMIC. > Considering the size of the sg array may be greater than PAGE_SIZE, use > GFP_NOFS instead of GFP_AT