Files
linux/drivers/net
Emese Revfy 52cf25d0ab Driver core: Constify struct sysfs_ops in struct kobj_type
Constify struct sysfs_ops.

This is part of the ops structure constification
effort started by Arjan van de Ven et al.

Benefits of this constification:

 * prevents modification of data that is shared
   (referenced) by many other structure instances
   at runtime

 * detects/prevents accidental (but not intentional)
   modification attempts on archs that enforce
   read-only kernel data at runtime

 * potentially better optimized code as the compiler
   can assume that the const data cannot be changed

 * the compiler/linker move const data into .rodata
   and therefore exclude them from false sharing

Signed-off-by: Emese Revfy <[email protected]>
Acked-by: David Teigland <[email protected]>
Acked-by: Matt Domsch <[email protected]>
Acked-by: Maciej Sosnowski <[email protected]>
Acked-by: Hans J. Koch <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Acked-by: Jens Axboe <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-07 17:04:49 -08:00
..
2010-03-02 03:56:39 -08:00
2010-01-03 21:42:50 -08:00
2010-02-18 14:47:48 -08:00
2010-02-18 14:47:48 -08:00
…
…
2010-02-18 14:47:48 -08:00
…
2010-02-18 14:47:48 -08:00
2010-02-18 14:47:48 -08:00
…
2010-02-18 14:47:48 -08:00
…
…
…
…
…
…
…
…
…
…
2010-02-08 22:44:18 -08:00
…
…
…
2010-02-28 00:43:33 -08:00
2010-02-16 15:19:03 -08:00
2010-02-17 13:35:44 -08:00
2010-02-17 13:35:44 -08:00
2010-02-17 13:35:44 -08:00
2009-11-05 20:00:29 -08:00
2010-02-28 18:37:12 -08:00
…
2010-02-26 02:10:14 -08:00
2010-02-26 02:10:14 -08:00
2010-02-26 02:10:14 -08:00
2010-02-26 02:10:14 -08:00
…
…
…
…
…
…
2009-11-11 19:22:21 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-11-20 15:35:04 -08:00
…
…
…
…
2010-01-09 23:00:32 -08:00
…
…
…
2010-01-28 06:01:35 -08:00
…
…
…
2009-12-26 20:38:23 -08:00
…
…
…
…
…
…
…
2010-01-18 00:29:19 -08:00
…
…
…
…
…
…
…
…
2010-02-12 16:21:01 -08:00
…
…
2009-12-11 16:16:33 -08:00
…
…
…
…
…
…
…
…
2010-02-26 02:08:42 -08:00
2010-02-28 00:43:34 -08:00
2010-02-17 17:27:40 -08:00
2010-02-17 16:35:17 -08:00
…
2009-11-26 15:51:29 -08:00
…