headers/deps: RDMA: Optimize <rdma/ib_verbs.h> dependencies, remove <linux/dim.h> inclusion

          --------------------------------------------------------------------
          | Combined, preprocessed C code size of header, without line markers,
          | with comments stripped:
          -------------------------
  before: | #include <rdma/ib_verbs.h>              | LOC: 17,911 | headers:  340
   after: | #include <rdma/ib_verbs.h>              | LOC: 16,595 | headers:  306

This latest round of RDMA header dependency optimizations improves the build
performance of RMDA related object files by about 11%, in terms of CPU-clocks spent:

  # Before:
  # -v2-rc1:

  kepler:~/mingo.tip.git> perf stat --repeat 3 -e instructions,cycles,cpu-clock --sync --pre "find . -name '*.o' | xargs rm" m-rdma >/dev/null

   Performance counter stats for 'm-rdma' (3 runs):

   1,686,681,665,649      instructions              #    0.97  insn per cycle           ( +-  0.00% )
   1,739,666,470,368      cycles                    #    3.897 GHz                      ( +-  0.06% )
          446,243.49 msec cpu-clock                 #   47.106 CPUs utilized            ( +-  0.06% )

              9.4731 +- 0.0666 seconds time elapsed  ( +-  0.70% )

  # After:
  -v2-rc2:

  kepler:~/mingo.tip.git> perf stat --repeat 3 -e instructions,cycles,cpu-clock --sync --pre "find . -name '*.o' | xargs rm" m-rdma >/dev/null

   Performance counter stats for 'm-rdma' (3 runs):

   1,514,174,437,097      instructions              #    0.97  insn per cycle           ( +-  0.00% )
   1,561,888,048,635      cycles                    #    3.897 GHz                      ( +-  0.02% )
          400,650.32 msec cpu-clock                 #   45.888 CPUs utilized            ( +-  0.02% )

              8.7310 +- 0.0162 seconds time elapsed  ( +-  0.19% )

Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 file changed