nbd-client: adjust the oom-killer score in swap mode
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 21 Jun 2012 20:59:22 +0000 (00:59 +0400)
committerWouter Verhelst <w@uter.be>
Sat, 23 Jun 2012 23:38:34 +0000 (01:38 +0200)
commit2e1e5124b738e2f4c0bc599a2d3576dbdd487419
treeba3d985cd3a85923bab1e3b028763cf291c71ff2
parent731fab3529aedcc7ca1b26c0a87b1f1dc51f7935
nbd-client: adjust the oom-killer score in swap mode

In swap mode, it is highly desirable to take all available measures that
could help nbd-client survival in low memory conditions.  One of such
measures is to disable oom killing of nbd-client by adjusting the
oom-killer score.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
man/nbd-client.8.in.sgml
nbd-client.c