https://github.com/torvalds/linux
Revision 76d51dd9a07abcfaf1e3fe67a9656238a89b771f authored by Mathias Krause on 16 July 2014, 17:43:04 UTC, committed by Matthew Garrett on 16 August 2014, 08:23:52 UTC
Quite a lot of code and data of acer-wmi.c is only ever used during
initialization. Mark those accordingly -- and constify, where
appropriate -- so the memory can be released afterwards.

All in all those changes move ~10 kB of code and data to the .init
sections, marking them for release after initialization has finished.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: "Lee, Chun-Yi" <jlee@suse.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
1 parent 55d1e9d
History
Tip revision: 76d51dd9a07abcfaf1e3fe67a9656238a89b771f authored by Mathias Krause on 16 July 2014, 17:43:04 UTC
acer-wmi: Mark init data and code as such
Tip revision: 76d51dd
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 277.8 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top