par = parent_cs(cur);
 
-       /* On legacy hiearchy, we must be a subset of our parent cpuset. */
+       /* On legacy hierarchy, we must be a subset of our parent cpuset. */
        ret = -EACCES;
        if (!is_in_v2_mode() && !is_cpuset_subset(trial, par))
                goto out;
  * When configured nodemask is changed, the effective nodemasks of this cpuset
  * and all its descendants need to be updated.
  *
- * On legacy hiearchy, effective_mems will be the same with mems_allowed.
+ * On legacy hierarchy, effective_mems will be the same with mems_allowed.
  *
  * Called with cpuset_mutex held
  */
                BUG();
        }
 
-       /* Unrechable but makes gcc happy */
+       /* Unreachable but makes gcc happy */
        return 0;
 }