+ if (VXD_RLIMIT(res, RLIMIT_RSS) ||
+ VXD_RLIMIT(res, VLIMIT_ANON) ||
+ VXD_RLIMIT(res, RLIMIT_AS) ||
+ VXD_RLIMIT(res, RLIMIT_MEMLOCK))
+ vxlprintk(1, "vx_acc_page[%5d,%s,%2d]: %5d%s",
+ (vxi?vxi->vx_id:-1), vlimit_name[res], res,
+ (vxi?atomic_read(&vxi->limit.rcur[res]):0),
+ (dir?"++":"--"), file, line);
+ if (v) {
+ if (dir > 0)
+ ++(*v);
+ else
+ --(*v);
+ }
+ if (vxi) {
+ if (dir > 0)
+ atomic_inc(&vxi->limit.rcur[res]);
+ else
+ atomic_dec(&vxi->limit.rcur[res]);
+ }