commit | 783cb68ee2d25d621326366c0b615bf2ccf3b402 | [log] [tgz] |
---|---|---|
author | Changbin Du <changbin.du@intel.com> | Wed Nov 15 17:36:06 2017 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Nov 15 18:21:05 2017 -0800 |
tree | 4868c340c671bd5b7518c53d0f414f2213e97a6b | |
parent | 4675ff05de2d76d167336b368bd07f3fef6ed5a6 [diff] |
mm/swap_state.c: declare a few variables as __read_mostly These global variables are only set during initialization or rarely change, so declare them as __read_mostly. Link: http://lkml.kernel.org/r/1507802349-5554-1-git-send-email-changbin.du@intel.com Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>