Re: [PATCH v1 1/3] string: Consolidate yesno() helpers under string.h hood

2021-02-15 Thread Christian König
: Christian König to the series. But looking at the use cases for this, wouldn't it make more sense to teach kprintf some new format modifier for this? Christian. --- .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c| 6 +- drivers/gpu/drm/i915/i915_utils.h

Re: [PATCH 8/8] dma-buf: use krealloc_array()

2020-10-27 Thread Christian König
Am 27.10.20 um 13:17 schrieb Bartosz Golaszewski: From: Bartosz Golaszewski Use the helper that checks for overflows internally instead of manually calculating the size of the new array. Signed-off-by: Bartosz Golaszewski Acked-by: Christian König --- drivers/dma-buf/sync_file.c | 4

Re: [patch net-next 0/3] net/sched: Improve getting objects by indexes

2017-08-16 Thread Christian König
re active at the same time. The solution was not to use and idr, but rather 64bit identifiers and a ring buffer with the last 128 entries. But in your case changing the idr calling convention actually makes sense (at least from the tn mile high view), feel free to add an Acked-by: Christi

Re: [patch net-next 0/3] net/sched: Improve getting objects by indexes

2017-08-16 Thread Christian König
Am 16.08.2017 um 10:39 schrieb Jiri Pirko: Wed, Aug 16, 2017 at 10:31:35AM CEST, christian.koe...@amd.com wrote: Am 16.08.2017 um 10:16 schrieb Jiri Pirko: Wed, Aug 16, 2017 at 09:49:07AM CEST, christian.koe...@amd.com wrote: Am 16.08.2017 um 04:12 schrieb Chris Mi: Using current TC code, it

Re: [patch net-next 0/3] net/sched: Improve getting objects by indexes

2017-08-16 Thread Christian König
Am 16.08.2017 um 10:16 schrieb Jiri Pirko: Wed, Aug 16, 2017 at 09:49:07AM CEST, christian.koe...@amd.com wrote: Am 16.08.2017 um 04:12 schrieb Chris Mi: Using current TC code, it is very slow to insert a lot of rules. In order to improve the rules update rate in TC, we introduced the followin

Re: [PATCH v2 01/21] scatterlist: Introduce sg_map helper functions

2017-04-26 Thread Christian König
now that somebody is working on this. Those problems troubled us as well. Patch is Acked-by: Christian König . Regards, Christian. include/linux/scatterlist.h | 85 + 1 file changed, 85 insertions(+) diff --git a/include/linux/scatterlist.

Re: [PATCH 00/10] mm: adjust get_user_pages* functions to explicitly pass FOLL_* flags

2016-10-13 Thread Christian König
lags Patch number 6 in this series (which touches drivers I co-maintain) is Acked-by: Christian König . In general looks like a very nice cleanup to me, but I'm not enlightened enough to full judge. Regards, Christian. arch/alpha/kernel/ptrace.c | 9 ++