Re: [PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf

2024-07-15 Thread Lei Liu
On 2024/7/11 22:25, Christian König wrote: Am 10.07.24 um 18:34 schrieb T.J. Mercier: On Wed, Jul 10, 2024 at 8:08 AM Lei Liu wrote: on 2024/7/10 22:48, Christian König wrote: Am 10.07.24 um 16:35 schrieb Lei Liu: on 2024/7/10 22:14, Christian König wrote: Am 10.07.24 um 15:57 schrieb Lei

Re: [PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf

2024-07-15 Thread Daniel Vetter
On Wed, Jul 10, 2024 at 04:14:18PM +0200, Christian König wrote: > Am 10.07.24 um 15:57 schrieb Lei Liu: > > Use vm_insert_page to establish a mapping for the memory allocated > > by dmabuf, thus supporting direct I/O read and write; and fix the > > issue of incorrect memory statistics after mappin

Re: [PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf

2024-07-11 Thread Christian König
Am 10.07.24 um 18:34 schrieb T.J. Mercier: On Wed, Jul 10, 2024 at 8:08 AM Lei Liu wrote: on 2024/7/10 22:48, Christian König wrote: Am 10.07.24 um 16:35 schrieb Lei Liu: on 2024/7/10 22:14, Christian König wrote: Am 10.07.24 um 15:57 schrieb Lei Liu: Use vm_insert_page to establish a mappi

Re: [PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf

2024-07-10 Thread Lei Liu
on 2024/7/10 22:48, Christian König wrote: Am 10.07.24 um 16:35 schrieb Lei Liu: on 2024/7/10 22:14, Christian König wrote: Am 10.07.24 um 15:57 schrieb Lei Liu: Use vm_insert_page to establish a mapping for the memory allocated by dmabuf, thus supporting direct I/O read and write; and fix

[PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf

2024-07-10 Thread Lei Liu
Use vm_insert_page to establish a mapping for the memory allocated by dmabuf, thus supporting direct I/O read and write; and fix the issue of incorrect memory statistics after mapping dmabuf memory. Lei Liu (2): mm: dmabuf_direct_io: Support direct_io for memory allocated by dmabuf mm: dmabuf_

[PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf

2024-07-10 Thread Lei Liu
Use vm_insert_page to establish a mapping for the memory allocated by dmabuf, thus supporting direct I/O read and write; and fix the issue of incorrect memory statistics after mapping dmabuf memory. Lei Liu (2): mm: dmabuf_direct_io: Support direct_io for memory allocated by dmabuf mm: dmabuf_

Re: [PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf

2024-07-10 Thread Lei Liu
在 2024/7/10 22:14, Christian König 写道: Am 10.07.24 um 15:57 schrieb Lei Liu: Use vm_insert_page to establish a mapping for the memory allocated by dmabuf, thus supporting direct I/O read and write; and fix the issue of incorrect memory statistics after mapping dmabuf memory. Well big NAK to

Re: [PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf

2024-07-10 Thread T.J. Mercier
On Wed, Jul 10, 2024 at 8:08 AM Lei Liu wrote: > > > on 2024/7/10 22:48, Christian König wrote: > > Am 10.07.24 um 16:35 schrieb Lei Liu: > >> > >> on 2024/7/10 22:14, Christian König wrote: > >>> Am 10.07.24 um 15:57 schrieb Lei Liu: > Use vm_insert_page to establish a mapping for the memory

Re: [PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf

2024-07-10 Thread Christian König
Am 10.07.24 um 16:35 schrieb Lei Liu: 在 2024/7/10 22:14, Christian König 写道: Am 10.07.24 um 15:57 schrieb Lei Liu: Use vm_insert_page to establish a mapping for the memory allocated by dmabuf, thus supporting direct I/O read and write; and fix the issue of incorrect memory statistics after map

Re: [PATCH 0/2] Support direct I/O read and write for memory allocated by dmabuf

2024-07-10 Thread Christian König
Am 10.07.24 um 15:57 schrieb Lei Liu: Use vm_insert_page to establish a mapping for the memory allocated by dmabuf, thus supporting direct I/O read and write; and fix the issue of incorrect memory statistics after mapping dmabuf memory. Well big NAK to that! Direct I/O is intentionally disabled