Message349555
Another example to explain my concern. In the Linux kernel, list macros used to prefetch next items: “(...) So the conclusion is: prefetches are absolutely toxic, even if the NULL ones are excluded.”
https://lwn.net/Articles/444336/
The lesson is that we should not let developers tune the compiler: let the CPU do that for you :-) For example, CPUs have evolved heuristics to prefetch data for you. |
|
Date |
User |
Action |
Args |
2019-08-13 13:40:18 | vstinner | set | recipients:
+ vstinner, methane, Mark.Shannon, jdemeyer, josh.r, malin |
2019-08-13 13:40:18 | vstinner | set | messageid: <1565703618.7.0.51675947821.issue37774@roundup.psfhosted.org> |
2019-08-13 13:40:18 | vstinner | link | issue37774 messages |
2019-08-13 13:40:18 | vstinner | create | |
|