mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] Additions to .data.read_mostly section
Mark variables which are usually accessed for reads with __readmostly. Signed-off-by: Alok N Kataria <[email protected]> Signed-off-by: Shai Fultheim <[email protected]> Signed-off-by: Ravikiran Thirumalai <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
39ed3fdeec
commit
6c231b7bab
13 changed files with 31 additions and 31 deletions
|
|
@ -180,7 +180,7 @@ static struct inode_operations shmem_inode_operations;
|
|||
static struct inode_operations shmem_dir_inode_operations;
|
||||
static struct vm_operations_struct shmem_vm_ops;
|
||||
|
||||
static struct backing_dev_info shmem_backing_dev_info = {
|
||||
static struct backing_dev_info shmem_backing_dev_info __read_mostly = {
|
||||
.ra_pages = 0, /* No readahead */
|
||||
.capabilities = BDI_CAP_NO_ACCT_DIRTY | BDI_CAP_NO_WRITEBACK,
|
||||
.unplug_io_fn = default_unplug_io_fn,
|
||||
|
|
|
|||
Loading…
Reference in a new issue