[Samsung Galaxy Nexus] metalspring:
btw, made up a new build with all the new changes but still getting mm issues with freezes and bugs showing up in kmsg with zram-

<3>[ 3313.656616] BUG: sleeping function called from invalid context at kernel/rwsem.c:48

<3>[ 3313.656707] in_atomic(): 1, irqs_disabled(): 0, pid: 2707, name: AsyncTask #1

<4>[ 3313.656799] Backtrace:

<4>[ 3313.656921] [<a0063840>] (dump_backtrace+0x0/0x10c) from [<a06b5098>] (dump_stack+0x18/0x1c)

<4>[ 3313.657012] r6:000673d2 r5:00000030 r4:b50c6000 r3:600f0113

<4>[ 3313.657257] [<a06b5080>] (dump_stack+0x0/0x1c) from [<a00a13dc>] (__might_sleep+0xf8/0x114)

<4>[ 3313.657348] [<a00a12e4>] (__might_sleep+0x0/0x114) from [<a06bd838>] (down_write+0x20/0x60)

<4>[ 3313.657440] r6:00004b96 r5:d08ed198 r4:d08ed198

<4>[ 3313.657623] [<a06bd818>] (down_write+0x0/0x60) from [<a038e474>] (zram_slot_free_notify+0x24/0x48)

<4>[ 3313.657714] r4:d08ed180 r3:d02d1400

<4>[ 3313.657867] [<a038e450>] (zram_slot_free_notify+0x0/0x48) from [<a015ad90>] (swap_entry_free+0x104/0x184)

<4>[ 3313.657958] r6:00000000 r5:00004b96 r4:b8519b00 r3:a038e450

<4>[ 3313.658203] [<a015ac8c>] (swap_entry_free+0x0/0x184) from [<a015bc24>] (swap_free+0x28/0x38)

<4>[ 3313.658294] r7:cec211e0 r6:3cfcd000 r5:00000008 r4:00004b96

<4>[ 3313.658599] [<a015bbfc>] (swap_free+0x0/0x38) from [<a014c174>] (handle_pte_fault+0x398/0x7dc)

<4>[ 3313.658630] r4:9680475f r3:00080039

<4>[ 3313.658813] [<a014bddc>] (handle_pte_fault+0x0/0x7dc) from [<a014c664>] (handle_mm_fault+0xac/0xe4)

<4>[ 3313.658905] [<a014c5b8>] (handle_mm_fault+0x0/0xe4) from [<a006a2d4>] (do_page_fault+0x240/0x378)

<4>[ 3313.658966] [<a006a094>] (do_page_fault+0x0/0x378) from [<a0059474>] (do_DataAbort+0x3c/0xa4)

<4>[ 3313.659057] [<a0059438>] (do_DataAbort+0x0/0xa4) from [<a005fbc8>] (ret_from_exception+0x0/0x10)

<4>[ 3313.659149] Exception stack(0xb50c7fb0 to 0xb50c7ff8)

<4>[ 3313.659210] 7fa0: 3cfcde9c 00000400 36ca3afc 3cfce2d8

<4>[ 3313.659301] 7fc0: 3cfce2d8 355e13a0 36cd5cac 3cfce308 36ca3afc 3cfcde9c 3cfce308 0014eaa0

<4>[ 3313.659393] 7fe0: 3cfce350 3cfcde98 36b11e43 36b11da4 600f0030 ffffffff

<4>[ 3313.659454] r8:36ca3afc r7:3cfce308 r6:36cd5cac r5:00000007 r4:0000040f

It happens every time an app is killed, maybe this commit is causing issues? (they all refer to BUG: sleeping function called from invalid context at kernel/rwsem.c:48 and in_atomic(): 1, irqs_disabled() )

https://github.com/bsmitty83/DirtyV_tuna/commit/8766134af582ae977aaab4994b5c8d82082dae0e

Btw, it happens when turning zram off as well-

<3>[ 4653.690246] BUG: sleeping function called from invalid context at kernel/rwsem.c:48

<3>[ 4653.690368] in_atomic(): 1, irqs_disabled(): 0, pid: 19533, name: swapoff

<4>[ 4653.690429] Backtrace:

<4>[ 4653.690582] [<a0063840>] (dump_backtrace+0x0/0x10c) from [<a06b5098>] (dump_stack+0x18/0x1c)

<4>[ 4653.690643] r6:000911d6 r5:00000030 r4:a1932000 r3:60070013

<4>[ 4653.691009] [<a06b5080>] (dump_stack+0x0/0x1c) from [<a00a13dc>] (__might_sleep+0xf8/0x114)

<4>[ 4653.691101] [<a00a12e4>] (__might_sleep+0x0/0x114) from [<a06bd838>] (down_write+0x20/0x60)

<4>[ 4653.691162] r6:00003ce6 r5:d08ed198 r4:d08ed198

<4>[ 4653.691467] [<a06bd818>] (down_write+0x0/0x60) from [<a038e474>] (zram_slot_free_notify+0x24/0x48)

<4>[ 4653.691558] r4:d08ed180 r3:d02d1400

<4>[ 4653.691741] [<a038e450>] (zram_slot_free_notify+0x0/0x48) from [<a015ad90>] (swap_entry_free+0x104/0x184)

<4>[ 4653.691864] r6:00000000 r5:00003ce6 r4:b8519b00 r3:a038e450

<4>[ 4653.692138] [<a015ac8c>] (swap_entry_free+0x0/0x184) from [<a015c00c>] (swapcache_free+0x2c/0x5c)

<4>[ 4653.692260] r7:a092c268 r6:00003ce6 r5:a0e59ec0 r4:00003ce6

<4>[ 4653.692565] [<a015bfe0>] (swapcache_free+0x0/0x5c) from [<a0159fec>] (delete_from_swap_cache+0x3c/0x4c)

<4>[ 4653.692657] r5:a092c3c8 r4:a0e59ec0

<4>[ 4653.692871] [<a0159fb0>] (delete_from_swap_cache+0x0/0x4c) from [<a015cc98>] (try_to_unuse+0x284/0x6a0)

<4>[ 4653.692962] r6:e0658ce6 r5:a0e59ec0 r4:cfeec1a0 r3:00003ce6

<4>[ 4653.693267] [<a015ca14>] (try_to_unuse+0x0/0x6a0) from [<a015d2dc>] (sys_swapoff+0x1a8/0x4d4)

<4>[ 4653.693389] [<a015d134>] (sys_swapoff+0x0/0x4d4) from [<a005fc40>] (ret_fast_syscall+0x0/0x30)

<3>[ 4654.689056] BUG: sleeping function called from invalid context at kernel/rwsem.c:48

<3>[ 4654.689117] in_atomic(): 1, irqs_disabled(): 0, pid: 19533, name: swapoff

<4>[ 4654.689208] Backtrace:

<4>[ 4654.689331] [<a0063840>] (dump_backtrace+0x0/0x10c) from [<a06b5098>] (dump_stack+0x18/0x1c)

<4>[ 4654.689422] r6:00091256 r5:00000030 r4:a1932000 r3:600f0013

<4>[ 4654.689666] [<a06b5080>] (dump_stack+0x0/0x1c) from [<a00a13dc>] (__might_sleep+0xf8/0x114)

<4>[ 4654.689758] [<a00a12e4>] (__might_sleep+0x0/0x114) from [<a06bd838>] (down_write+0x20/0x60)

<4>[ 4654.689849] r6:00004354 r5:d08ed198 r4:d08ed198

<4>[ 4654.690032] [<a06bd818>] (down_write+0x0/0x60) from [<a038e474>] (zram_slot_free_notify+0x24/0x48)

<4>[ 4654.690124] r4:d08ed180 r3:d02d1400

<4>[ 4654.690277] [<a038e450>] (zram_slot_free_notify+0x0/0x48) from [<a015ad90>] (swap_entry_free+0x104/0x184)

<4>[ 4654.690368] r6:00000000 r5:00004354 r4:b8519b00 r3:a038e450

<4>[ 4654.690643] [<a015ac8c>] (swap_entry_free+0x0/0x184) from [<a015c00c>] (swapcache_free+0x2c/0x5c)

<4>[ 4654.690704] r7:cec20bb0 r6:00004354 r5:a0c01980 r4:00004354

<4>[ 4654.690979] [<a015bfe0>] (swapcache_free+0x0/0x5c) from [<a0159fec>] (delete_from_swap_cache+0x3c/0x4c)

<4>[ 4654.691070] r5:a092c3c8 r4:a0c01980

<4>[ 4654.691223] [<a0159fb0>] (delete_from_swap_cache+0x0/0x4c) from [<a015cc98>] (try_to_unuse+0x284/0x6a0)

<4>[ 4654.691314] r6:e0659354 r5:a0c01980 r4:cf8b4d00 r3:00004354

<4>[ 4654.691558] [<a015ca14>] (try_to_unuse+0x0/0x6a0) from [<a015d2dc>] (sys_swapoff+0x1a8/0x4d4)

<4>[ 4654.691650] [<a015d134>] (sys_swapoff+0x0/0x4d4) from [<a005fc40>] (ret_fast_syscall+0x0/0x30)

Also seeing a few other little errors popping up in the last few builds like this-

<3>[ 34.791687] omapdss DSI error: rx fifo not empty after write, dumping data:

<3>[ 34.791809] omapdss DSI error:	rawval 0x17000202

<3>[ 34.791931] omapdss DSI error:	ACK with ERROR (0x2):

<3>[ 34.791992] omapdss DSI error:	SoT Sync Error

<3>[ 34.792053] omapdss DSI error: dsi_vc_dcs_write(ch 1, cmd 0xf7, len 2) failed

And

[ 44.928649] PVR_K:(Error): MMU_Alloc: RA_Alloc of VMArena failed [2658, drivers/gpu/pvr/sgx/mmu.c]

[ 44.928863] PVR_K:(Error): MMU_Alloc: Alloc of DevVAddr failed from heap General ID117440512 [2661, drivers/gpu/pvr/sgx/mmu.c]

[ 44.928985] PVR_K:(Error): DevMemoryAlloc ERROR MMU_Alloc [1637, drivers/gpu/pvr/buffer_manager.c]

[ 44.929107] PVR_K:(Error): BM_ImportMemory: DevMemoryAlloc(0x200000) failed [2349, drivers/gpu/pvr/buffer_manager.c]

[ 44.929473] PVR_K:(Error): AllocMemory: RA_Alloc(0x200000) FAILED [115, drivers/gpu/pvr/buffer_manager.c]

[ 44.929656] PVR_K:(Error): BM_Alloc: AllocMemory FAILED [1257, drivers/gpu/pvr/buffer_manager.c]

[ 44.929779] PVR_K:(Error): AllocDeviceMem: BM_Alloc Failed [398, drivers/gpu/pvr/devicemem.c]