lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 14 Nov 2007 08:39:24 +0100
From:	Eric Dumazet <dada1@...mosbay.com>
To:	"David S. Miller" <davem@...emloft.net>
CC:	Linux Netdev List <netdev@...r.kernel.org>
Subject: [PATCH] NET : move Qdisc_class_ops and Qdisc_ops in appropriate sections

Hi David

Please find this patch against net-2.6.25

Thank you


[PATCH] NET : move Qdisc_class_ops and Qdisc_ops in appropriate sections

Qdisc_class_ops are const, and Qdisc_ops are mostly read.

Using "const" and "__read_mostly" qualifiers helps to reduce false sharing.

Signed-off-by: Eric Dumazet <dada1@...mosbay.com>

  include/net/sch_generic.h |    2 +-
  net/mac80211/wme.c        |    4 ++--
  net/sched/cls_api.c       |    4 ++--
  net/sched/sch_api.c       |   12 ++++++------
  net/sched/sch_atm.c       |    4 ++--
  net/sched/sch_blackhole.c |    2 +-
  net/sched/sch_cbq.c       |    4 ++--
  net/sched/sch_dsmark.c    |    4 ++--
  net/sched/sch_fifo.c      |    4 ++--
  net/sched/sch_generic.c   |   10 +++++-----
  net/sched/sch_gred.c      |    2 +-
  net/sched/sch_hfsc.c      |    4 ++--
  net/sched/sch_htb.c       |    4 ++--
  net/sched/sch_ingress.c   |    4 ++--
  net/sched/sch_netem.c     |    6 +++---
  net/sched/sch_prio.c      |    6 +++---
  net/sched/sch_red.c       |    4 ++--
  net/sched/sch_sfq.c       |    2 +-
  net/sched/sch_tbf.c       |    4 ++--
  19 files changed, 43 insertions(+), 43 deletions(-)


View attachment "qdisc.patch" of type "text/plain" (14728 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ