android_kernel_motorola_sm6375/init
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mel Gorman 0e1cc95b4c mm: meminit: finish initialisation of struct pages before basic setup
Waiman Long reported that 24TB machines hit OOM during basic setup when
struct page initialisation was deferred.  One approach is to initialise
memory on demand but it interferes with page allocator paths.  This patch
creates dedicated threads to initialise memory before basic setup.  It
then blocks on a rw_semaphore until completion as a wait_queue and counter
is overkill.  This may be slower to boot but it's simplier overall and
also gets rid of a section mangling which existed so kswapd could do the
initialisation.

[[email protected]: include rwsem.h, use DECLARE_RWSEM, fix comment, remove unneeded cast]
Signed-off-by: Mel Gorman <[email protected]>
Cc: Waiman Long <[email protected]
Cc: Nathan Zimmer <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Scott Norton <[email protected]>
Tested-by: Daniel J Blueman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2015-06-30 19:44:56 -07:00
..
calibrate.c kernel: add calibration_delay_done() 2014-06-16 12:47:39 -06:00
do_mounts.c init/do_mounts.c: add create_dev() failure log 2015-06-25 17:00:42 -07:00
do_mounts.h
do_mounts_initrd.c
do_mounts_md.c
do_mounts_rd.c initramfs: support initramfs that is bigger than 2GiB 2014-08-08 15:57:26 -07:00
init_task.c
initramfs.c init/initramfs.c: resolve shadow warnings 2014-10-14 02:18:22 +02:00
Kconfig Merge branch 'for-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup 2015-06-26 19:50:04 -07:00
main.c mm: meminit: finish initialisation of struct pages before basic setup 2015-06-30 19:44:56 -07:00
Makefile
noinitramfs.c
version.c copy address of proc_ns_ops into ns_common 2014-12-04 14:34:47 -05:00