}
/* register a notification when this service memory is over a threshold */
- if (pci->mem_action.memory && pci->mem_action.action) {
+ if (pci->mem_action.memory_bytes && pci->mem_action.action) {
struct proc_limit_status pls = {0, };
pls.ps.pid = pid;
pls.ps.pci = pci;
- pls.limit = pci->mem_action.memory;
+ pls.limit_bytes = pci->mem_action.memory_bytes;
pls.action = pci->mem_action.action;
resourced_notify(RESOURCED_NOTIFIER_LIMIT_SYSTEM_SERVICE, &pls);
}