Change in Memory Management from linux-3.8 to 3.9 ?

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Change in Memory Management from linux-3.8 to 3.9 ?

Postby fly_a320 » Mon Jun 03, 2013 3:49 am

Hello all,

when using grsecurity-2.9.1-3.9.4-201305251009.patch with linux-3.9 on x86 I noticed heavy swapping when building large Packages. My Box has 4G of ram, so I called vmstat and this showed only about 1G of available Memory.

Switching back to grsecurity-2.9.1-3.8.10-201304292056.patch, the correct 4G of memory are available. Both linux-configs are identical (make oldconfig). Has there been a change in Memory management from linux-3.8 to 3.9 in the grsec code? With unpatched kernels I do get the whole 4G of RAM.

Thanks for hints,

thorsten
fly_a320
 
Posts: 16
Joined: Wed Jan 18, 2012 5:24 am

Re: Change in Memory Management from linux-3.8 to 3.9 ?

Postby PaX Team » Fri Jun 07, 2013 6:27 am

would be nice to have more info:
1. kernel configs
2. content of /proc/vmstat and /proc/meminfo from 3.8 and 3.9 (both vanilla and grsec)
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Change in Memory Management from linux-3.8 to 3.9 ?

Postby fly_a320 » Fri Jun 07, 2013 6:08 pm

Thanks for the reply!

I am out of town presently, I will send the stuff as soon as I am back,

thorsten
fly_a320
 
Posts: 16
Joined: Wed Jan 18, 2012 5:24 am

Re: Change in Memory Management from linux-3.8 to 3.9 ?

Postby fly_a320 » Tue Jun 11, 2013 4:16 am

Hello again, here the output of meminfo, vmstat and cat config | grep MEM of
3.8.10
3.8.10-grsec
3.9.2
3.9.2-grsec --- only here I do get only 1G of MemTotal, all other show 4G. I hope I did not mess up the
configuration of this kernel, but I did not find a relevant mistake.

Thanks for looking into this issue

thorsten

##########################################################################
==> 3.8.10 <==
##########################################################################
MemTotal: 4085048 kB
MemFree: 4009200 kB
Buffers: 8772 kB
Cached: 37244 kB
SwapCached: 0 kB
Active: 14616 kB
Inactive: 36432 kB
Active(anon): 5256 kB
Inactive(anon): 8720 kB
Active(file): 9360 kB
Inactive(file): 27712 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 3225840 kB
HighFree: 3179588 kB
LowTotal: 859208 kB
LowFree: 829612 kB
SwapTotal: 9767484 kB
SwapFree: 9767484 kB
Dirty: 324 kB
Writeback: 0 kB
AnonPages: 5080 kB
Mapped: 5272 kB
Shmem: 8928 kB
Slab: 13684 kB
SReclaimable: 2688 kB
SUnreclaim: 10996 kB
KernelStack: 720 kB
PageTables: 388 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 11810008 kB
Committed_AS: 19528 kB
VmallocTotal: 122880 kB
VmallocUsed: 15676 kB
VmallocChunk: 106584 kB
AnonHugePages: 0 kB
DirectMap4k: 10232 kB
DirectMap2M: 903168 kB
nr_free_pages 1002269
nr_inactive_anon 2180
nr_active_anon 1311
nr_inactive_file 6928
nr_active_file 2341
nr_unevictable 0
nr_mlock 0
nr_anon_pages 1270
nr_mapped 1318
nr_file_pages 11509
nr_dirty 84
nr_writeback 0
nr_slab_reclaimable 673
nr_slab_unreclaimable 2729
nr_page_table_pages 97
nr_kernel_stack 90
nr_unstable 0
nr_bounce 0
nr_vmscan_write 0
nr_vmscan_immediate_reclaim 0
nr_writeback_temp 0
nr_isolated_anon 0
nr_isolated_file 0
nr_shmem 2232
nr_dirtied 138
nr_written 53
nr_anon_transparent_hugepages 0
nr_free_cma 0
nr_dirty_threshold 32830
nr_dirty_background_threshold 16415
pgpgin 59798
pgpgout 513
pswpin 0
pswpout 0
pgalloc_dma 1
pgalloc_normal 40538
pgalloc_high 64017
pgalloc_movable 0
pgfree 1107709
pgactivate 2984
pgdeactivate 0
pgfault 245570
pgmajfault 246
pgrefill_dma 0
pgrefill_normal 0
pgrefill_high 0
pgrefill_movable 0
pgsteal_kswapd_dma 0
pgsteal_kswapd_normal 0
pgsteal_kswapd_high 0
pgsteal_kswapd_movable 0
pgsteal_direct_dma 0
pgsteal_direct_normal 0
pgsteal_direct_high 0
pgsteal_direct_movable 0
pgscan_kswapd_dma 0
pgscan_kswapd_normal 0
pgscan_kswapd_high 0
pgscan_kswapd_movable 0
pgscan_direct_dma 0
pgscan_direct_normal 0
pgscan_direct_high 0
pgscan_direct_movable 0
pgscan_direct_throttle 0
pginodesteal 0
slabs_scanned 0
kswapd_inodesteal 0
kswapd_low_wmark_hit_quickly 0
kswapd_high_wmark_hit_quickly 0
kswapd_skip_congestion_wait 0
pageoutrun 1
allocstall 0
pgrotated 0
pgmigrate_success 0
pgmigrate_fail 0
compact_migrate_scanned 0
compact_free_scanned 0
compact_isolated 0
compact_stall 0
compact_fail 0
compact_success 0
unevictable_pgs_culled 0
unevictable_pgs_scanned 0
unevictable_pgs_rescued 0
unevictable_pgs_mlocked 0
unevictable_pgs_munlocked 0
unevictable_pgs_cleared 0
unevictable_pgs_stranded 0
thp_fault_alloc 0
thp_fault_fallback 0
thp_collapse_alloc 1
thp_collapse_alloc_failed 0
thp_split 0
thp_zero_page_alloc 0
thp_zero_page_alloc_failed 0

3.8.10:CONFIG_SHMEM=y
3.8.10:CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
3.8.10:CONFIG_NO_BOOTMEM=y
3.8.10:# CONFIG_MEMTEST is not set
3.8.10:# CONFIG_NOHIGHMEM is not set
3.8.10:# CONFIG_HIGHMEM4G is not set
3.8.10:CONFIG_HIGHMEM64G=y
3.8.10:CONFIG_HIGHMEM=y
3.8.10:CONFIG_ARCH_FLATMEM_ENABLE=y
3.8.10:CONFIG_ARCH_SPARSEMEM_ENABLE=y
3.8.10:CONFIG_ARCH_SELECT_MEMORY_MODEL=y
3.8.10:CONFIG_SELECT_MEMORY_MODEL=y
3.8.10:CONFIG_FLATMEM_MANUAL=y
3.8.10:# CONFIG_SPARSEMEM_MANUAL is not set
3.8.10:CONFIG_FLATMEM=y
3.8.10:CONFIG_FLAT_NODE_MEM_MAP=y
3.8.10:CONFIG_SPARSEMEM_STATIC=y
3.8.10:CONFIG_HAVE_MEMBLOCK=y
3.8.10:CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
3.8.10:CONFIG_ARCH_DISCARD_MEMBLOCK=y
3.8.10:CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
3.8.10:# CONFIG_MEMORY_FAILURE is not set
3.8.10:# CONFIG_CROSS_MEMORY_ATTACH is not set
3.8.10:CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
3.8.10:# CONFIG_BLK_DEV_UMEM is not set
3.8.10:# CONFIG_INPUT_FF_MEMLESS is not set
3.8.10:CONFIG_DEVKMEM=y
3.8.10:CONFIG_FIX_EARLYCON_MEM=y
3.8.10:# CONFIG_MEMSTICK is not set
3.8.10:# CONFIG_MEMORY is not set
3.8.10:CONFIG_FIRMWARE_MEMMAP=y
3.8.10:CONFIG_HAVE_DEBUG_KMEMLEAK=y
3.8.10:CONFIG_DEBUG_MEMORY_INIT=y
3.8.10:CONFIG_HAVE_ARCH_KMEMCHECK=y
3.8.10:CONFIG_STRICT_DEVMEM=y
3.8.10:CONFIG_ASYNC_MEMCPY=y
3.8.10:CONFIG_HAS_IOMEM=y

##########################################################################
==> 3.8.10-grsec <==
##########################################################################
MemTotal: 4084384 kB
MemFree: 4008876 kB
Buffers: 8772 kB
Cached: 37244 kB
SwapCached: 0 kB
Active: 14480 kB
Inactive: 36404 kB
Active(anon): 5100 kB
Inactive(anon): 8724 kB
Active(file): 9380 kB
Inactive(file): 27680 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 3225840 kB
HighFree: 3179712 kB
LowTotal: 858544 kB
LowFree: 829164 kB
SwapTotal: 9767484 kB
SwapFree: 9767484 kB
Dirty: 320 kB
Writeback: 0 kB
AnonPages: 4948 kB
Mapped: 5276 kB
Shmem: 8932 kB
Slab: 13608 kB
SReclaimable: 2708 kB
SUnreclaim: 10900 kB
KernelStack: 712 kB
PageTables: 308 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 11809676 kB
Committed_AS: 19452 kB
VmallocTotal: 122880 kB
VmallocUsed: 15644 kB
VmallocChunk: 106616 kB
AnonHugePages: 0 kB
DirectMap4k: 8184 kB
DirectMap2M: 905216 kB

nr_free_pages 1002250
nr_inactive_anon 2181
nr_active_anon 1286
nr_inactive_file 6922
nr_active_file 2346
nr_unevictable 0
nr_mlock 0
nr_anon_pages 1238
nr_mapped 1319
nr_file_pages 11507
nr_dirty 54
nr_writeback 0
nr_slab_reclaimable 678
nr_slab_unreclaimable 2700
nr_page_table_pages 77
nr_kernel_stack 89
nr_unstable 0
nr_bounce 0
nr_vmscan_write 0
nr_vmscan_immediate_reclaim 0
nr_writeback_temp 0
nr_isolated_anon 0
nr_isolated_file 0
nr_shmem 2233
nr_dirtied 136
nr_written 81
nr_anon_transparent_hugepages 0
nr_free_cma 0
nr_dirty_threshold 32820
nr_dirty_background_threshold 16410
pgpgin 59798
pgpgout 605
pswpin 0
pswpout 0
pgalloc_dma 1
pgalloc_normal 40838
pgalloc_high 62196
pgalloc_movable 0
pgfree 1106061
pgactivate 2997
pgdeactivate 0
pgfault 247824
pgmajfault 243
pgrefill_dma 0
pgrefill_normal 0
pgrefill_high 0
pgrefill_movable 0
pgsteal_kswapd_dma 0
pgsteal_kswapd_normal 0
pgsteal_kswapd_high 0
pgsteal_kswapd_movable 0
pgsteal_direct_dma 0
pgsteal_direct_normal 0
pgsteal_direct_high 0
pgsteal_direct_movable 0
pgscan_kswapd_dma 0
pgscan_kswapd_normal 0
pgscan_kswapd_high 0
pgscan_kswapd_movable 0
pgscan_direct_dma 0
pgscan_direct_normal 0
pgscan_direct_high 0
pgscan_direct_movable 0
pgscan_direct_throttle 0
pginodesteal 0
slabs_scanned 0
kswapd_inodesteal 0
kswapd_low_wmark_hit_quickly 0
kswapd_high_wmark_hit_quickly 0
kswapd_skip_congestion_wait 0
pageoutrun 1
allocstall 0
pgrotated 0
pgmigrate_success 0
pgmigrate_fail 0
compact_migrate_scanned 0
compact_free_scanned 0
compact_isolated 0
compact_stall 0
compact_fail 0
compact_success 0
unevictable_pgs_culled 0
unevictable_pgs_scanned 0
unevictable_pgs_rescued 0
unevictable_pgs_mlocked 0
unevictable_pgs_munlocked 0
unevictable_pgs_cleared 0
unevictable_pgs_stranded 0
thp_fault_alloc 0
thp_fault_fallback 0
thp_collapse_alloc 1
thp_collapse_alloc_failed 0
thp_split 0
thp_zero_page_alloc 0
thp_zero_page_alloc_failed 0

3.8.10-grsec:CONFIG_SHMEM=y
3.8.10-grsec:CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
3.8.10-grsec:CONFIG_NO_BOOTMEM=y
3.8.10-grsec:# CONFIG_MEMTEST is not set
3.8.10-grsec:CONFIG_HIGHMEM64G=y
3.8.10-grsec:CONFIG_HIGHMEM=y
3.8.10-grsec:CONFIG_ARCH_FLATMEM_ENABLE=y
3.8.10-grsec:CONFIG_ARCH_SPARSEMEM_ENABLE=y
3.8.10-grsec:CONFIG_ARCH_SELECT_MEMORY_MODEL=y
3.8.10-grsec:CONFIG_SELECT_MEMORY_MODEL=y
3.8.10-grsec:CONFIG_FLATMEM_MANUAL=y
3.8.10-grsec:# CONFIG_SPARSEMEM_MANUAL is not set
3.8.10-grsec:CONFIG_FLATMEM=y
3.8.10-grsec:CONFIG_FLAT_NODE_MEM_MAP=y
3.8.10-grsec:CONFIG_SPARSEMEM_STATIC=y
3.8.10-grsec:CONFIG_HAVE_MEMBLOCK=y
3.8.10-grsec:CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
3.8.10-grsec:CONFIG_ARCH_DISCARD_MEMBLOCK=y
3.8.10-grsec:CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
3.8.10-grsec:# CONFIG_MEMORY_FAILURE is not set
3.8.10-grsec:# CONFIG_CROSS_MEMORY_ATTACH is not set
3.8.10-grsec:CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
3.8.10-grsec:# CONFIG_BLK_DEV_UMEM is not set
3.8.10-grsec:# CONFIG_INPUT_FF_MEMLESS is not set
3.8.10-grsec:CONFIG_FIX_EARLYCON_MEM=y
3.8.10-grsec:# CONFIG_MEMSTICK is not set
3.8.10-grsec:# CONFIG_MEMORY is not set
3.8.10-grsec:CONFIG_FIRMWARE_MEMMAP=y
3.8.10-grsec:CONFIG_HAVE_DEBUG_KMEMLEAK=y
3.8.10-grsec:CONFIG_DEBUG_MEMORY_INIT=y
3.8.10-grsec:CONFIG_HAVE_ARCH_KMEMCHECK=y
3.8.10-grsec:CONFIG_STRICT_DEVMEM=y
3.8.10-grsec:CONFIG_PAX_MEMORY_SANITIZE=y
3.8.10-grsec:CONFIG_PAX_MEMORY_STACKLEAK=y
3.8.10-grsec:CONFIG_PAX_MEMORY_STRUCTLEAK=y
3.8.10-grsec:CONFIG_PAX_MEMORY_UDEREF=y
3.8.10-grsec:CONFIG_GRKERNSEC_KMEM=y
3.8.10-grsec:CONFIG_GRKERNSEC_PROC_MEMMAP=y
3.8.10-grsec:CONFIG_ASYNC_MEMCPY=y
3.8.10-grsec:CONFIG_HAS_IOMEM=y


##########################################################################
==> 3.9.2 <==
##########################################################################
MemTotal: 4084988 kB
MemFree: 3999592 kB
Buffers: 11444 kB
Cached: 43280 kB
SwapCached: 0 kB
Active: 15616 kB
Inactive: 44336 kB
Active(anon): 5476 kB
Inactive(anon): 616 kB
Active(file): 10140 kB
Inactive(file): 43720 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 3225840 kB
HighFree: 3172396 kB
LowTotal: 859148 kB
LowFree: 827196 kB
SwapTotal: 9767484 kB
SwapFree: 9767484 kB
Dirty: 128 kB
Writeback: 0 kB
AnonPages: 5288 kB
Mapped: 5252 kB
Shmem: 824 kB
Slab: 13864 kB
SReclaimable: 2848 kB
SUnreclaim: 11016 kB
KernelStack: 720 kB
PageTables: 368 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 11809976 kB
Committed_AS: 11896 kB
VmallocTotal: 122880 kB
VmallocUsed: 15684 kB
VmallocChunk: 104536 kB
AnonHugePages: 0 kB
DirectMap4k: 10232 kB
DirectMap2M: 901120 kB

nr_free_pages 999931
nr_inactive_anon 154
nr_active_anon 1363
nr_inactive_file 10941
nr_active_file 2536
nr_unevictable 0
nr_mlock 0
nr_anon_pages 1322
nr_mapped 1315
nr_file_pages 13697
nr_dirty 28
nr_writeback 0
nr_slab_reclaimable 711
nr_slab_unreclaimable 2723
nr_page_table_pages 92
nr_kernel_stack 90
nr_unstable 0
nr_bounce 0
nr_vmscan_write 0
nr_vmscan_immediate_reclaim 0
nr_writeback_temp 0
nr_isolated_anon 0
nr_isolated_file 0
nr_shmem 206
nr_dirtied 403
nr_written 372
nr_anon_transparent_hugepages 0
nr_free_cma 0
nr_dirty_threshold 30851
nr_dirty_background_threshold 15425
pgpgin 76594
pgpgout 2953
pswpin 0
pswpout 0
pgalloc_dma 1
pgalloc_normal 45170
pgalloc_high 66428
pgalloc_movable 0
pgfree 1112475
pgactivate 3192
pgdeactivate 0
pgfault 248546
pgmajfault 362
pgrefill_dma 0
pgrefill_normal 0
pgrefill_high 0
pgrefill_movable 0
pgsteal_kswapd_dma 0
pgsteal_kswapd_normal 0
pgsteal_kswapd_high 0
pgsteal_kswapd_movable 0
pgsteal_direct_dma 0
pgsteal_direct_normal 0
pgsteal_direct_high 0
pgsteal_direct_movable 0
pgscan_kswapd_dma 0
pgscan_kswapd_normal 0
pgscan_kswapd_high 0
pgscan_kswapd_movable 0
pgscan_direct_dma 0
pgscan_direct_normal 0
pgscan_direct_high 0
pgscan_direct_movable 0
pgscan_direct_throttle 0
pginodesteal 0
slabs_scanned 0
kswapd_inodesteal 0
kswapd_low_wmark_hit_quickly 0
kswapd_high_wmark_hit_quickly 0
pageoutrun 1
allocstall 0
pgrotated 0
pgmigrate_success 0
pgmigrate_fail 0
compact_migrate_scanned 0
compact_free_scanned 0
compact_isolated 0
compact_stall 0
compact_fail 0
compact_success 0
unevictable_pgs_culled 0
unevictable_pgs_scanned 0
unevictable_pgs_rescued 0
unevictable_pgs_mlocked 0
unevictable_pgs_munlocked 0
unevictable_pgs_cleared 0
unevictable_pgs_stranded 0
thp_fault_alloc 0
thp_fault_fallback 0
thp_collapse_alloc 1
thp_collapse_alloc_failed 0
thp_split 0
thp_zero_page_alloc 0
thp_zero_page_alloc_failed 0

3.9.2:CONFIG_SHMEM=y
3.9.2:CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
3.9.2:CONFIG_NO_BOOTMEM=y
3.9.2:# CONFIG_MEMTEST is not set
3.9.2:# CONFIG_NOHIGHMEM is not set
3.9.2:# CONFIG_HIGHMEM4G is not set
3.9.2:CONFIG_HIGHMEM64G=y
3.9.2:CONFIG_HIGHMEM=y
3.9.2:CONFIG_ARCH_FLATMEM_ENABLE=y
3.9.2:CONFIG_ARCH_SPARSEMEM_ENABLE=y
3.9.2:CONFIG_ARCH_SELECT_MEMORY_MODEL=y
3.9.2:CONFIG_SELECT_MEMORY_MODEL=y
3.9.2:CONFIG_FLATMEM_MANUAL=y
3.9.2:# CONFIG_SPARSEMEM_MANUAL is not set
3.9.2:CONFIG_FLATMEM=y
3.9.2:CONFIG_FLAT_NODE_MEM_MAP=y
3.9.2:CONFIG_SPARSEMEM_STATIC=y
3.9.2:CONFIG_HAVE_MEMBLOCK=y
3.9.2:CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
3.9.2:CONFIG_ARCH_DISCARD_MEMBLOCK=y
3.9.2:# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
3.9.2:CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
3.9.2:# CONFIG_MEMORY_FAILURE is not set
3.9.2:# CONFIG_CROSS_MEMORY_ATTACH is not set
3.9.2:CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
3.9.2:# CONFIG_BLK_DEV_UMEM is not set
3.9.2:# CONFIG_INPUT_FF_MEMLESS is not set
3.9.2:CONFIG_DEVKMEM=y
3.9.2:CONFIG_FIX_EARLYCON_MEM=y
3.9.2:# CONFIG_MEMSTICK is not set
3.9.2:# CONFIG_MEMORY is not set
3.9.2:CONFIG_FIRMWARE_MEMMAP=y
3.9.2:CONFIG_HAVE_DEBUG_KMEMLEAK=y
3.9.2:CONFIG_DEBUG_MEMORY_INIT=y
3.9.2:CONFIG_HAVE_ARCH_KMEMCHECK=y
3.9.2:CONFIG_STRICT_DEVMEM=y
3.9.2:CONFIG_ASYNC_MEMCPY=y
3.9.2:CONFIG_HAS_IOMEM=y


##########################################################################
==> 3.9.2-grsec <==
##########################################################################
MemTotal: 1022680 kB
MemFree: 887856 kB
Buffers: 20420 kB
Cached: 74992 kB
SwapCached: 0 kB
Active: 26732 kB
Inactive: 83212 kB
Active(anon): 14820 kB
Inactive(anon): 20632 kB
Active(file): 11912 kB
Inactive(file): 62580 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 135176 kB
HighFree: 42244 kB
LowTotal: 887504 kB
LowFree: 845612 kB
SwapTotal: 9767484 kB
SwapFree: 9767484 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 14536 kB
Mapped: 13748 kB
Shmem: 20940 kB
Slab: 14452 kB
SReclaimable: 3292 kB
SUnreclaim: 11160 kB
KernelStack: 760 kB
PageTables: 572 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 10278824 kB
Committed_AS: 46644 kB
VmallocTotal: 122880 kB
VmallocUsed: 15660 kB
VmallocChunk: 104568 kB
AnonHugePages: 0 kB
DirectMap4k: 8184 kB
DirectMap2M: 903168 kB

nr_free_pages 221936
nr_inactive_anon 5159
nr_active_anon 3702
nr_inactive_file 15646
nr_active_file 2978
nr_unevictable 0
nr_mlock 0
nr_anon_pages 3634
nr_mapped 3438
nr_file_pages 23860
nr_dirty 2
nr_writeback 0
nr_slab_reclaimable 824
nr_slab_unreclaimable 2789
nr_page_table_pages 143
nr_kernel_stack 95
nr_unstable 0
nr_bounce 0
nr_vmscan_write 0
nr_vmscan_immediate_reclaim 0
nr_writeback_temp 0
nr_isolated_anon 0
nr_isolated_file 0
nr_shmem 5239
nr_dirtied 238
nr_written 222
nr_anon_transparent_hugepages 0
nr_free_cma 0
nr_dirty_threshold 37391
nr_dirty_background_threshold 18695
pgpgin 86995
pgpgout 1633
pswpin 0
pswpout 0
pgalloc_dma 1
pgalloc_normal 30657
pgalloc_high 68615
pgalloc_movable 0
pgfree 321781
pgactivate 3438
pgdeactivate 0
pgfault 235231
pgmajfault 447
pgrefill_dma 0
pgrefill_normal 0
pgrefill_high 0
pgrefill_movable 0
pgsteal_kswapd_dma 0
pgsteal_kswapd_normal 0
pgsteal_kswapd_high 0
pgsteal_kswapd_movable 0
pgsteal_direct_dma 0
pgsteal_direct_normal 0
pgsteal_direct_high 0
pgsteal_direct_movable 0
pgscan_kswapd_dma 0
pgscan_kswapd_normal 0
pgscan_kswapd_high 0
pgscan_kswapd_movable 0
pgscan_direct_dma 0
pgscan_direct_normal 0
pgscan_direct_high 0
pgscan_direct_movable 0
pgscan_direct_throttle 0
pginodesteal 0
slabs_scanned 0
kswapd_inodesteal 0
kswapd_low_wmark_hit_quickly 0
kswapd_high_wmark_hit_quickly 0
pageoutrun 1
allocstall 0
pgrotated 0
pgmigrate_success 0
pgmigrate_fail 0
compact_migrate_scanned 0
compact_free_scanned 0
compact_isolated 0
compact_stall 0
compact_fail 0
compact_success 0
unevictable_pgs_culled 0
unevictable_pgs_scanned 0
unevictable_pgs_rescued 0
unevictable_pgs_mlocked 0
unevictable_pgs_munlocked 0
unevictable_pgs_cleared 0
unevictable_pgs_stranded 0
thp_fault_alloc 0
thp_fault_fallback 0
thp_collapse_alloc 1
thp_collapse_alloc_failed 0
thp_split 0
thp_zero_page_alloc 0
thp_zero_page_alloc_failed 0

3.9.2-grsec:CONFIG_SHMEM=y
3.9.2-grsec:CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
3.9.2-grsec:CONFIG_NO_BOOTMEM=y
3.9.2-grsec:# CONFIG_MEMTEST is not set
3.9.2-grsec:CONFIG_HIGHMEM64G=y
3.9.2-grsec:CONFIG_HIGHMEM=y
3.9.2-grsec:CONFIG_ARCH_FLATMEM_ENABLE=y
3.9.2-grsec:CONFIG_ARCH_SPARSEMEM_ENABLE=y
3.9.2-grsec:CONFIG_ARCH_SELECT_MEMORY_MODEL=y
3.9.2-grsec:CONFIG_SELECT_MEMORY_MODEL=y
3.9.2-grsec:CONFIG_FLATMEM_MANUAL=y
3.9.2-grsec:# CONFIG_SPARSEMEM_MANUAL is not set
3.9.2-grsec:CONFIG_FLATMEM=y
3.9.2-grsec:CONFIG_FLAT_NODE_MEM_MAP=y
3.9.2-grsec:CONFIG_SPARSEMEM_STATIC=y
3.9.2-grsec:CONFIG_HAVE_MEMBLOCK=y
3.9.2-grsec:CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
3.9.2-grsec:CONFIG_ARCH_DISCARD_MEMBLOCK=y
3.9.2-grsec:# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
3.9.2-grsec:CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
3.9.2-grsec:# CONFIG_MEMORY_FAILURE is not set
3.9.2-grsec:# CONFIG_CROSS_MEMORY_ATTACH is not set
3.9.2-grsec:CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
3.9.2-grsec:# CONFIG_BLK_DEV_UMEM is not set
3.9.2-grsec:# CONFIG_INPUT_FF_MEMLESS is not set
3.9.2-grsec:CONFIG_FIX_EARLYCON_MEM=y
3.9.2-grsec:# CONFIG_MEMSTICK is not set
3.9.2-grsec:# CONFIG_MEMORY is not set
3.9.2-grsec:CONFIG_FIRMWARE_MEMMAP=y
3.9.2-grsec:CONFIG_HAVE_DEBUG_KMEMLEAK=y
3.9.2-grsec:CONFIG_DEBUG_MEMORY_INIT=y
3.9.2-grsec:CONFIG_HAVE_ARCH_KMEMCHECK=y
3.9.2-grsec:CONFIG_STRICT_DEVMEM=y
3.9.2-grsec:CONFIG_PAX_MEMORY_SANITIZE=y
3.9.2-grsec:CONFIG_PAX_MEMORY_STACKLEAK=y
3.9.2-grsec:CONFIG_PAX_MEMORY_STRUCTLEAK=y
3.9.2-grsec:CONFIG_PAX_MEMORY_UDEREF=y
3.9.2-grsec:CONFIG_GRKERNSEC_KMEM=y
3.9.2-grsec:CONFIG_GRKERNSEC_PROC_MEMMAP=y
3.9.2-grsec:CONFIG_ASYNC_MEMCPY=y
3.9.2-grsec:CONFIG_HAS_IOMEM=y
fly_a320
 
Posts: 16
Joined: Wed Jan 18, 2012 5:24 am

Re: Change in Memory Management from linux-3.8 to 3.9 ?

Postby PaX Team » Tue Jun 11, 2013 5:36 pm

thanks for the info, this will be fixed in the next patch.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Change in Memory Management from linux-3.8 to 3.9 ?

Postby fly_a320 » Wed Jun 12, 2013 12:56 am

Thanks for looking into it!

thorsten
fly_a320
 
Posts: 16
Joined: Wed Jan 18, 2012 5:24 am


Return to grsecurity support

cron