From d696d6c413c5b47b4bbae79e29ea132e52095af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 31 May 2018 21:21:43 +0200 Subject: [PATCH] Spelling fixes --- numad.8 | 2 +- numad.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/numad.8 b/numad.8 index bbc2cd2..b04e27b 100644 --- a/numad.8 +++ b/numad.8 @@ -127,7 +127,7 @@ to allow numad to leave more process memory distributed on various nodes. Increase the threshold to instruct numad to try to localize more memory. Acceptable values are between 50 and 100 percent. Note that setting the target memory locality to 100% might cause numad to continually retry to move memory -that the kernel will never succesfully move. +that the kernel will never successfully move. .TP \fB\-p\fR <\fIPID\fP> Add PID to explicit inclusion list of processes to consider for managing, if diff --git a/numad.c b/numad.c index 0721af4..a6a7a5d 100644 --- a/numad.c +++ b/numad.c @@ -1997,7 +1997,7 @@ id_list_p pick_numa_nodes(int pid, int cpus, int mbs, int assume_enough_cpus) { int disp_percent = (100 * nonlocal_memory) / p->MBs_used; // If this existing process is already located where we want it, then just // return NULL indicating no need to change binding this time. Check the - // ammount of nonlocal memory against the target_memlocality_perecent. + // amount of nonlocal memory against the target_memlocality_perecent. if ((disp_percent <= (100 - target_memlocality)) && (p->bind_time_stamp) && (EQUAL_LISTS(target_node_list_p, p->node_list_p))) { // Already bound to targets, and enough of the memory is located where we want it, so no need to rebind if (log_level >= LOG_DEBUG) { @@ -2515,7 +2515,7 @@ int main(int argc, char *argv[]) { // Figure out if this is the daemon, or a subsequent invocation int daemon_pid = get_daemon_pid(); if (daemon_pid > 0) { - // Daemon is already running. So send dynamic options to persistant + // Daemon is already running. So send dynamic options to persistent // thread to handle requests, get the response (if any), and finish. msg_t msg; if (C_flag) {