View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#601
Sounds nasty! Can't say I've experienced (or at least noticed) this, but I don't use the GPS very often.

Are you sure about the non-swappable part? It doesn't seem to lock any pages here:

Code:
Nokia-N810-43-7:~# cat /proc/`pidof gpsdriver`/status
Name:	gpsdriver
State:	S (sleeping)
SleepAVG:	91%
Tgid:	4534
Pid:	4534
PPid:	363
TracerPid:	0
Uid:	0	0	0	0
Gid:	0	0	0	0
FDSize:	32
Groups:	0 
VmPeak:	    4864 kB
VmSize:	    4840 kB
VmLck:	       0 kB
VmHWM:	    1908 kB
VmRSS:	    1908 kB
VmData:	     208 kB
VmStk:	      84 kB
VmExe:	     112 kB
VmLib:	    3804 kB
VmPTE:	      18 kB
Threads:	1
SigQ:	23/1024
SigPnd:	0000000000000000
ShdPnd:	0000000000000000
SigBlk:	0000000000000000
SigIgn:	0000000000381000
SigCgt:	0000000180002000
CapInh:	0000000000000000
CapPrm:	00000000fffffeff
CapEff:	00000000fffffeff
Did you notice anything interesting in its smaps file?

Anyway, since DSME restarts it when killed, maybe setting an appropriate ulimit in the init script and letting the kernel look after it could work?