From 7e1ce7e51fa15a6aa8d319a9aaa81d7e0934c30a Mon Sep 17 00:00:00 2001 From: Yi Wang Date: Tue, 29 Aug 2017 11:43:29 +0800 Subject: [PATCH] =?UTF-8?q?review=20=E4=B8=80=E5=A4=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Concepts/cpumask.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Concepts/cpumask.md b/Concepts/cpumask.md index 0a69fbc..9511847 100644 --- a/Concepts/cpumask.md +++ b/Concepts/cpumask.md @@ -52,7 +52,7 @@ typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; (((8) + (8) - 1) / (8)) = 1 ``` -`NR_CPUS` 宏表示系统中的 CPU,且依赖于在 [include/linux/threads.h](https://github.com/torvalds/linux/blob/master/include/linux/threads.h) 中定义的 `CONFIG_NR_CPUS` 宏,看起来像这样: +`NR_CPUS` 宏表示的是系统中 CPU 的数目,且依赖于在 [include/linux/threads.h](https://github.com/torvalds/linux/blob/master/include/linux/threads.h) 中定义的 `CONFIG_NR_CPUS` 宏,看起来像这样: ```C #ifndef CONFIG_NR_CPUS