You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Pavel Emelyanov
4665079cbb
[NETNS]: Move some code into __init section when CONFIG_NET_NS=n
...
With the net namespaces many code leaved the __init section,
thus making the kernel occupy more memory than it did before.
Since we have a config option that prohibits the namespace
creation, the functions that initialize/finalize some netns
stuff are simply not needed and can be freed after the boot.
Currently, this is almost not noticeable, since few calls
are no longer in __init, but when the namespaces will be
merged it will be possible to free more code. I propose to
use the __net_init, __net_exit and __net_initdata "attributes"
for functions/variables that are not used if the CONFIG_NET_NS
is not set to save more space in memory.
The exiting functions cannot just reside in the __exit section,
as noticed by David, since the init section will have
references on it and the compilation will fail due to modpost
checks. These references can exist, since the init namespace
never dies and the exit callbacks are never called. So I
introduce the __exit_refok attribute just like it is already
done with the __init_refok.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago
..
basic
Fix occurrences of "the the "
18 years ago
genksyms
blackfin architecture
18 years ago
kconfig
kconfig: oldconfig shall not set symbols if it does not need to
18 years ago
ksymoops
…
mod
[NETNS]: Move some code into __init section when CONFIG_NET_NS=n
18 years ago
package
x86_64: Support x86_64 in make buildtar
18 years ago
rt-tester
[PATCH] rtmutex: Modify rtmutex-tester to test the setscheduler propagation
19 years ago
.gitignore
[PATCH] Add unifdef to gitignore
19 years ago
Kbuild.include
kbuild: New 'cc-fullversion' macro
18 years ago
Lindent
Fix Lindent to not indent preprocessor comments so far
18 years ago
Makefile
[PATCH] allow /proc/config.gz to be built as a module
19 years ago
Makefile.build
kbuild: use LDFLAGS_MODULE only for .ko links
18 years ago
Makefile.clean
kbuild: change kbuild to not rely on incorrect GNU make behavior
19 years ago
Makefile.headersinst
kbuild: use POSIX BRE in headers install target
18 years ago
Makefile.host
kbuild: enable use of code from a different dir
18 years ago
Makefile.lib
kbuild: fix ia64 breakage after introducing make -rR
19 years ago
Makefile.modinst
kbuild: add option for stripping modules while installing them
19 years ago
Makefile.modpost
kbuild: use LDFLAGS_MODULE only for .ko links
18 years ago
bin2c.c
…
binoffset.c
…
bloat-o-meter
[PATCH] bloat-o-meter: gcc-4 fix
19 years ago
checkincludes.pl
…
checkpatch.pl
update checkpatch.pl to version 0.09
18 years ago
checkstack.pl
[POWERPC] make checkstack work with ARCH=powerpc
19 years ago
checksyscalls.sh
Introduce fixed sys_sync_file_range2() syscall, implement on PowerPC and ARM
18 years ago
checkversion.pl
kbuild: introduce utsrelease.h
19 years ago
cleanfile
scripts: Make cleanfile/cleanpatch warn about long lines
18 years ago
cleanpatch
scripts: Make cleanfile/cleanpatch warn about long lines
18 years ago
conmakehash.c
…
decodecode
doc/oops-tracing: add Code: decode info
18 years ago
export_report.pl
kbuild: export-symbol usage report generator
19 years ago
extract-ikconfig
[PATCH] extract-ikconfig: don't use --long-options
19 years ago
gcc-version.sh
kbuild: New 'cc-fullversion' macro
18 years ago
gcc-x86_64-has-stack-protector.sh
[PATCH] Add the -fstack-protector option to the CFLAGS
19 years ago
gen_initramfs_list.sh
kbuild: add support for squashing uid/gid in gen_initramfs_list.sh
18 years ago
hdrcheck.sh
Use dependencies for 'make headers_install'.
19 years ago
kallsyms.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
18 years ago
kernel-doc
kernel-doc: fix leading dot in man-mode output
18 years ago
makelst
[PATCH] kbuild scripts: replace gawk, head, bc with shell, update
18 years ago
mkcompile_h
kbuild: override build timestamp & version
18 years ago
mkmakefile
kbuild: Do not overwrite makefile as anohter user
19 years ago
mksysmap
…
mkuboot.sh
kbuild/mkuboot.sh: allow spaces in CROSS_COMPILE
18 years ago
mkversion
…
namespace.pl
kbuild: fix mode of checkstack.pl and other files.
19 years ago
patch-kernel
…
pnmtologo.c
…
profile2linkerlist.pl
[PATCH] x86_64: Basic reorder infrastructure
19 years ago
setlocalversion
kbuild: append -dirty for updated but uncommited changes
19 years ago
show_delta
kbuild: fix mode of checkstack.pl and other files.
19 years ago
unifdef.c
kbuild: replace use of strlcpy with a dedicated implmentation in unifdef
19 years ago
ver_linux
kbuild: fix up printing of Linux C Library version in scripts/ver_linux
18 years ago