Re: [RFC PATCH net-next v8 14/14] selftests: add ncdevmem, netcat for devmem TCP

2024-04-08 Thread Cong Wang
On Tue, Apr 02, 2024 at 05:20:51PM -0700, Mina Almasry wrote: > +static char *server_ip = "192.168.1.4"; > +static char *client_ip = "192.168.1.2"; > +static char *port = "5201"; > +static size_t do_validation; > +static int start_queue = 8; > +static int num_queues = 8; > +static char *ifname = "e

Re: [RFC PATCH net-next v6 02/15] net: page_pool: create hooks for custom page providers

2024-04-08 Thread Cong Wang
On Mon, Apr 01, 2024 at 12:22:24PM -0700, Mina Almasry wrote: > On Thu, Mar 28, 2024 at 12:31 AM Christoph Hellwig wrote: > > > > On Tue, Mar 26, 2024 at 01:19:20PM -0700, Mina Almasry wrote: > > > > > > Are you envisioning that dmabuf support would be added to the block > > > layer > > > > Yes. >

Re: [PATCH] dma-buf: free dmabuf->name in dma_buf_release()

2020-02-28 Thread Cong Wang
On Tue, Feb 25, 2020 at 5:54 PM Andrew Morton wrote: > > On Tue, 25 Feb 2020 12:44:46 -0800 Cong Wang wrote: > > > dma-buff name can be set via DMA_BUF_SET_NAME ioctl, but once set > > it never gets freed. > > > > Free it in dma_buf_release(). > > > >

[PATCH] dma-buf: free dmabuf->name in dma_buf_release()

2020-02-26 Thread Cong Wang
Cc: Andrew Morton Cc: Linus Torvalds Signed-off-by: Cong Wang --- drivers/dma-buf/dma-buf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c index d4097856c86b..c343c7c10b4c 100644 --- a/drivers/dma-buf/dma-buf.c +++ b/drivers/dma-buf

[PATCH] dma-buf: free dmabuf->name in dma_buf_release()

2019-12-27 Thread Cong Wang
Cc: Sumit Semwal Signed-off-by: Cong Wang --- drivers/dma-buf/dma-buf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c index ce41cd9b758a..2427398ff22a 100644 --- a/drivers/dma-buf/dma-buf.c +++ b/drivers/dma-buf/dma-buf.c @@ -108,6 +108,7 @@

[PATCH 7/7] module: avoid exporting module_mutex

2012-03-15 Thread Cong Wang
: Eric Dumazet Cc: "Paul E. McKenney" Cc: Rusty Russell Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_fb_helper.c |4 ++-- include/linux/module.h |3 ++- kernel/kprobes.c|4 ++-- kernel/module.c | 24 ++-- 4 fil

[PATCH 7/7] module: avoid exporting module_mutex

2012-03-15 Thread Cong Wang
: Eric Dumazet Cc: "Paul E. McKenney" Cc: Rusty Russell Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_fb_helper.c |4 ++-- include/linux/module.h |3 ++- kernel/kprobes.c|4 ++-- kernel/module.c | 24 ++-- 4 fil

[V2 PATCH 2/3] module: avoid exporting module_mutex

2012-03-12 Thread Cong Wang
Avoid exporting internal locks to modules, export two functions lock_modules()/unlock_modules() for them instead. Cc: Rusty Russell Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_fb_helper.c |4 ++-- include/linux/module.h |3 ++- kernel/kprobes.c|4

[PATCH 2/2] module: avoid exporting module_mutex

2012-03-12 Thread Cong Wang
Avoid exporting internal locks to modules, export two functions lock_modules()/unlock_modules() for them instead. Cc: Rusty Russell Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_fb_helper.c |4 ++-- include/linux/module.h |3 ++- kernel/kprobes.c|4

[V2 PATCH 2/3] module: avoid exporting module_mutex

2012-03-11 Thread Cong Wang
Avoid exporting internal locks to modules, export two functions lock_modules()/unlock_modules() for them instead. Cc: Rusty Russell Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_fb_helper.c |4 ++-- include/linux/module.h |3 ++- kernel/kprobes.c|4

[PATCH 2/2] module: avoid exporting module_mutex

2012-03-10 Thread Cong Wang
Avoid exporting internal locks to modules, export two functions lock_modules()/unlock_modules() for them instead. Cc: Rusty Russell Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_fb_helper.c |4 ++-- include/linux/module.h |3 ++- kernel/kprobes.c|4

[PATCH 56/60] gma500: remove the second argument of k[un]map_atomic()

2012-02-10 Thread Cong Wang
Signed-off-by: Cong Wang --- drivers/gpu/drm/gma500/mmu.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c index c904d73..e80ee82 100644 --- a/drivers/gpu/drm/gma500/mmu.c +++ b

[PATCH 14/60] drm: remove the second argument of k[un]map_atomic()

2012-02-10 Thread Cong Wang
Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_cache.c |8 drivers/gpu/drm/ttm/ttm_tt.c| 16 drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c |6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/drm_cache.c b/drivers

[PATCH 56/60] gma500: remove the second argument of k[un]map_atomic()

2012-02-10 Thread Cong Wang
Signed-off-by: Cong Wang --- drivers/gpu/drm/gma500/mmu.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c index c904d73..e80ee82 100644 --- a/drivers/gpu/drm/gma500/mmu.c +++ b

[PATCH 14/60] drm: remove the second argument of k[un]map_atomic()

2012-02-10 Thread Cong Wang
Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_cache.c |8 drivers/gpu/drm/ttm/ttm_tt.c| 16 drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c |6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/drm_cache.c b/drivers

[PATCH 14/62] drm: remove the second argument of k[un]map_atomic()

2011-11-28 Thread Cong Wang
Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_cache.c |8 drivers/gpu/drm/ttm/ttm_tt.c| 16 drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c |6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/drm_cache.c b

[PATCH 14/62] drm: remove the second argument of k[un]map_atomic()

2011-11-27 Thread Cong Wang
Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_cache.c |8 drivers/gpu/drm/ttm/ttm_tt.c| 16 drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c |6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/drm_cache.c b

[PATCH] drm: add missing header file

2011-08-10 Thread Cong Wang
? 2011?08?09? 21:32, Alex Deucher ??: > On Mon, Aug 8, 2011 at 3:22 AM, Amerigo Wang wrote: >> This patch fixes the following 'make headers_check' errors: >> >> linux-2.6/usr/include/drm/drm_mode.h:85: found __[us]{8,16,32,64} type >> without #include >> linux-2.6/usr/include/drm/i915_drm.h:120:

Re: [PATCH] drm: add missing header file

2011-08-09 Thread Cong Wang
于 2011年08月09日 21:32, Alex Deucher 写道: On Mon, Aug 8, 2011 at 3:22 AM, Amerigo Wang wrote: This patch fixes the following 'make headers_check' errors: linux-2.6/usr/include/drm/drm_mode.h:85: found __[us]{8,16,32,64} type without #include linux-2.6/usr/include/drm/i915_drm.h:120: found __[us]{