[Optimus One, P500 Original Android Development] :
Ok, someone reported me the bug and it seems this reboots

"VFS: file-max limit 42998 reached"

Lupo,

Could you revert this?

https://github.com/p500/lge-kernel-msm7x27/commit/af45bcd6fd84ea29dadf1a50d6ff20c3380cdf3d

[ 9983.181116] VFS: file-max limit 42998 reached
[ 9983.182053] pgd = dcb38000
[ 9983.182086] [00000000] *pgd=2f36f031, *pte=00000000, *ppte=00000000
[ 9983.182134] >>>>>
[ 9983.182163] Internal error: NULL dereference at virtual address 00000000: 17 [#1] PREEMPT
[ 9983.182204] last sysfs file: /sys/devices/virtual/net/wlan0/statistics/rx_packets
[ 9983.182239] Modules linked in: wireless
[ 9983.182288] CPU: 0 Not tainted (2.6.35.10-perf+cm9 #14)
[ 9983.182349] PC is at fget+0x48/0xe4
[ 9983.182399] LR is at sys_dup+0x8/0x3c
[ 9983.182423] <<<<<
[ 9983.182458] pc : [<c0112f34>] lr : [<c011f540>] psr: a0000013
[ 9983.182478] sp : d7363f90 ip : 00000000 fp : 00083030
[ 9983.182518] r10: 00000000 r9 : d7362000 r8 : c0030048
[ 9983.182556] r7 : 00000029 r6 : 00000002 r5 : 00495840 r4 : ffffffe9
[ 9983.182596] r3 : dc949800 r2 : 00000100 r1 : 00000001 r0 : 00000030
[ 9983.182638] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 9983.182681] Control: 00c5387d Table: 2f338008 DAC: 00000015
[ 9983.182713]
[ 9983.182723] PC: 0xc0112eb4:
[ 9983.182746] 2eb4 ea000000 e3a04000 e1a0200d e3c23d7f e3c3303f e5932004 e2422001 e5832004
[ 9983.182841] 2ed4 e5933000 e3130002 0a000000 eb0f8569 e1a00004 e8bd8070 e92d4010 e1a0100d
[ 9983.182934] 2ef4 e3c13d7f e3c3303f e5931004 e593200c e2811001 e5922200 e5831004 e5923004
[ 9983.183029] 2f14 e5932000 e1500002 23a04000 2a00001e e5933004 e7934100 e3540000 0a00001a
[ 9983.183123] 2f34 e5943014 e2842014 e3530000 0a00000a e2831001 e1920f9f e3a0c000 e1300003
[ 9983.183218] 2f54 0182cf91 e35c0000 1afffff9 e1500003 0a00000d e1a03000 eafffff2 e1a0100d
[ 9983.183311] 2f74 e3c12d7f e3c2203f e5921004 e2411001 e5821004 e5922000 e3120002 01a04003
[ 9983.183404] 2f94 11a04003 0a00000a ea000008 e1a0200d e3c23d7f e3c3303f e5932004 e2422001
[ 9983.183503]
[ 9983.183511] LR: 0xc011f4c0:
[ 9983.183534] f4c0 eb00b057 ea000004 e1a00007 e1a01006 e1a02005 e1a03004 ebfffe80 e1a05000
[ 9983.183628] f4e0 e1a00004 ebffceef e1a00005 e8bd81f0 e92d41f0 e1a05002 e1a06001 e1a07000
[ 9983.183723] f500 ebffce79 e2504000 03e05008 0a000007 e1a02005 e1a00007 e1a01006 e1a03004
[ 9983.183818] f520 ebfffe6e e1a05000 e1a00004 ebffcedd e1a00005 e8bd81f0 e92d4070 ebffce6a
[ 9983.183911] f540 e2505000 03e04008 0a000007 eb0023dd e2504000 ba000002 e1a01005 ebffc38d
[ 9983.184004] f560 ea000001 e1a00005 ebffcece e1a00004 e8bd8070 e92d47f0 e1a0300d e3c34d7f
[ 9983.184099] f580 e3c4403f e1a08002 e594300c e3d82702 e1a07000 e5936200 e1a05001 1a000056
[ 9983.184194] f5a0 e1500001 0a000054 e5943004 e2833001 e5843004 e1a00006 eb0022ef e594300c
[ 9983.184291]
[ 9983.184301] SP: 0xd7363f10:
[ 9983.184323] 3f10 d20929a0 c070a380 00000000 00000076 d7363f3c c009dde0 c070a380 00000001
[ 9983.184414] 3f30 c04fd1f0 ffffffff d7363f7c 00000002 00000029 c002fa8c 00000030 00000001
[ 9983.184506] 3f50 00000100 dc949800 ffffffe9 00495840 00000002 00000029 c0030048 d7362000
[ 9983.184599] 3f70 00000000 00083030 00000000 d7363f90 c011f540 c0112f34 a0000013 ffffffff
[ 9983.184691] 3f90 43307dc0 c011f540 43307dc0 00495840 00000002 c002fea0 43307dc0 00495840
[ 9983.184784] 3fb0 00000030 00000030 0000005c 00000001 43307dc0 00495840 00000002 00000029
[ 9983.184873] 3fd0 43208000 400de695 00100000 00083030 401af3b8 43307ce8 401a6857 40038768
[ 9983.184968] 3ff0 00000010 00000030 00000000 00000000 1aff083f 1a3e683f 1c68d83f 1a15583f
[ 9983.185063]
[ 9983.185073] R3: 0xdc949780:
[ 9983.185094] 9780 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9983.185183] 97a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9983.185269] 97c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9983.185358] 97e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9983.185444] 9800 dc9b14c0 dc9b14c0 dc9b14c0 dc4509c0 dc450640 dc4505c0 dc450540 dc4504c0
[ 9983.185539] 9820 d2058ce0 dc9b10c0 dc450b40 dc450b40 dc450ac0 dc4507c0 dc450b40 dc4503c0
[ 9983.185634] 9840 dc450140 dc47b6e0 dc52be20 dc52bda0 dc551ae0 d8380ac0 d72114e0 d73c0560
[ 9983.185728] 9860 d76a1be0 d8380dc0 d8380ec0 d72112e0 d76890a0 d76a1a60 d2017b40 d74c5320
[ 9983.185826]
[ 9983.185834] R8: 0xc002ffc8:
[ 9983.185858] ffc8 e24fee13 3798f107 e28d1008 e3a08000 e357080f e2270000 2a001073 ea022cad
[ 9983.185951] ffe8 e1a02007 e28d1008 e3a00000 eb000641 e28fe014 e1a07000 e28d1008 e3570e17
[ 9983.186046] 0008 3891000f 3798f107 eaffffef e5ad0008 e1a02007 e1a0100d e3a00001 eb000635
[ 9983.186139] 0028 eaffffb2 e320f000 e320f000 e320f000 e320f000 e320f000 c06fbcd4 c00306cc
[ 9983.186234] 0048 c00aff98 c00a7b5c c0030630 c0112874 c011264c c0110748 c0110514 c00bb2a0
[ 9983.186328] 0068 c0110760 c011e00c c011d9bc c0030640 c011103c c00bb2a0 c011dd80 c0110f44
[ 9983.186421] 0088 c00ccba8 c00bb2a0 c00bb2a0 c01117e0 c00af5cc c012be04 c00bb2a0 c00ccb2c
[ 9983.186516] 00a8 c00cc8d8 c00bb2a0 c00ae11c c00bb2a0 c00bb2a0 c00b012c c00bb2a0 c00bb2a0
[ 9983.186613]
[ 9983.186623] R9: 0xd7361f80:
[ 9983.186646] 1f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9983.186733] 1fa0 00000000 00000000 d9256fe0 d7361fac d7361fac dcc000f0 00000000 00000000
[ 9983.186823] 1fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9983.186911] 1fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9983.186998] 2000 00000000 00000003 00000000 d20929a0 c070a808 00000000 00000017 d20929a0
[ 9983.187088] 2020 d7362000 c070a380 dcb1b800 00000000 dcb1be00 d8344940 d7363dfc d7363dd0
[ 9983.187181] 2040 c04f4264 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9983.187269] 2060 43307f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9983.187366] Process Binder Thread # (pid: 2069, stack limit = 0xd7362268)
[ 9983.187408] Stack: (0xd7363f90 to 0xd7364000)
[ 9983.187454] 3f80: 43307dc0 c011f540 43307dc0 00495840
[ 9983.187518] 3fa0: 00000002 c002fea0 43307dc0 00495840 00000030 00000030 0000005c 00000001
[ 9983.187584] 3fc0: 43307dc0 00495840 00000002 00000029 43208000 400de695 00100000 00083030
[ 9983.187648] 3fe0: 401af3b8 43307ce8 401a6857 40038768 00000010 00000030 00000000 00000000
[ 9983.187683] vvvvv
[ 9983.187754] [<c0112f34>] (fget+0x48/0xe4) from [<c011f540>] (sys_dup+0x8/0x3c)
[ 9983.187844] [<c011f540>] (sys_dup+0x8/0x3c) from [<c002fea0>] (ret_fast_syscall+0x0/0x30)
[ 9983.187906] Code: e5933004 e7934100 e3540000 0a00001a (e5943014)
[ 9983.187936] ^^^^^
[ 9983.187964] ---[ end trace 30522d136fed8679 ]---
[ 9983.187999] Kernel panic - not syncing: Fatal exception
[ 9983.188033] Rebooting in 1 seconds..
[ 9983.250782] [audio_out.c:audio_dsp_event] PCMDMAMISSED 32
[ 9984.190032]