Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[RFC\s+PATCHv6\s+3\/7\]\s+ipvs\:\s+use\s+u64_stats_t\s+for\s+the\s+per\-cpu\s+counters\s*$/: 9 ]

Total 9 documents matching your query.

1. Re: [RFC PATCHv6 3/7] ipvs: use u64_stats_t for the per-cpu counters (score: 1)
Author: Jiri Wiesner <jwiesner@xxxxxxx>
Date: Sat, 19 Nov 2022 08:46:39 +0100
Tested-by: Jiri Wiesner <jwiesner@xxxxxxx> Reviewed-by: Jiri Wiesner <jwiesner@xxxxxxx> -- Jiri Wiesner SUSE Labs
/html/lvs-devel/2022-11/msg00048.html (10,128 bytes)

2. Re: [RFC PATCHv6 3/7] ipvs: use u64_stats_t for the per-cpu counters (score: 1)
Author: Jiri Wiesner <jwiesner@xxxxxxx>
Date: Wed, 16 Nov 2022 18:37:12 +0100
Yes, it is. I use SUSE's distro config. -- Jiri Wiesner SUSE Labs
/html/lvs-devel/2022-11/msg00047.html (10,102 bytes)

3. Re: [RFC PATCHv6 3/7] ipvs: use u64_stats_t for the per-cpu counters (score: 1)
Author: Julian Anastasov <ja@xxxxxx>
Date: Tue, 15 Nov 2022 18:53:22 +0200 (EET)
Hello, OK. I relied on the mentioned commit to explain the problem as other similar patches do. chain_max is probably 37 here and 1.7% is low enough (below 1/37) not to be accounted in chain_max. Bad
/html/lvs-devel/2022-11/msg00045.html (16,518 bytes)

4. Re: [RFC PATCHv6 3/7] ipvs: use u64_stats_t for the per-cpu counters (score: 1)
Author: Jiri Wiesner <jwiesner@xxxxxxx>
Date: Tue, 15 Nov 2022 13:26:02 +0100
All right. It is counter-intuitive but I guess those compiles have their reasons. I think it would not hurt to expand the description of the patch with the explanation above. I have tested the change
/html/lvs-devel/2022-11/msg00044.html (22,713 bytes)

5. Re: [RFC PATCHv6 3/7] ipvs: use u64_stats_t for the per-cpu counters (score: 1)
Author: Julian Anastasov <ja@xxxxxx>
Date: Mon, 14 Nov 2022 13:46:06 +0200 (EET)
Hello, Hm, this should be assignment and not addition... Not a problem for 64-bit tests. Regards -- Julian Anastasov <ja@xxxxxx>
/html/lvs-devel/2022-11/msg00043.html (10,366 bytes)

6. Re: [RFC PATCHv6 3/7] ipvs: use u64_stats_t for the per-cpu counters (score: 1)
Author: Julian Anastasov <ja@xxxxxx>
Date: Sat, 12 Nov 2022 18:01:36 +0200 (EET)
Hello, Some compilers for 64-bit can use two 32-bit loads (load tearing) while we require atomic 64-bit read in case reader is interrupted by updater. That is why READ_ONCE is used now. I don't know
/html/lvs-devel/2022-11/msg00042.html (15,879 bytes)

7. Re: [RFC PATCHv6 3/7] ipvs: use u64_stats_t for the per-cpu counters (score: 1)
Author: Jiri Wiesner <jwiesner@xxxxxxx>
Date: Sat, 12 Nov 2022 10:09:10 +0100
I think only 32-bit machines have a problem storing a 64-bit counter atomically. u64_stats_fetch_begin() and u64_stats_fetch_retry() should take care of that. Another concern is the number of registe
/html/lvs-devel/2022-11/msg00041.html (12,314 bytes)

8. Re: [RFC PATCHv6 3/7] ipvs: use u64_stats_t for the per-cpu counters (score: 1)
Author: Jiri Wiesner <jwiesner@xxxxxxx>
Date: Sat, 12 Nov 2022 10:00:01 +0100
Converting the per cpu stat to u64_stats_t means that the compiler cannot optimize the memory access and addition on x86_64. Previously, the summation of per cpu counters in ip_vs_chain_estimation()
/html/lvs-devel/2022-11/msg00040.html (11,729 bytes)

9. [RFC PATCHv6 3/7] ipvs: use u64_stats_t for the per-cpu counters (score: 1)
Author: Julian Anastasov <ja@xxxxxx>
Date: Mon, 31 Oct 2022 16:56:43 +0200
Use the provided u64_stats_t type to avoid load/store tearing. Fixes: 316580b69d0a ("u64_stats: provide u64_stats_t type") Signed-off-by: Julian Anastasov <ja@xxxxxx> -- include/net/ip_vs.h | 10 ++++
/html/lvs-devel/2022-10/msg00048.html (18,381 bytes)


This search system is powered by Namazu